Malicious code in bnpl-blocks-atom-bnpl-store-button-set (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12897
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (426cd2089d6b37d7f388aae2bafb56979692557475a20302f29ccd8bb00a064e) On require() of the package, index.js loads _support.js which downloads a platform-specific binary from string-split-obfuscated Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with a DNS TXT fallback under sdk.dl.wel1.ru, writes it to /tmp or %TEMP% under a disguised name such as.cache_<hex> or dotnet_diag_<hex>.exe, chmods 0755, and spawns it detached via /bin/sh -c or cmd. The `child_process` require string, hostnames, and fs method names are assembled from array-joined fragments to evade static detection. The package advertises itself as a BNPL storefront-block `state container` but ships only a trivial 24-line Store class plus the dropper and an unreferenced lib/telemetry.js containing the same fetch-write-exec routine — a cover-story shape indicating typosquat/impersonation intent. Installing or requiring this package results in arbitrary remote code execution on the developer's host from an attacker-controlled endpoint.
- Source published
- 5 Aug 2026 14:53:44 UTC
- Source modified
- 5 Aug 2026 15:50:47 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.