checkout-use-toasts
Affected
- Versions:
35.3.6
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in checkout-use-toasts (npm)
---
_-= 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.
Not rated by the source.
35.3.6None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0