Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in web3-eth-utils (npm)

0
Critical
Published: 06/23/2026 (06/23/2026, 15:55:57 UTC)
Source: GCVE Database
Product: web3-eth-utils

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

npmghsa
web3-eth-utils
Affected versions
=6.2.8

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

AILast updated: 07/15/2026, 12:52:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses