setup-codex (npm) · Malicious Code
Affects setup-codexSource GCVE Database
Malicious package : remove setup-codex and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:37 UTC
Malicious package
Published to npm · OSV MAL-2026-14219
What to do
Remove setup-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 |
|---|---|---|
| npmsetup-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 'setup-codex' version 1.0.0 contains malicious code that exfiltrates sensitive host information. It collects host identity data, shell command outputs, and file contents, then sends this data via HTTPS POST to a hardcoded third-party webhook at hooks.zapier.com. This behavior is not part of any legitimate setup functionality and represents credential and host reconnaissance exfiltration.