h3-codex (npm) · Malicious Code
Affects h3-codexSource GCVE Database
Malicious package : remove h3-codex and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 17:23 UTC
Malicious package
Published to npm · OSV MAL-2026-15584
What to do
Remove h3-codex from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmh3-codex | Affected– | Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.