Malicious code in bnpl-blocks-desktop-bnpl-image-plus-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-12928
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (aafb685e5053ec62f01e6a0e837089ffbda1d9a7c22d1d7f80d23c510a564389) Requiring this package loads _shim.js, which selects a per-platform payload path and fetches an unpinned, unsigned binary from one of three anonymous Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) at endpoints /pkg/package.exe, /pkg/package-arm64, and /pkg/loader_mac. The downloaded bytes are written to /tmp or %TEMP% under disguised names (dotnet_diag_<hex>.exe,.cache_<hex>), chmod 0755, and spawned detached via /bin/sh -c or cmd. If HTTPS fetch fails, _shim.js falls back to DNS TXT smuggling: it resolves a counter TXT record at c.<domain> and then iteratively resolves 0.<domain>..N.<domain> TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, base64-decodes the concatenated chunks into a Buffer, and passes it through the same write+chmod+spawn path. Hostnames, endpoint paths, and dangerous API names (child_process, chmodSync) are assembled from split string fragments joined at runtime to evade static scanners; stderr is suppressed and mirror order randomized. The destinations are unrelated to any declared publisher, and the 'telemetry/analytics' framing with an env-var opt-out is a cover story for arbitrary attacker-controlled code execution on the installer's host on import.
- Source published
- 5 Aug 2026 14:48:27 UTC
- Source modified
- 5 Aug 2026 15:51:02 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.