eth-crypto-utils (npm) · Malicious Code
Affects eth-crypto-utilsSource GCVE Database
Malicious package : remove eth-crypto-utils and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 17:27 UTC
Malicious package
Published to npm · OSV MAL-2026-12372
What to do
Remove eth-crypto-utils 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 |
|---|---|---|
| npmeth-crypto-utils | 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 npm package eth-crypto-utils version 1.0.0 contains malicious code that, upon import, sends an HTTPS POST request to a hardcoded external endpoint. This request transmits a JSON payload including the full environment variables, the hostname, the username, and the home directory of the host system. This behavior occurs without user consent and is unrelated to the package's advertised cryptographic functionality. The exposure of environment variables can leak sensitive credentials such as AWS keys, GitHub tokens, and CI secrets.