node-env-resolver-aws (npm) · Malicious Code
Affects node-env-resolver-awsSource GCVE Database
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
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
| Product | Affected | Fixed in |
|---|---|---|
| npmnode-env-resolver-aws | Affected
| 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
- endorlabs.com/learn/malicious-payload-in-ai-sdk-ollama-npm-package (opens in a new tab)
- stepsecurity.io/blog/binding-gyp-npm-supply-chain-attack-spreads-like-worm (opens in a new tab)
- npmjs.com/package/node-env-resolver-aws/v/9.1.2 (opens in a new tab)
- npmjs.com/package/node-env-resolver-aws/v/10.0.1 (opens in a new tab)
- npmjs.com/package/node-env-resolver-aws/v/12.0.1 (opens in a new tab)
- npmjs.com/package/node-env-resolver-aws/v/11.0.1 (opens in a new tab)