checkout-desktop-legal (npm) · Malicious Code
Affects checkout-desktop-legalSource GCVE Database
Malicious package : remove checkout-desktop-legal and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:54 UTC
Malicious package
Published to npm · OSV MAL-2026-12557
What to do
Remove checkout-desktop-legal from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcheckout-desktop-legal | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'checkout-desktop-legal' version 35.2.8 contains malicious code that downloads and executes a binary from dynamically constructed Cloudflare Workers hosts and fallback domains. The binary is saved under disguised filenames with executable permissions and launched detached from the main process. The package uses obfuscation techniques such as string concatenation to evade static detection. A second similar dropper is embedded in another module within the package. This behavior enables periodic re-execution approximately every six hours.