{"id":"MAL-2026-13005","summary":"Malicious code in bnpl-blocks-mobile-bnpl-shopping-banner (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a04004bb44c701e1976ef3d6678efb4cd9668d5a4986937c62928d1345550a86)\nOn require() of this package, index.js loads _polyfill.js which selects a platform-specific download URL, reconstructs hostnames via array.join string-splitting to evade static analysis (resolving to oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, with a DNS-TXT fallback via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), fetches a native binary, writes it to a disguised filename under /var/tmp or %TEMP% (e.g..cache_\u003chex\u003e, dotnet_diag_\u003chex\u003e.exe) mimicking dotnet diagnostic files, chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe with stdio ignored and unref(). Execution is gated by opt-out environment variables and a time-based cache flag file. The package advertises itself as a BNPL shopping banner / platform adapter and has no legitimate reason to fetch and execute a native binary at import time. The hostname obfuscation, disguised temp filenames, DNS-TXT dead-drop fallback, and detached background execution are characteristic malicious dropper behavior.\n","modified":"2026-08-05T15:51:38.471975971Z","published":"2026-08-05T14:40:00Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T15:19:48.908967018Z","modified_time":"2026-08-05T14:40:00Z","sha256":"a04004bb44c701e1976ef3d6678efb4cd9668d5a4986937c62928d1345550a86","source":"amazon-inspector","versions":["35.1.4"],"id":"IN-MAL-2026-015392"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bnpl-blocks-mobile-bnpl-shopping-banner/v/35.1.4"}],"affected":[{"package":{"name":"bnpl-blocks-mobile-bnpl-shopping-banner","ecosystem":"npm","purl":"pkg:npm/bnpl-blocks-mobile-bnpl-shopping-banner"},"versions":["35.1.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/bnpl-blocks-mobile-bnpl-shopping-banner/MAL-2026-13005.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"tlsh":"13a1b799166a70298bb0abf4c717441af65be66333c1c288fb5c99981f7311483b2dfc","path":"_polyfill.js","sha256":"a7cb30ccc0993f923cff8e61c1aaae05f079028e57b9ccdd87e2cd22f2774b07"}],"package_integrity":[{"hashes":{"sha1":"a147c01fc11a5dc0b226edce8afe737f8364990a","sha512_sri":"sha512-NSBtTpvqnBMQQNzn+2kKXvOAgHPwQXEkqbuQie9kGnXPe4ECZpYaTf/rizQM7tuiGDYhQAP9AHcqkcR2SybbXQ=="},"filename":"bnpl-blocks-mobile-bnpl-shopping-banner-35.1.4.tgz"}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}