Malicious code in hardhat-zet (npm)
The npm package [email protected] is a malicious typosquatting package targeting Ethereum developers. It impersonates the Hardhat tooling ecosystem by using a similar name but includes a README and documentation copied from an unrelated popular package (pino). The package exports a no-op middleware but contains a large, heavily obfuscated payload that executes automatically upon import. This payload is designed to hide its true behavior and is suspected to be a supply-chain stealer aimed at compromising developers using the Hardhat ecosystem.
AI Analysis
Technical Summary
[email protected] is a malicious npm package that impersonates the Hardhat Ethereum tooling ecosystem by using a similar name and copying documentation from the unrelated pino logger project. The package exports a no-op Express middleware but includes a 4.5 MB obfuscated JavaScript bundle that executes automatically when the package is required. This bundle uses string rotation, hex encoding, and control-flow flattening to conceal its behavior and destination URLs. The publisher metadata does not match Hardhat or pino identities, indicating a typosquatting and supply-chain attack targeting Ethereum developers.
Potential Impact
The package executes a large obfuscated payload automatically on import, which is not observable without deobfuscation. This behavior suggests it could steal sensitive information or perform malicious actions on developers' systems who install or require this package. The impersonation and obfuscation increase the risk of supply-chain compromise for Ethereum development environments.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing or requiring [email protected]. Verify package authenticity before installation, especially for packages related to critical development ecosystems like Ethereum. Use trusted sources and official package names to prevent typosquatting attacks.
Malicious code in hardhat-zet (npm)
Description
The npm package [email protected] is a malicious typosquatting package targeting Ethereum developers. It impersonates the Hardhat tooling ecosystem by using a similar name but includes a README and documentation copied from an unrelated popular package (pino). The package exports a no-op middleware but contains a large, heavily obfuscated payload that executes automatically upon import. This payload is designed to hide its true behavior and is suspected to be a supply-chain stealer aimed at compromising developers using the Hardhat ecosystem.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] is a malicious npm package that impersonates the Hardhat Ethereum tooling ecosystem by using a similar name and copying documentation from the unrelated pino logger project. The package exports a no-op Express middleware but includes a 4.5 MB obfuscated JavaScript bundle that executes automatically when the package is required. This bundle uses string rotation, hex encoding, and control-flow flattening to conceal its behavior and destination URLs. The publisher metadata does not match Hardhat or pino identities, indicating a typosquatting and supply-chain attack targeting Ethereum developers.
Potential Impact
The package executes a large obfuscated payload automatically on import, which is not observable without deobfuscation. This behavior suggests it could steal sensitive information or perform malicious actions on developers' systems who install or require this package. The impersonation and obfuscation increase the risk of supply-chain compromise for Ethereum development environments.
Mitigation Recommendations
No official patch or remediation is indicated. Users should avoid installing or requiring [email protected]. Verify package authenticity before installation, especially for packages related to critical development ecosystems like Ethereum. Use trusted sources and official package names to prevent typosquatting attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17234
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abb4186f7a7c54106cc2f86
Added to database: 09/29/2026, 04:41:42 UTC
Last enriched: 09/29/2026, 04:47:10 UTC
Last updated: 09/29/2026, 18:01:01 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.