Malicious code in bnpl-blocks-independent-bnpl-open-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-12963
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (10c2ca153491f56216bdb6e7d85fcaa5ce9fc15c7cb412b4291f1657c387c9d0) On require() of bnpl-blocks-independent-bnpl-open-api, index.js loads _support.js which unconditionally executes at module load. _support.js selects a per-OS URL, downloads a binary over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev), writes the payload to a hidden file in a temp directory using cover-story names such as.cache_<uid>,.analytics_state, and dotnet_diag_, chmods it 0755 on Unix, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. No hash or signature verification is performed. Hostnames are assembled at runtime by joining split string fragments (e.g. ["oob-worker.cf101-adf.workers",".dev"].join("")) to defeat plain-text scanning, and child_process is loaded via require("child_" + "process") in lib/telemetry.js. A DNS-TXT base64 fallback channel is provided using resolvers sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.we1.ru. The download destinations and payload are unrelated to the package's stated purpose as a BNPL open API SDK.
- Source published
- 5 Aug 2026 14:43:36 UTC
- Source modified
- 5 Aug 2026 15:51:18 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.