@ensdomains/ens-avatar (npm) · Malicious Code
Affects @ensdomains/ens-avatarSource GCVE Database
Malicious package : remove @ensdomains/ens-avatar and rotate any secrets on hosts that installed it.
Data as of 18 Nov 2026, 01:56 UTC
Malicious package
Published to npm · OSV MAL-2025-190730
What to do
Remove @ensdomains/ens-avatar 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 |
|---|---|---|
| npm@ensdomains/ens-avatar | 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 @ensdomains/ens-avatar version 1.0.4 was compromised by a malicious actor known as Sha1-Hulud: The Second Coming NPM worm. The package contains malicious code that steals tokens and credentials, publishes them to GitHub, propagates itself to other npm packages owned by the user, and establishes persistence via a GitHub action. It may also destroy the user's home directory. Any system with this package installed should be considered fully compromised.
References
- github.com/advisories/GHSA-pmf2-pqw2-xjc3 (opens in a new tab)
- aikido.dev/blog/shai-hulud-strikes-again-hitting-zapier-ensdomains (opens in a new tab)
- wiz.io/blog/shai-hulud-2-0-ongoing-supply-chain-attack (opens in a new tab)
- stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised (opens in a new tab)