
Tech • AI • Robotics • Game
OpenAI has expanded Codex Security with open-source command-line tools and a cloud service designed to continuously find, validate, prioritize and patch software vulnerabilities using AI.
OpenAI described the current moment in cybersecurity as a “defender’s window,” arguing that frontier AI models are currently better at finding software flaws than widely available open models. The company said this creates a temporary opportunity for developers and security teams to identify and fix weaknesses before similar capabilities become common among attackers.
A company-wide push to harden internal systems became the basis for the new tooling. OpenAI said a security sprint involved roughly a quarter of its product engineers, who focused on strengthening internal defenses and building what it calls a continuous “defense factory” for scanning code, validating findings, assigning owners and verifying fixes.
The internal workflow was tuned to reduce noise across large codebases. After deduplication and validation over thousands of findings, the company said it reached a 0.81% false positive rate on findings considered likely to lead to real exploits, while AI-generated fixes had a rollback rate below 1%, suggesting most automated patches were accepted without later reversal.
Codex Security is being offered in several forms, including an open-source plugin, CLI and SDK released under the Apache 2.0 license. The tools are meant to give organizations building blocks they can connect to repositories, code review systems, CI/CD pipelines and services such as GitHub Actions.
One lesson from internal use was that vulnerability scanning improves when agents are given detailed system context rather than broad instructions to search an entire repository. The workflow uses scan-specific prompts plus a reusable knowledge base containing items such as architecture documents, access rules and firewall configurations, along with security.md files that let component owners define threat models and security guidance.
The CLI’s “deep scan” mode launches multiple security scans in parallel and keeps running additional passes until no new issues appear or a configured limit is reached. At scale, that produced large volumes of overlapping reports, and OpenAI said 36% of findings in its internal sprint were duplicates, making automated deduplication a key step before assigning remediation work.
After scanning, findings are classified and prioritized using a security rubric tailored to the organization’s risk model. Another layer maps vulnerabilities to the correct team or owner, a step OpenAI said was unexpectedly difficult in a fast-growing company but critical to prevent findings from being bounced between teams.
The patching workflow can generate code changes for a specific finding, test them in a development environment and submit them for normal review. The company framed automation as a dial, not a switch, saying organizations can increase the level of auto-remediation as confidence grows rather than immediately allowing fully autonomous security fixes.
A separate “verify fix” command acts as an adversarial check on generated patches to confirm a reported vulnerability has actually been closed. That verification step was presented as one reason the company was able to keep rollback rates low while scaling remediation across very large backlogs.
A rebuilt Codex Security Cloud is intended for teams that do not want to orchestrate the workflow themselves. By connecting GitHub repositories, users can run continuous scans on every new commit, monitor organization-wide results, inspect findings and optionally auto-generate pull requests. The service is powered by Daybreak security-focused models, with Daybreak Blue set as the default model.
OpenAI said ongoing model improvements are raising patch quality while reducing cost. In a third-party PatchBench evaluation, it said 6 Astra using Codex Security’s patching capability outperformed 5.6 Sol at a higher reasoning setting while costing less than half as much per case, and internal human benchmarking was cited at roughly 50% on the same scale.
The launch reflects a bet that AI-driven security must move from one-off scans to a continuous remediation loop embedded in software development. If the current “defender’s window” is real, the main challenge for organizations is turning model capability into reliable, repeatable fixes before attackers catch up.
Ask a question