Critical (AgentArmorHQ estimate)Supply chain

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

  1. Remove the package if it is installed: run npm uninstall codex-setup. [1]
  2. Rotate all secrets and keys stored on the computer right away, using a different computer. [1]
  3. Remove the package from the computer. [1]
  4. 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.

Discuss this incident

What happened

  • The npm package codex-setup contains malicious code. [1]
  • Every version of the package is affected. [1]
  • No patched version exists. [1]

Impact

  • Any computer with this package installed or running should be treated as fully compromised. [1]
  • An outside party may have gained full control of the computer. [1]

What was done

  • The advisory lists no patched version of the package. [1]

Sources

  1. 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.

Brief
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-npm
Was this page useful?

Corrections

Report an error or request a correction. We review requests within 5 business days and add a dated correction note.

10 to 2,000 characters. A link to a source helps. Stored as plain text.

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.

Check before you install

Paste a package name or a GitHub link and get a clear answer in seconds: Block, Review or No known issues. No account needed.

Check a package

Questions? Contact us