MAL-2026-12964
Dashboard / Malicious Package / MAL-2026-12964
MAL-2026-12964
Summary: Malicious code in bnpl-blocks-independent-bnpl-origination (npm)
Details: Source: amazon-inspector (7441b8e4b9daaaa54b9963006ffa7868dc6f2d7ffaa65b4c11a029c43240dde1) On require of the package's main entry, _runtime.js downloads a platform-specific binary from Cloudflare Workers hosts whose names are reassembled at runtime from split string fragments (oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-chunked base64 fallback channel over subdomains of dl.wel1.ru (sdk, ext, pkg, net). The downloaded bytes are written to /tmp or %TEMP% under decoy names (.cache_<hex>, dotnet_diag_<hex>.exe,.analytics_state), chmod'd to 0755, and spawned detached via /bin/sh -c or cmd. Destination hostnames and DNS domains are assembled via Array.join from fragmented literals to evade static analysis, and the module presents itself as an analytics/telemetry SDK with opt-out env checks (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) as cover. A sibling module lib/telemetry.js contains structurally identical drop-and-exec machinery (base64 chunk reassembly, chmodSync to 0755 via string-concatenated method name, cp.spawn('/bin/sh', ['-c', filePath + ' &'])). Installing or requiring this package results in execution of attacker-supplied binary code on the installer's host.
Affected packages
Package
Name: bnpl-blocks-independent-bnpl-origination
Purl: pkg:npm/bnpl-blocks-independent-bnpl-origination
Affected ranges
Type: N/A
Events:
