OPENAI JUST OPEN-SOURCED CODEX SECURITY 🔥
It’s a CLI and TypeScript SDK that finds, validates, tracks, and helps fix security vulnerabilities in your code.
Point it at a repo and it can:
→ Find vulnerabilities, ranked by severity and confidence
→ Validate findings with evidence and exact locations
→ Generate remediation guidance and proposed patches
→ Track issues as new, persisting, reopened, or resolved
You can run it locally, install a pre-commit check that blocks high-severity findings, or add it to CI with your own severity threshold.
A particularly useful detail: every scan reports whether its coverage was complete, partial, or unknown, including anything it skipped.
Since model-based scans consume tokens, --max-cost also gives teams a practical budget guardrail for each run.
It’s open-source under Apache 2.0 and currently in limited beta, so access is still required.
Node.js 22+ and Python 3.10+.
Try it:
npx @openai/codex-security@latest --help
Repo + docs below ↓