{"id":"MAL-2026-13022","revision":"ffa43cc30b1a4eb4853d335dc18eb41e","records":[{"revision":"ffa43cc30b1a4eb4853d335dc18eb41e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13022","aliases":[],"title":"Malicious code in bnpl-blocks-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (370e12396e25d7b72ad12f12c31c986e976bd8341f5fa61baa8cd3bb469f968e)\nOn require(), index.js loads _loader.js, which assembles a Cloudflare Workers hostname (oob-worker.cf*.workers.dev) via runtime.join('') string reassembly, fetches a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a disguised name (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Linux/macOS), chmods 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', fp + ' &']) or spawn('cmd',...). If the HTTPS fetch fails, _loader.js falls back to a DNS-TXT covert channel: it resolves TXT records on subdomains of dl.wel1.ru (host fragments also assembled via.join('')), concatenates the returned chunks, base64-decodes them, writes the resulting bytes as an executable, and spawns it. There is no hash or signature verification of the fetched payload. The package presents itself as a generic 'utility functions' library; the remote-binary-drop behavior does not match that stated purpose. Multiple structural fingerprints stack: runtime-obfuscated attacker-controlled hostnames, unpinned mutable payload URLs, DNS-TXT payload staging (a network-egress evasion channel), disguised filenames in system temp directories, and detached execution triggered at module load.\n","state":0,"publishedAt":"2026-08-05T14:34:58+00:00","modifiedAt":"2026-08-05T15:51:46.3886815+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-utils","ranges":[],"versions":["35.7.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-utils/v/35.7.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13022","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13022","identifiers":["MAL-2026-13022"]},"retained":false,"historicalAffected":[]}],"coverage":[]}