Malicious code in bnpl-blocks-atom-desktop-bnpl-dangerously-html (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12901
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d67ae3d6b9d42c80691f5be62d2b59d087b9457657a5fa12d4881c2db7c1aa5d) On require of the package, index.js loads./_ext.js, which reassembles C2 hostnames from split string fragments (e.g. 'oob-worker.cf10x-*.workers.dev' built via array.join) and downloads a platform-specific binary over HTTPS. If the primary fetch fails, the payload is reassembled from DNS TXT records under *.dl.wel1.ru. The retrieved bytes are written to /var/tmp or %TEMP% under a disguised name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmod'd to 0755, and spawned detached via /bin/sh -c or cmd /c start, with a marker file to suppress re-execution. Cover-story env-var checks (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and filenames mimicking a telemetry/diagnostics SDK conceal the loader. The download destinations are anonymous, unpinned, unauthenticated, obfuscated, and unrelated to the package's declared publisher; the payload is opaque native code executed with the user's privileges on every require.
- Source published
- 5 Aug 2026 14:53:51 UTC
- Source modified
- 5 Aug 2026 15:50:49 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.