Skip to main content
MalwarePublished Updated

h2-codex (npm) · Malicious Code

Affects h2-codexSource GCVE Database

0

Malicious package : remove h2-codex and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 17:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15583

What to do

Remove h2-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

ProductAffectedFixed in
npmh2-codexAffected–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 '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.

References

Community reviews

Loading reviews…