Malicious code in bnpl-blocks-independent-bnpl-code-text (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12953
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (49319e79d8d8fa0eba8e5c5394b3f94eca3e656af0ff26e3326fa456235ed4b1) On require() of the package, index.js loads _init.js which HTTPS-fetches a platform-specific binary (linux_x64, linux_arm64, darwin, win32) from one of four obfuscated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-TXT base64-chunked fallback via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /tmp or Windows Temp under disguised names (.cache_<rand>, dotnet_diag_<rand>.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd. Destination hosts are reconstructed at runtime by splitting and joining string fragments, filenames impersonate dotnet diagnostics, the fetched payload is not hash- or signature-verified, and none of this behavior relates to the package's stated BNPL purpose. lib/telemetry.js ships a duplicate copy of the same dropper primitives (base64 chunked fetch, chmod 0755, /bin/sh -c detached spawn) under an analytics-SDK cover story, currently unreferenced from the main entry.
- Source published
- 5 Aug 2026 14:44:18 UTC
- Source modified
- 5 Aug 2026 15:51:14 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.