Malicious code in checkout-test-component (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12595
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c8dff84319052d8da1a322df80332f9d197a3e646f17c15b2fb5b53121f27dc0) On require() of the package, index.js loads./_runtime.js which unconditionally fetches a platform-specific executable from attacker-controlled Cloudflare Workers hosts (oob-worker.cf*.workers.dev) with a DNS/TXT fallback to *.dl.wel1.ru, writes it to /var/tmp or %TEMP% under cover-story names (.cache_<hex>, dotnet_diag_<hex>.exe, analytics_state), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames are constructed by fragment-and-.join("") to evade static analysis. A secondary dropper implementation is shipped as lib/telemetry.js (~81 KB) using base64 chunk decoding, cp.spawn("/bin/sh", ["-c", filePath + " &"]), and fs["chmod"+"Sync"] with 0755, framed as an analytics.node SDK — duplicating the dropper mechanism as a dormant secondary payload. The package name resembles a benign test/checkout utility but contains no such functionality; its sole effect on load is to drop and execute attacker-controlled code on the installer's host.
- Source published
- 5 Aug 2026 14:08:28 UTC
- Source modified
- 5 Aug 2026 14:35:40 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.