How to run your first Codex Security scan
Summary
OpenAI's Codex Security automates vulnerability detection and patch generation in codebases using AI-powered threat modeling. The tool scales from single-repository manual scans to enterprise CI/CD pipelines via CLI, enabling teams to identify, fix, and deploy security patches directly to GitHub in minutes.
Key Takeaways
- Codex Security builds threat models by analyzing repository context first, identifying potential attack surfaces before reviewing code—this staged approach reduces false positives compared to traditional static analysis.
- Generate AI-suggested security patches directly within the workflow, review changes locally, and publish pull requests to GitHub automatically—collapsing the time from vulnerability detection to production fix from days to minutes.
- Deploy Codex Security at scale using npm-installable CLI, embedding vulnerability scanning directly into CI/CD pipelines to analyze multiple repositories simultaneously without manual intervention.
- Use 'additional context' parameter to guide the AI model toward specific components (e.g., authentication services), improving accuracy of findings by constraining analysis scope rather than broad scans.
- Requires Daybreak Blue model access for functionality—verify availability in settings before installation, indicating enterprise-tier AI capabilities gate this security tooling.
Related topics
Transcript Excerpt
Hey there, my name is Dan Shanahan and I'm a cyber deployment engineer here at OpenAI. So in this video, what we'll do is we'll take a couple of moments to walk through Codeex security. I'm going to install the Codex Security plugin. We'll work through a couple of findings that have been identified by CodeC. And then lastly, we'll use the codec security CLI to automate scans so that we can implement this at scale across our environment, specifically inside of our CI/CD infrastructure. Let's get started. Here I am inside of codeex and the very first thing that I need to do is check to make sure that I have access to Daybreak Blue. So, inside of my settings, you'll see here under general that there is Daybreak Blue Access that's available to me. Next up, what we'll do is we'll navigate over …
More from OpenAI
- How to request and enable Daybreak Blue
- Build What’s Next on the ChatGPT Platform with Plugins | DevDay 2026
- How Mozilla uses GPT-6 Cyber to find and fix Firefox vulnerabilities
- Building with GPT-Live and Image Generation | DevDay 2026
- Harness-as-a-Service: Building with the Agents API | DevDay 2026