Malicious code in ethers-v6 (npm)
Description
The ethers-v6 npm package versions 1.0.0, 9.0.0, and 90.0.0 contain malicious code that compromises any computer on which it is installed or run. This compromise potentially grants full control to an attacker, risking exposure of all secrets and keys stored on the affected system. Removal of the package alone does not guarantee elimination of all malicious components.
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
The ethers-v6 package for npm, specifically versions 1.0.0, 9.0.0, and 90.0.0, has been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the host system, allowing an attacker to gain control. Due to the severity of the compromise, all secrets and keys on the affected machine should be rotated immediately from a separate, trusted device. Simply uninstalling the package may not remove all malicious artifacts introduced by it.
Potential Impact
Full system compromise on any computer running the affected versions of ethers-v6, leading to potential unauthorized access to all stored secrets and keys. The attacker may maintain persistence beyond removal of the malicious package.
Defensive Guidance
Remove the malicious ethers-v6 package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected machine to ensure removal of all malicious components. No official patch or fix is indicated; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11297
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fhg3-hmxv-w549"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f319acd9273b49e49653
Added to database: 09/01/2026, 15:45:29 UTC
Last enriched: 09/08/2026, 10:22:46 UTC
Last updated: 10/04/2026, 05:41:25 UTC
Views: 28
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.