{"id":"MAL-2026-13024","revision":"26683a10764446ebb82c6611b470e4a7","records":[{"revision":"26683a10764446ebb82c6611b470e4a7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13024","aliases":[],"title":"Malicious code in bnpl-forms-test-utils (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4cd6e149b86406225e3aca99e9bbae44cf13c0c7d5e10be27155162b63832f2f)\nOn `require('bnpl-forms-test-utils')`, index.js loads _platform.js, which selects a platform-specific endpoint and downloads an opaque binary via https.get from one of three Cloudflare Workers hosts reconstructed at runtime from split-string arrays: oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, and oob-worker.cf103-070.workers.dev. A DNS TXT fallback under {sdk,ext,pkg,net}.dl.wel1.ru reassembles base64 chunks when the HTTPS hosts fail. The fetched bytes are written to /var/tmp or %TEMP% under masquerading names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmod 0755'd, and detached via spawn('/bin/sh', ['-c', path+' &'], {detached:true}) or spawn('cmd.exe', ['/c', 'start',...]). Hostnames and API names are obfuscated via array-join and string concatenation (e.g. require('child_'+'process'), fs['chmod'+'Sync']). A second dropper module lib/telemetry.js (~81 KB) shipped in the tarball implements the same fetch/chmod/spawn/detach pattern with identical obfuscation, though it is not referenced from the current main. The declared purpose is `common helpers`; no native source ships in the package to justify the binary download.\n","state":0,"publishedAt":"2026-08-05T14:33:38+00:00","modifiedAt":"2026-08-05T15:51:47.9252482+00:00","affected":[{"ecosystem":"npm","name":"bnpl-forms-test-utils","ranges":[],"versions":["35.4.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-forms-test-utils/v/35.4.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13024","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13024","identifiers":["MAL-2026-13024"]},"retained":false,"historicalAffected":[]}],"coverage":[]}