checkout-context (npm) · Malicious Code
Affects checkout-contextSource GCVE Database
Malicious package : remove checkout-context and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 15:51 UTC
Malicious package
Published to npm · OSV MAL-2026-12550
What to do
Remove checkout-context 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-context | 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-context' version 35.5.4 contains malicious code that downloads and executes platform-specific native binaries from obfuscated external domains. It uses techniques such as hostname obfuscation, fallback to DNS TXT record covert channels for payload delivery, and writes persistence files on the host. The package's stated functionality is unrelated to this behavior, indicating deliberate malicious intent.