Malicious code in bigops-products-bnpl (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13238
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (79495f4d434b2f860f25315bc4c035d0db6956c8184ccb9a8068d1f6a4a15673) On `require('bigops-products-bnpl')`, index.js loads _runtime.js, which selects a platform-specific endpoint and downloads an opaque binary from one of four hardcoded Cloudflare Workers hosts (oob-worker.cf101-*.workers.dev, oob-worker.cf102-*.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS-TXT base64 fallback via *.dl.wel1.ru. The downloaded bytes are written under a disguised name (e.g. dotnet_diag_*.exe,.cache_*) to /tmp or %TEMP%, chmod'd 0o755, and spawned detached via /bin/sh -c or cmd.exe. Destination hostnames are assembled from split string fragments joined with.join('') to evade static analysis, and a.analytics_state marker file is written to avoid re-running. No hash or signature verification is performed, the hosts are anonymous mutable Cloudflare Workers unrelated to the package's stated 'bnpl wrapper' purpose, and comments frame the code as 'telemetry'/'CDN'/'analytics' as cover. The result is arbitrary attacker-controlled code execution on the installer's machine as a side effect of loading the package.
- Source published
- 5 Aug 2026 15:35:53 UTC
- Source modified
- 5 Aug 2026 16:50:06 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.