{"id":"MAL-2026-12964","revision":"fb7cd4ad16b4402d94c60c527a542930","records":[{"revision":"fb7cd4ad16b4402d94c60c527a542930","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12964","aliases":[],"title":"Malicious code in bnpl-blocks-independent-bnpl-origination (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7441b8e4b9daaaa54b9963006ffa7868dc6f2d7ffaa65b4c11a029c43240dde1)\nOn 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.\n","state":0,"publishedAt":"2026-08-05T14:42:52+00:00","modifiedAt":"2026-08-05T15:51:19.5111024+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-independent-bnpl-origination","ranges":[],"versions":["35.6.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-independent-bnpl-origination/v/35.6.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12964","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12964","identifiers":["MAL-2026-12964"]},"retained":false,"historicalAffected":[]}],"coverage":[]}