dotenv-cli-node (npm) · Malicious Code
Affects dotenv-cli-nodeSource GCVE Database
Malicious package : remove dotenv-cli-node 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-1710
What to do
Remove dotenv-cli-node 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-cli-nodepkg:npm/dotenv-cli-nodeOther 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 (914751db31692fb4c83c9e8e3e2fed123b349d261368499b9caf33dc411b62cd) The package dotenv-cli-node was found to contain malicious code.