Skip to main content
MalwarePublished Updated

dotenv-nodejs (npm) · Malicious Code

Affects dotenv-nodejsSource GCVE Database

0

Malicious package : remove dotenv-nodejs 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-1715

What to do

Remove dotenv-nodejs 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

ProductAffectedFixed in
npmdotenv-nodejspkg:npm/dotenv-nodejsOther threatsAffected
  • =3.3.5
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 (14a15bdceba2f650e2c3d04e2be33994e406c2548812e89a520fc511c2529266) The package dotenv-nodejs was found to contain malicious code.

References

Community reviews

Loading reviews…