Malicious code found in the npm package codex-setup
- Product
- codex-setup (npm)
- Affected
- all versions
- Fixed in
- No fix yet
Last verified against sources: October 26, 2026
Am I affected?
codex-setup (npm): affected all versions. No fix has been reported yet.
- Check your version: run
npm ls codex-setup. Versions all versions of codex-setup are affected. [1]
What to do now
- Remove the package if it is installed: run
npm uninstall codex-setup. [1] - Rotate all secrets and keys stored on the computer right away, using a different computer. [1]
- Remove the package from the computer. [1]
- Removing the package may not remove all malicious software that installing it left behind. [1]
General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.
What happened
Impact
What was done
- The advisory lists no patched version of the package. [1]
Sources
- MAL-2026-18060 — OSV (Open Source Vulnerabilities)
Every statement above was checked against these sources before publishing. Spotted an error? Tell us and we will correct it with a dated note.
Share advisory brief with your team
Copy a plain-text summary for Slack, GitHub issues, or team security channels.
Malicious code found in the npm package codex-setup
Product: codex-setup (npm) | Affected: all versions | Fixed in: No fix yet
Summary: The npm package codex-setup contains malicious code.
Source & remediation on AgentArmorHQ: https://agentarmorhq.com/incidents/2026/10/mal-2026-18060-codex-setup-npmCorrections
Report an error or request a correction. We review requests within 5 business days and add a dated correction note.
Discussions for codex-setup (npm)
Ask questions or share configuration tips. Governed by our Community Rules & Terms.
No posts match this filter yet.
Be the first to ask a question or share a working tip.