OpenAI has released Codex Security Review as a research preview. It automatically analyzes GitHub pull requests (PRs) for security vulnerabilities and reports only the bugs it has validated as actually exploitable.
Reading the PR and Proving the Vulnerability: How Codex Security Review Works
Existing security tools look only at the diff and find vulnerabilities by pattern matching. Codex uses the full repository context and a project-specific threat model. It maps attacker entry points, trust boundaries, sensitive data, and high-impact code paths to explore real attack paths.
Three Stages That Keep Only Real Vulnerabilities
1. Identification: analyze the repository, build a threat model, and explore attack paths
2. Validation: reproduce the issue in an isolated sandbox to confirm it is exploitable
3. Remediation: suggest a minimal patch that fixes the root cause (not applied automatically; a human reviews it)
Before You Add It to GitHub PRs: Setup and Scope
Comment @codex security review on a PR and it runs immediately. You can also set it to run automatically (when a PR is opened, or on every push). Findings appear as inline comments in the PR.
3x Semgrep: What More Did It Find?
In an independent test, Codex Security Review hit a 74% rate on real bugs. On the same codebase, Semgrep scored 20% and Snyk 28%. Traditional SAST tools have false positive rates of 30% to 70%, while Codex claims to cut false positives by more than 50% through context-based reasoning.
Real-World Results: CVEs Already Found
OpenAI says an internal version found real CVEs in well-known open source projects including GnuPG, GnuTLS, OpenSSH, PHP, and Chromium, and disclosed them responsibly. Scans turned up 792 critical and 10,561 high-severity findings.
Who Can Use It Now, and What Limits Remain
- Available to: ChatGPT Enterprise, Edu, Business, and Pro, free during the introductory period
- Not supported: the Plus plan
- Limits: GitHub only, slow first scans on large repositories, and no automatic code fixes
When PR Review Becomes the Defense Line Before Deployment
This is a turning point from pattern matching to AI that understands and validates. The era of developers checking security by hand on every PR is shifting to one where AI validates first and humans review the results.
Related: OpenAI Help · Cybersecurity News · X post
