Malicious code in bnpl-blocks-independent-bnpl-main-title (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12960
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (85d01515b559e3e623341b5838615add9439fc1d3942948acb3ca2aee86e9579) On require of the package, index.js loads _bridge.js whose top-level run() downloads a platform-specific binary from author-controlled Cloudflare Workers endpoints whose hostnames are reconstructed at runtime by joining split-string fragments (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS-TXT base64 fallback resolver under *.dl.wel1.ru. The fetched bytes are written to /var/tmp or %TEMP% under deceptive names (.cache_<rand> or dotnet_diag_<rand>.exe), chmod'd 0755, and detached-spawned via /bin/sh -c or cmd.exe /c start /b. No version pin, no hash/signature verification. Additional obfuscation is present in sibling lib/telemetry.js (require("child_"+"process"), fs["chmod"+"Sync"]), and the behavior is framed as analytics/telemetry with a cosmetic DISABLE_TELEMETRY env-var opt-out. Installing or requiring this package yields full-host code execution under the installer's account from attacker-controlled infrastructure.
- Source published
- 5 Aug 2026 14:44:33 UTC
- Source modified
- 5 Aug 2026 15:51:17 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.