Malicious code in bnpl-blocks-mobile-bnpl-shopping-banner (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13005
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a04004bb44c701e1976ef3d6678efb4cd9668d5a4986937c62928d1345550a86) On 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_<hex>, dotnet_diag_<hex>.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.
- Source published
- 5 Aug 2026 14:40:00 UTC
- Source modified
- 5 Aug 2026 15:51:38 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.