{"id":"MAL-2026-12885","revision":"39f31b6d76634a17acca9c806babb705","records":[{"revision":"39f31b6d76634a17acca9c806babb705","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12885","aliases":[],"title":"Malicious code in bnpl-blocks-atom-bnpl-popup (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6d0716eec6e29280316b67f3e9a98954f501dc73a692d36b68d8106b39bd60fb)\nOn require() of this package, index.js loads _shim.js which assembles obfuscated non-publisher URLs by joining split string fragments (resolving to a *.workers.dev host, with a DNS-TXT covert-channel fallback under a.ru domain that reconstructs a payload from base64-encoded TXT records at c.<domain> and <i>.<domain>). _shim.js downloads a platform-specific binary, writes it to /tmp or %TEMP% under a disguised filename (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}).unref() (or the cmd equivalent). No hash or signature verification is performed. A second copy of the dropper is shipped in lib/telemetry.js (labeled as an 'Analytics SDK') using the same shape with split-string API names such as require('child_'+'process') and fs['chmod'+'Sync']; it is not wired into the current entry point but stages the same capability. The destination hosts are not first-party to the package, and the string-splitting plus DNS-TXT channel are anti-analysis tradecraft rather than legitimate telemetry configuration.\n","state":0,"publishedAt":"2026-08-05T14:54:50+00:00","modifiedAt":"2026-08-05T15:50:42.6547365+00:00","affected":[{"ecosystem":"npm","name":"bnpl-blocks-atom-bnpl-popup","ranges":[],"versions":["35.4.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bnpl-blocks-atom-bnpl-popup/v/35.4.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12885","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12885","identifiers":["MAL-2026-12885"]},"retained":false,"historicalAffected":[]}],"coverage":[]}