CLI and SDK to find and fix security vulnerabilities
Codex Security helps find, investigate, and fix vulnerabilities in code, through the Codex plugin, the @openai/codex-security CLI, a TypeScript SDK, or a GitHub Action.
- Scans can cover a whole repo, selected paths, or Git changes. Deep mode repeats Standard scans and returns their deduplicated findings.
- Candidate findings can be validated, then patched, or an existing fix can be verified. Results export to SARIF, JSON, or CSV.
- Findings can be tracked in Linear, Jira, or GitHub, and third-party scanner results can be previewed and saved locally.
try
npm install --global @openai/codex-security