Malicious code in checkout-legal-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-12569
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb3515ded3bbec7c93c9544b3ad8dee138c5a41252dfc5dca9ff8f8854c088c5) On require of the package's main entry (index.js -> _support.js), a bootstrap routine downloads a platform-specific executable from one of four hardcoded Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS TXT record fallback under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /tmp or %TEMP% under disguised names (.cache_<rand>, dotnet_diag_<rand>.exe), chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. All hostnames and paths are reconstructed at runtime via array.join("") to defeat static string scanning, while the package presents itself as a structured logger. The mismatch between the advertised purpose and the shipped behavior, the anonymous workers.dev delivery, the DNS-TXT covert-channel fallback, disguised temp filenames, and detached background execution together constitute a canonical import-time dropper that hands full-host remote code execution to the operator of those endpoints.
- Source published
- 5 Aug 2026 14:13:03 UTC
- Source modified
- 5 Aug 2026 14:35:28 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.