Malicious code in bnpl-blocks-desktop-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-12944
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4073d41c6f9c313ea3c3e26c01e9d8de4032797e7d6e80e51c214eb37c1969f9) On require() of the package, _platform.js selects a platform-specific endpoint and downloads an opaque binary from string-split obfuscated Cloudflare Workers hostnames (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev), assembled at runtime from split fragments to evade static analysis. When HTTPS retrieval fails, it falls back to a DNS TXT-record covert channel under *.dl.wel1.ru (host assembled as ['sdk.d','l.','we','l1','.ru'].join('')), concatenating TXT chunks and base64-decoding them into an executable buffer. The payload is written to /tmp/.cache_<hex> on Unix or %TEMP%/dotnet_diag_<hex>.exe on Windows (disguised as analytics/diagnostics state), chmod 0755, and detached-spawned via /bin/sh -c or cmd /c start. Cover-story telemetry-opt-out env var names (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and diagnostics-shaped file names are present but do not alter the drop-and-execute behavior. Package name pattern (bnpl-blocks-desktop-bnpl-text-block) has no legitimate library content matching the advertised purpose.
- Source published
- 5 Aug 2026 14:47:13 UTC
- Source modified
- 5 Aug 2026 15:51:10 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.