Malicious code in checkout-use-toasts (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12603
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bed98d203bbb9cb1a915db70566cfe33eb063a59e97c1e2f7607164b5a9c312e) On require() of checkout-use-toasts, index.js loads _bridge.js which fetches an OS/architecture-specific native binary from runtime-assembled Cloudflare workers.dev hosts (oob-worker.cf100/cf101/cf102-*.workers.dev) with a DNS-TXT fallback that resolves TXT records at subdomains of dl.wel1.ru and concatenates base64-decoded chunks as the payload. The bytes are written to /var/tmp/.cache_<hex> (or %TEMP%\dotnet_diag_<hex>.exe on Windows) under disguised names, chmod 0755, and spawned detached via /bin/sh -c or cmd /c start /b. Destination hostnames are split into fragments and joined at runtime (['oob-worker.cf102-baf.wor','ke','rs','.d','ev'].join(''); ['sdk.d','l.','we','l1.','ru'].join('')) to evade static string matching. There is no signature or version pinning on the fetched payload. The package name and stated purpose (toast notifications for checkout flows) do not match downloading and executing a native binary, and the DNS-TXT covert channel is designed to bypass HTTP egress controls. Installing or importing this package results in attacker-controlled code execution on the installer's machine.
- Source published
- 5 Aug 2026 14:07:46 UTC
- Source modified
- 5 Aug 2026 14:35:44 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.