checkout-types (npm) · Malicious Code
Affects checkout-typesSource GCVE Database
Malicious package : remove checkout-types and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 16:05 UTC
Malicious package
Published to npm · OSV MAL-2026-12599
What to do
Remove checkout-types 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-types | 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-types' version 35.6.8 contains malicious code that executes arbitrary attacker-controlled binaries upon requiring the module. The malicious code reconstructs command-and-control hostnames using obfuscated split strings and a DNS TXT chunked-base64 fallback mechanism. It downloads a platform-specific binary, disguises it with misleading filenames, sets executable permissions, and spawns it detached from the main process, resulting in immediate code execution on the host system.