GitHub·First covered 13 Nov 2026
openai/codex-security
Codex Security is OpenAI's CLI and TypeScript SDK for scanning a repository for vulnerabilities, validating what it finds and drafting patches, from inside Codex, a terminal or CI.
Stats
(As of 22 Nov 2026)- Stars
- 14k
- Forks
- 1.1k
- Contributors
- 90
- Open issues
- 37
- Created
- Jul 2026
- Language
- TypeScript
- Licence
- Apache-2.0
- Scans whole repos, chosen paths or a Git diff; deep mode repeats standard scans and dedupes the results.
- Validates candidate findings, generates patches, checks existing fixes and drafts SECURITY.md policies.
- Exports SARIF, JSON and CSV, and can file findings in Linear, Jira or GitHub.
- A GitHub Action runs scheduled scans; the example workflow caps each scan at an estimated $5.
- Besides OpenAI, scans can run on Amazon Bedrock, OpenRouter, Fireworks AI and Cheaper Inference.
Try it
npm install --global @openai/codex-security