Skip to main content

Malicious code in h2-codex (npm)

0
Critical
Published: 08/30/2026 (08/30/2026, 16:35:22 UTC)
Source: GCVE Database
Product: h2-codex

Description

The npm package 'h2-codex' was found to contain malicious code or dependencies with malicious code. Any system with this package installed should be considered fully compromised. Secrets and keys stored on affected systems must be rotated immediately from a secure environment. Removing the package alone may not fully remediate the compromise due to potential persistent malicious activity.

Affected software

npmghsa
h2-codex

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: 09/08/2026, 17:23:49 UTC

Technical Analysis

The 'h2-codex' package in the npm ecosystem contains malicious code or depends on malicious components. According to sources including Amazon Inspector and GHSA malware advisories, installation or execution of this package results in full compromise of the host system. This includes potential unauthorized access and control, necessitating immediate secret rotation and system remediation beyond simple package removal.

Potential Impact

Systems with the 'h2-codex' package installed are considered fully compromised, implying that attackers may have gained complete control. All sensitive credentials and keys stored on these systems are at risk and must be rotated. Removal of the package does not guarantee elimination of all malicious artifacts or backdoors introduced by the package.

Defensive Guidance

Remove the 'h2-codex' package immediately. Rotate all secrets and keys from a separate, uncompromised system. Conduct a thorough investigation and remediation of the affected system as it may remain compromised despite package removal.

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-15583
Osv Schema Version
1.7.4
Aliases
["GHSA-8h78-gfj3-qrp2"]
Ecosystems
["npm"]

Threat ID: 6a95a108acd9273b4947eb2f

Added to database: 08/31/2026, 15:43:04 UTC

Last enriched: 09/08/2026, 17:23:49 UTC

Last updated: 10/02/2026, 22:17:44 UTC

Views: 45

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