corsair-nav (npm) · Malicious Code
Affects corsair-navSource GCVE Database
Malicious package : remove corsair-nav and rotate any secrets on hosts that installed it.
Data as of 2 Dec 2026, 08:20 UTC
Malicious package
Published to npm · OSV MAL-2026-20957
What to do
Remove corsair-nav 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 |
|---|---|---|
| npmcorsair-nav | 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 corsair-nav@99.9.9 contains malicious code that executes during installation. It runs a preinstall script that probes the host filesystem for specific files and sends the results unencrypted to a hardcoded external IP address. This behavior constitutes unconsented reconnaissance of the host environment.