Codex Security Review
Set Up Auto Security Reviews on GitHub Pull Requests With Codex Security Review
Connect a GitHub repository to Codex, turn on Auto security review, and get security findings on every pull request before it merges.
- Intermediate
- 6 steps
- Paid plan (Enterprise, Business, Edu, or Pro)
By JinUpdated 20 Nov 2026
Every step checked against OpenAI's own docs on 20 Nov 2026

Overview
You will set up Codex Security Review to automatically scan every GitHub pull request in a connected repository. The worked example uses a spring webinar tracker repository. When a teammate opens a pull request, Codex posts security findings as a review on the pull request, flagging issues such as insecure dependencies and injection risks. As of November 2026, Codex Security Review is available to ChatGPT Enterprise, Business, Edu, and Pro customers. It is not available on Plus. Security reviews consume your plan's included Codex allowance or ChatGPT credits.
Before you start
- A ChatGPT Enterprise, Business, Edu, or Pro plan with Codex Security Review access for your workspace
- Codex cloud set up with a connected GitHub repository
- GitHub push or admin permission on the target repository
Step by step
0 of 6 done
Your ticks stay in this browser.
Step 1 of 6
Open Codex settings and choose your repository
Pick the repository you want Codex Security Review to watch, for example spring-webinar-tracker.
Do this
0 of 2 done
What you should see
The repository is selected and its settings panel opens.
If it didn't work
If the repository does not appear, make sure you have push or admin permission on it in GitHub and that Codex cloud is connected to your GitHub account.
Checked againstlearn.chatgpt.com
Frequently asked questions
Which plans include Codex Security Review?
As of November 2026, Codex Security Review is available to ChatGPT Enterprise, Business, Edu, and Pro customers. It is not available on Plus. Security reviews consume your plan's included Codex allowance or ChatGPT credits.
Does Codex Security Review replace my existing SAST tool?
No. It complements SAST. Codex reviews the pull request diff with LLM reasoning and can catch logic flaws and context-dependent issues that pattern-based scanners miss. Keep your CI SAST for baseline coverage.
Who can see the security review on the pull request?
Findings that meet the reporting threshold are posted on the pull request, so anyone who can view the pull request can view those findings, including on public repositories or pull requests from contributors outside your workspace. The full Codex Security Review report remains in Codex.
Can I run a security review manually without auto-review?
Yes. On any pull request from a connected repository, add a comment with @codex security review to trigger a one-off security review. Open the associated Codex task and select the Security Report tab to view the full report.
What happens to my code? Does OpenAI train on it?
Code sent for review is processed per your plan's data usage policy. Business, Enterprise, and Edu plans opt out of training by default. See OpenAI's enterprise privacy commitments for details.



