AIToday

OpenAI open-sources Codex Security CLI for vulnerability scanning

THE DECODER2h agoSend on LINE
OpenAI open-sources Codex Security CLI for vulnerability scanning

Key takeaway

OpenAI has open-sourced Codex Security CLI, a command-line tool that automatically detects and helps fix code vulnerabilities in repositories. Previously available only to ChatGPT Enterprise, Business, and Edu customers (where it had fixed more than 3,000 critical vulnerabilities by April 2026), the tool is now available to any developer via npm. It competes with similar offerings from Anthropic and reflects a growing need for automated security defenses as AI capabilities empower attackers.

Summaries like this, in your inbox every morning.

Sign up free →

3 Key Points

  • What happened

    OpenAI released Codex Security CLI, an Apache 2.0–licensed open-source command-line tool that automatically finds, confirms, and fixes vulnerabilities in code repositories. The tool supports repository scanning, cross-run result comparison, fix verification, CI/CD pipeline integration, and bulk scans across multiple repos; it requires Node.js 22 and Python 3.10 or higher, installs via npm, and is currently in beta.

  • Why it matters

    The tool brings vulnerability detection capabilities previously available only to ChatGPT Enterprise, Business, and Edu customers (where it launched as a research preview in March 2026 and had helped fix more than 3,000 critical vulnerabilities by April 2026) to any developer who can install it. As AI models give attackers more automated offensive capabilities, this kind of automated defense tool becomes more essential for development teams.

  • What to watch

    Codex Security competes directly with Anthropic's Claude Security, which also scans codebases and suggests patches. Full command documentation and output format details are available in the tool's official documentation.

In Depth

OpenAI has released Codex Security CLI, an open-source command-line tool licensed under Apache 2.0 that automates the discovery, verification, and remediation of vulnerabilities in code repositories. The tool can scan repositories, compare results across multiple runs to track progress, verify that fixes have been applied correctly, and integrate directly into CI/CD pipelines. It also supports bulk scans across multiple repositories at once, making it suitable for large development teams managing many codebases.

To use Codex Security CLI, developers need Node.js 22 and Python 3.10 or higher; the tool installs via npm and is currently in beta. OpenAI provides complete documentation covering all available commands and output formats.

Codex Security has an established track record. The tool was previously known internally as "Aardvark" and launched in March 2026 as a research preview exclusively for ChatGPT Enterprise, Business, and Edu customers. During that preview period, by April 2026, the system had helped fix more than 3,000 critical vulnerabilities. The open-source release makes these capabilities available to any developer.

The move comes as the security landscape shifts. Both Codex Security and Anthropic's Claude Security—which also scans codebases for vulnerabilities and suggests patches—reflect a broader trend: as AI models give attackers increasingly automated tools for finding and exploiting weaknesses, defenders must deploy equivalent automation to keep pace.

Context & Analysis

OpenAI's decision to open-source Codex Security CLI marks a shift from its previous model of limiting the tool to ChatGPT Enterprise, Business, and Edu customers. The tool was originally launched internally as "Aardvark" and released as a research preview in March 2026, where it demonstrated measurable impact by fixing more than 3,000 critical vulnerabilities within the first month. By making it freely available under Apache 2.0, OpenAI is broadening access to automated security scanning at a moment when the broader security landscape has shifted.

The timing reflects a practical reality: as large language models become more capable, they are increasingly used by threat actors to automate attacks and discover vulnerabilities. This creates pressure on the defensive side—development and security teams need equivalent automation to keep pace. Codex Security's feature set (repository scanning, fix verification, CI/CD integration, bulk scanning) positions it as a scalable defense mechanism that can be woven into existing development workflows. The direct competition with Anthropic's Claude Security suggests the space is maturing and that both major AI labs view automated code security as a core product category.

FAQ

How do I install and run Codex Security CLI?
The tool installs via npm and requires Node.js 22 and Python 3.10 or higher. It is currently in beta.
What vulnerabilities has the tool already fixed?
By April 2026, when it was available as a research preview to ChatGPT Enterprise, Business, and Edu customers, Codex Security had helped fix more than 3,000 critical vulnerabilities.
How does Codex Security compare to other tools?
Codex Security competes directly with Anthropic's Claude Security, which also scans codebases for vulnerabilities and suggests patches.

Get the latest Large Language Models news every morning

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytime

Discussion

No comments yet. Be the first to share your thoughts!

Log in to join the discussion

Related Articles

Stay ahead with AI news

Get curated AI news from 200+ sources delivered daily to your inbox. Free to use.

Get Started Free

Free · takes 30 seconds · unsubscribe anytime