Malicious code in h3-codex (npm)
Description
The npm package 'h3-codex' was found to contain malicious code or a dependency with malicious code. Any system with this package installed or running should be considered fully compromised. It is recommended to remove the package and immediately rotate all secrets and keys from a different, uncompromised computer. Due to potential full system compromise, removing the package alone may not eliminate all malicious software.
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 'h3-codex' package in the npm ecosystem contains malicious code or depends on a component that does. Installation or execution of this package can lead to full compromise of the affected system. The advisory emphasizes that any computer with this package should be treated as fully compromised, requiring secret and key rotation from a secure environment. Removal of the package is advised but may not guarantee complete remediation due to possible persistent malicious presence.
Potential Impact
Systems with the 'h3-codex' package installed or running are considered fully compromised, risking exposure of all stored secrets and keys. Attackers may have gained full control over the affected computer, leading to potential data theft, unauthorized access, and persistent malicious activity.
Defensive Guidance
Remove the 'h3-codex' package immediately. Rotate all secrets and keys stored on the compromised computer from a different, secure machine. Because full system compromise is likely, additional forensic analysis and remediation steps may be necessary beyond package removal. No official patch or fix is available; mitigation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15584
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-w6m7-6jhr-mfjc"]
- Ecosystems
- ["npm"]
Threat ID: 6a95a108acd9273b4947eb37
Added to database: 08/31/2026, 15:43:04 UTC
Last enriched: 09/08/2026, 17:23:32 UTC
Last updated: 10/03/2026, 04:07:32 UTC
Views: 49
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.