Skip to main content
MalwarePublished Updated

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

Affects node-env-resolver-awsSource GCVE Database

0

Malicious package : remove node-env-resolver-aws 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-5263

What to do

Remove node-env-resolver-aws 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-awsAffected
  • 9.1.2 – 12.0.1
4 affected builds
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-aws npm package versions 9.1.2, 10.0.1, 11.0.1, and 12.0.1 contain malicious code associated with the Miasma malware. This malware propagates by abusing weaponized binding.gyp files to execute code during package installation, bypassing security tools that only inspect lifecycle scripts. It attempts to exfiltrate credentials and OIDC tokens for cloud and registry services and spreads by compromising other packages or adding backdoors to GitHub repositories.

References

Community reviews

Loading reviews…