dotenv-xtend (npm) · Malicious Code
Affects dotenv-xtendSource GCVE Database
0
Malicious package : remove dotenv-xtend and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:28 UTC
Classification
Malicious package
Published to npm · OSV MAL-2026-2351
What to do
Remove dotenv-xtend 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-xtendpkg:npm/dotenv-xtendOther 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 (d6523f1fff137b4db7fd0ed316a5d88d808ecb32bf0456c9977cdae82564f15d) The package dotenv-xtend was found to contain malicious code.
References
Community reviews
Loading reviews…