Skip to main content
MalwarePublished Updated

node-env-resolver-dotenvx (npm) · Malicious Code

Affects node-env-resolver-dotenvxSource GCVE Database

0

Malicious package : remove node-env-resolver-dotenvx and rotate any secrets on hosts that installed it.

Data as of 9 Jul 2026, 10:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5264

What to do

Remove node-env-resolver-dotenvx 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
npmnode-env-resolver-dotenvxAffected
  • =1.0.1
  • =2.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The node-env-resolver-dotenvx npm package versions 1.0.1 and 2.0.1 contain malicious code associated with the Miasma malware. This malware is a self-propagating worm that spreads through the npm registry by exploiting weaponized binding.gyp files to execute code during package installation, bypassing typical security inspections. Once executed, it attempts to steal credentials and OIDC tokens for cloud and registry services and propagates by compromising other packages or injecting backdoors into GitHub repositories.

References

Community reviews

Loading reviews…