Malicious code in @zzzcrypto/etherjs (npm)
The @zzzcrypto/etherjs package on npm is a malicious typosquat of the legitimate 'ethers' package. When required, it collects extensive environment information including credentials and system details, encodes this data, and exfiltrates it via HTTPS to a hardcoded Telegram Bot API endpoint. The package impersonates the real ethers maintainer and uses a shared attack template seen in other malicious scoped typosquats. This behavior exposes sensitive environment variables such as AWS keys, GitHub tokens, and other credentials to attackers.
AI Analysis
Technical Summary
@zzzcrypto/etherjs is a malicious npm package designed as a typosquat of the popular 'ethers' library. Upon being loaded, it gathers the full process environment variables, hostname, username, home directory, platform, current working directory, and package identifiers. This information is serialized to JSON, base64-encoded, and sent via an HTTPS GET request to a hardcoded Telegram Bot API endpoint, identified by a specific bot token and chat ID. The package disguises itself by using a different internal scope '@wethenorth12/etherjs' and impersonates the legitimate package author 'ricmoo'. This indicates a reused attack template targeting developers who mistakenly install similarly named malicious packages, potentially leaking sensitive credentials and environment data.
Potential Impact
Sensitive environment variables and system information, including credentials such as AWS keys, GitHub tokens, and NPM tokens, can be exfiltrated to an attacker-controlled Telegram endpoint. This can lead to credential compromise, unauthorized access to cloud services, source code repositories, and other critical infrastructure. The malicious package's presence in a development or CI environment poses a significant risk of secret leakage.
Mitigation Recommendations
No official patch or remediation is available since this is a malicious typosquat package rather than a vulnerability in legitimate software. The recommended mitigation is to avoid installing packages from untrusted or unknown sources and verify package names carefully before installation. Use official package repositories and enable supply chain security measures such as package signing and integrity verification. Remove the @zzzcrypto/etherjs package if found in your environment and rotate any potentially exposed credentials immediately.
Malicious code in @zzzcrypto/etherjs (npm)
Description
The @zzzcrypto/etherjs package on npm is a malicious typosquat of the legitimate 'ethers' package. When required, it collects extensive environment information including credentials and system details, encodes this data, and exfiltrates it via HTTPS to a hardcoded Telegram Bot API endpoint. The package impersonates the real ethers maintainer and uses a shared attack template seen in other malicious scoped typosquats. This behavior exposes sensitive environment variables such as AWS keys, GitHub tokens, and other credentials to attackers.
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
@zzzcrypto/etherjs is a malicious npm package designed as a typosquat of the popular 'ethers' library. Upon being loaded, it gathers the full process environment variables, hostname, username, home directory, platform, current working directory, and package identifiers. This information is serialized to JSON, base64-encoded, and sent via an HTTPS GET request to a hardcoded Telegram Bot API endpoint, identified by a specific bot token and chat ID. The package disguises itself by using a different internal scope '@wethenorth12/etherjs' and impersonates the legitimate package author 'ricmoo'. This indicates a reused attack template targeting developers who mistakenly install similarly named malicious packages, potentially leaking sensitive credentials and environment data.
Potential Impact
Sensitive environment variables and system information, including credentials such as AWS keys, GitHub tokens, and NPM tokens, can be exfiltrated to an attacker-controlled Telegram endpoint. This can lead to credential compromise, unauthorized access to cloud services, source code repositories, and other critical infrastructure. The malicious package's presence in a development or CI environment poses a significant risk of secret leakage.
Defensive Guidance
No official patch or remediation is available since this is a malicious typosquat package rather than a vulnerability in legitimate software. The recommended mitigation is to avoid installing packages from untrusted or unknown sources and verify package names carefully before installation. Use official package repositories and enable supply chain security measures such as package signing and integrity verification. Remove the @zzzcrypto/etherjs package if found in your environment and rotate any potentially exposed credentials immediately.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13212
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73852cbf8831d5394f04c0
Added to database: 08/05/2026, 18:47:08 UTC
Last enriched: 08/05/2026, 22:03:20 UTC
Last updated: 08/05/2026, 23:14:13 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.