dotenv-node-cli (npm) · Malicious Code
Affects dotenv-node-cliSource GCVE Database
Malicious package : remove dotenv-node-cli and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:28 UTC
Malicious package
Published to npm · OSV MAL-2026-1713
What to do
Remove dotenv-node-cli 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 |
|---|---|---|
npmdotenv-node-clipkg:npm/dotenv-node-cliOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f5f6b181cb56922381245597b93fd06147dd83845cd9467098172f6eab07a7c0) The package dotenv-node-cli was found to contain malicious code.