Malicious code in bnpl-blocks-independent-bnpl-text-block (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12972
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6bc1ec9ae3c3510564b412ad20157f80b59ebe816ceda37ee01a3a46fd146b3f) On require of this package, index.js loads _compat.js which unconditionally bootstraps a dropper. It selects a platform-specific payload path, fetches an opaque executable from one of three Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked-base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru, writes it to /tmp or %TEMP% under a disguised name (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. No hash or signature verification is performed. Destination hostnames are reconstructed at runtime by joining fragmented string arrays (e.g. ['sdk.dl.','wel1','.ru'].join(''), ['oob-worker.cf102-','baf.','work','ers','.d','ev'].join('')), and the dropped-file names impersonate benign diagnostic tooling (dotnet_diag). A stale-marker gates re-execution across imports.
- Source published
- 5 Aug 2026 14:42:59 UTC
- Source modified
- 5 Aug 2026 15:51:22 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.