Malicious code in web3-eth-utils (npm)
The npm package web3-eth-utils version 6.2.8 is a malicious package impersonating the legitimate ethereumjs-util library. It contains injected code that requires a malicious dependency 'assertcore', which executes arbitrary code at install or require time. Systems with this package installed should be considered fully compromised, and all secrets and keys must be rotated. Removal of the package alone may not eliminate the compromise due to potential persistent malicious code.
AI Analysis
Technical Summary
[email protected] is a malicious npm package that clones the legitimate ethereumjs-util package but injects a side-effect-only require statement for a malicious module 'assertcore' in its compiled Node.js entry point. This require is absent from the source and browser bundles, indicating deliberate code injection after build. When the package is installed or required, it executes arbitrary code from assertcore, granting the attacker install- and require-time code execution on the host system. This compromises the host fully, risking exposure of all stored secrets and keys.
Potential Impact
Any system with [email protected] installed or running is fully compromised. The malicious assertcore module executes arbitrary code during package installation or runtime require, potentially allowing attackers full control over the system. All secrets and keys stored on the compromised system are at risk and must be rotated. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Remove the [email protected] package immediately from all systems. Consider all affected systems fully compromised and rotate all secrets and keys from a secure, uncompromised environment. Investigate the system for persistence mechanisms or additional malware beyond the package itself. There is no official patch or fix; the package should be avoided entirely.
Malicious code in web3-eth-utils (npm)
Description
The npm package web3-eth-utils version 6.2.8 is a malicious package impersonating the legitimate ethereumjs-util library. It contains injected code that requires a malicious dependency 'assertcore', which executes arbitrary code at install or require time. Systems with this package installed should be considered fully compromised, and all secrets and keys must be rotated. Removal of the package alone may not eliminate the compromise due to potential persistent malicious code.
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 clones the legitimate ethereumjs-util package but injects a side-effect-only require statement for a malicious module 'assertcore' in its compiled Node.js entry point. This require is absent from the source and browser bundles, indicating deliberate code injection after build. When the package is installed or required, it executes arbitrary code from assertcore, granting the attacker install- and require-time code execution on the host system. This compromises the host fully, risking exposure of all stored secrets and keys.
Potential Impact
Any system with [email protected] installed or running is fully compromised. The malicious assertcore module executes arbitrary code during package installation or runtime require, potentially allowing attackers full control over the system. All secrets and keys stored on the compromised system are at risk and must be rotated. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Remove the [email protected] package immediately from all systems. Consider all affected systems fully compromised and rotate all secrets and keys from a secure, uncompromised environment. Investigate the system for persistence mechanisms or additional malware beyond the package itself. There is no official patch or fix; the package should be avoided entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6326
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-f5r2-qmg4-83w6"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eea68715ace43b41275
Added to database: 07/15/2026, 12:36:58 UTC
Last enriched: 07/15/2026, 12:52:48 UTC
Last updated: 07/30/2026, 17:23:39 UTC
Views: 8
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.