Malicious code in beaver-ui-pagination (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2db8f562892f21caf2a12230c52507a333a5ada223f98964094838657072adcb) On require('beaver-ui-pagination'), index.js loads _init.js which selects a platform key and downloads a binary from string-split-obfuscated hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru subdomains. The fetched binary is written to /var/tmp or %TEMP% under a disguised name (.cache_<rnd> on POSIX, dotnet_diag_<rnd>.exe on Windows), chmod 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime from array.join to evade static inspection, and env-var opt-outs (DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK) plus an 'analytics_state' marker file frame the behavior as telemetry despite the fetch-and-execute flow. A sibling lib/telemetry.js not currently reachable from index.js ships a second copy of the dropper primitives (dynamic require('child_'+'process'), base64-chunked buffer, chmodSync 0755, /bin/sh spawn of a filePath). ## Source: ghsa-malware (123cbe3def4ec949ca2a0fb1332af1a517ccd370290ba923f0f474a54761f4bf) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
AI Analysis
Technical Summary
The beaver-ui-pagination npm package version 35.3.7 includes malicious functionality where requiring the package triggers loading of _init.js, which dynamically constructs hostnames to download a binary payload from multiple obfuscated domains. The payload is saved to temporary directories with disguised filenames, permissions are set to executable, and it is executed detached via shell commands. The code uses environment variables and marker files to masquerade the activity as telemetry data collection. A sibling telemetry.js file contains a second copy of the dropper code but is not currently reachable from the main entry point. No patch or remediation details are provided.
Potential Impact
This malicious code allows arbitrary binary payloads to be downloaded and executed on the host system with the permissions of the running process. This can lead to full system compromise, persistence, and potential further malicious activity. The obfuscation and masquerading as telemetry may delay detection by users or automated systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using beaver-ui-pagination version 35.3.7 or any untrusted versions. Consider removing the package from projects and scanning for its presence in dependencies.
Malicious code in beaver-ui-pagination (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2db8f562892f21caf2a12230c52507a333a5ada223f98964094838657072adcb) On require('beaver-ui-pagination'), index.js loads _init.js which selects a platform key and downloads a binary from string-split-obfuscated hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS TXT chunked-base64 fallback via *.dl.wel1.ru subdomains. The fetched binary is written to /var/tmp or %TEMP% under a disguised name (.cache_<rnd> on POSIX, dotnet_diag_<rnd>.exe on Windows), chmod 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled at runtime from array.join to evade static inspection, and env-var opt-outs (DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK) plus an 'analytics_state' marker file frame the behavior as telemetry despite the fetch-and-execute flow. A sibling lib/telemetry.js not currently reachable from index.js ships a second copy of the dropper primitives (dynamic require('child_'+'process'), base64-chunked buffer, chmodSync 0755, /bin/sh spawn of a filePath). ## Source: ghsa-malware (123cbe3def4ec949ca2a0fb1332af1a517ccd370290ba923f0f474a54761f4bf) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The beaver-ui-pagination npm package version 35.3.7 includes malicious functionality where requiring the package triggers loading of _init.js, which dynamically constructs hostnames to download a binary payload from multiple obfuscated domains. The payload is saved to temporary directories with disguised filenames, permissions are set to executable, and it is executed detached via shell commands. The code uses environment variables and marker files to masquerade the activity as telemetry data collection. A sibling telemetry.js file contains a second copy of the dropper code but is not currently reachable from the main entry point. No patch or remediation details are provided.
Potential Impact
This malicious code allows arbitrary binary payloads to be downloaded and executed on the host system with the permissions of the running process. This can lead to full system compromise, persistence, and potential further malicious activity. The obfuscation and masquerading as telemetry may delay detection by users or automated systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using beaver-ui-pagination version 35.3.7 or any untrusted versions. Consider removing the package from projects and scanning for its presence in dependencies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12820
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738536bf8831d5394f0bf8
Added to database: 08/05/2026, 18:47:18 UTC
Last enriched: 08/05/2026, 18:58:25 UTC
Last updated: 08/16/2026, 07:02:45 UTC
Views: 35
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.