Codex Security
OpenAI's CLI, TypeScript SDK and GitHub Action that use AI models to find, check and patch security bugs in your source code.
Codex Security (v0.10.0, Nov 2026, ~13.5k stars) is OpenAI's tool for AI-driven security review of application code. The cs CLI, TypeScript SDK and GitHub Action scan a repo or a diff, validate findings, draft patches and export SARIF. The client is Apache-2.0, but it is not free to run: you need a ChatGPT sign-in with Codex access or an OpenAI API key billed per use (the Action example caps scans at about $5), or Bedrock, OpenRouter or Fireworks. Scans send relevant code to that model provider. It reviews your own code only; dependency and container scanning are not documented.
The facts
| Question | Answer | Source | Checked |
|---|---|---|---|
| Runs on my machine? | Partly. The CLI runs on your computer or CI, but scans send relevant code to the AI model provider (OpenAI by default); a hosted cloud option also exists | learn.chatgpt.com | Checked 2 weeks ago |
| Code licence | Open source. Apache-2.0 | github.com | Checked 2 weeks ago |
| Commercial use | Yes. The client code is Apache-2.0, which allows commercial use; use of the AI models is under the chosen provider's own terms | github.com | Checked 2 weeks ago |
| Paid services needed? | Required. Needs a paid AI account: a ChatGPT sign-in with Codex access or an OpenAI API key billed per use (docs do not say which ChatGPT plans include it), or Bedrock/OpenRouter/Fireworks keys. Scans cost money; the Action example uses a $5 estimated limit per scan | github.com | Checked 2 weeks ago |
| Hardware | No minimum figures stated; the AI runs on the provider's servers, so any machine with Node.js 22.13+/24/26 and Python 3.10+ should do | learn.chatgpt.com | Checked 2 weeks ago |
| Operating systems | Windows, macOS and Linux are all covered in the CLI docs (no formal support list); Linux sandboxing needs Bubblewrap | github.com | Checked 2 weeks ago |
| Setup effort | Medium; install the npm package, sign in with ChatGPT or set an API key, then run cs scan; the GitHub Action needs an API key secret and a workflow file | github.com | Checked 2 weeks ago |
Codex Security released npm-v0.11.0 on 24 Nov 2026, after these facts were checked. Some answers may have changed since.
Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.
No licence changes since we started watching. Licence changes: follow Codex Security and we email you if its terms change.
What it replaces, job by job
| Paid tool | Jobs | How far it goes |
|---|---|---|
| Snyk $25/month |
| 1 of 3 jobs. Covers AI review of your own code, with patches and SARIF export, but needs a paid OpenAI or other AI account and sends code to it. It does not document dependency, container or infrastructure scanning. |
Agent skills
Codex Security publishes 24 skills for coding agents such as Claude Code, Cursor and Codex, installed about 2,955 times in total. Some may be for the project’s own developers rather than its users.
| Most installed | Installs | Security scans |
|---|---|---|
| attack-path-analysis | 824 | 2 pass, 1 warn |
| threat-model | 220 | 3 pass |
| security-scan | 168 | 2 pass, 1 fail |
npx skills add openai/codex-security
From skills.sh, checked yesterday. Installs show popularity, not quality or safety: read a skill before you install it. How we count these.
Stars over time
Building history +192 stars this week. Too early to say if that’s fast or slow for it: that needs five weeks of daily counts. Stars show attention, not quality. Where these numbers come from.