Malicious code in checkout-desktop-pay-widget (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12559
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6d9f6914ba98b5cf6aa04dd51fb0ef5a1f454a0cb87409ea43482afd6b99b38d) On require('checkout-desktop-pay-widget'), index.js loads _shim.js which selects a platform-specific asset, downloads an opaque native binary from one of four runtime-assembled Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev / cf100-416.workers.dev variants), writes it to /tmp or %TEMP% under decoy names (.cache_<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are split into fragments and joined at runtime to evade static string scanning. A DNS-TXT fallback channel resolves TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, concatenates chunks, base64-decodes the result to executable bytes, and runs them — a covert payload-retrieval channel that bypasses HTTP egress controls. No signature or hash verification is performed. Function names (bootstrap/telemetry, DISABLE_TELEMETRY,.analytics_state lock file) present a benign cover story that conflicts with the fetch-write-chmod-exec chain. Package name mimics a checkout/payment widget but the shipped code implements a full-host remote code execution dropper.
- Source published
- 5 Aug 2026 14:12:55 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.