Malicious code in checkout-pay-widget-logic (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12585
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3e25e8d60e2b9eb81d9e5de2e374fbf25b352e666d163d445461be9ac837669f) On require('checkout-pay-widget-logic'), index.js loads./_vendor.js which downloads a platform-specific binary over HTTPS from hardcoded Cloudflare Workers hosts (oob-worker.cf*.workers.dev), with a DNS TXT fallback under *.dl.wel1.ru that reassembles base64 chunks from TXT records. C2 hostnames are assembled at runtime by joining split string fragments to evade static detection. The fetched binary is written to /tmp or %TEMP% under disguised names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows, mimicking a Microsoft diagnostic tool), chmodded 0755, and spawned detached via /bin/sh -c or cmd.exe with stdio ignored. A lock file named.analytics_state and 'telemetry'-labeled functions provide a cover story; the package's stated purpose is a 'log formatter'. Environment-variable opt-outs exist but the dropper runs by default.
- Source published
- 5 Aug 2026 14:09:46 UTC
- Source modified
- 5 Aug 2026 14:35:36 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.