Malicious code in bnpl-blocks-shops-api (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13017
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (209f1c0883ce38bd482d809b83edd85e8d3db75a379909e1b47ee24562c49526) index.js is the declared main entry and unconditionally requires./setup.js on load. setup.js reconstructs attacker-controlled endpoints via string-split obfuscation (e.g. ['oob-work','er.cf102-b','af.w','orkers','.de','v'].join('')) to build URLs at oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, and oob-worker.cf102-baf.workers.dev, with a DNS TXT chunked-base64 fallback via {sdk,ext,pkg,net}.dl.wel1.ru. Platform-specific binaries are downloaded to /tmp or %TEMP% under disguised names (e.g. dotnet_diag_*.exe,.cache_*), chmodded 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Dangerous API names are also fragmented (require('child_'+'process'), fs['chmod'+'Sync'], os['host'+'name']) to evade scanners. The fetched bytes are unpinned, unverified, and unrelated to the package's advertised SDK purpose; any consumer that requires this package triggers full-host code execution.
- Source published
- 5 Aug 2026 14:36:00 UTC
- Source modified
- 5 Aug 2026 15:51:43 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.