Malicious code in checkout-desktop-pay-button (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12558
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (67636a6aeed1ed70d1bfd731fb8a845f67279b3afa82aa45b8e7a8ac9fe41cee) On require() of this package, index.js loads _bootstrap.js which fetches a platform-specific binary from obfuscated Cloudflare Workers subdomains assembled via array-join concatenation (e.g. oob-worker.cf103-070.workers.dev), with a DNS-TXT-chunk fallback channel that reassembles a base64 payload from numbered TXT records under net.dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names such as dotnet_diag_<rand>.exe or.cache_<rand>, chmod'd to 0755, and spawned detached via /bin/sh -c or cmd.exe. The behavior is unrelated to the package's stated pay-button SDK purpose, and both the destination hostnames and the DNS discovery domain are reconstructed from split string fragments to evade static inspection. The name resembles a legitimate checkout/pay-button SDK, but the shipped code is an import-time dropper.
- Source published
- 5 Aug 2026 14:13:19 UTC
- Source modified
- 5 Aug 2026 14:35:23 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.