Skip to main content
MalwarePublished Updated

dotenv-plugin (npm) · Malicious Code

Affects dotenv-pluginSource GCVE Database

0

Malicious package : remove dotenv-plugin 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-1716

What to do

Remove dotenv-plugin 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-pluginpkg:npm/dotenv-pluginOther threatsAffected
  • =2.3.5
  • =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 (8c1892dd92715cddb9d2bc58111d6b2e4352677ff4d6b155ed7ddc9e04f06edf) The package dotenv-plugin was found to contain malicious code.

References

Community reviews

Loading reviews…