Codex Security is OpenAI's vulnerability scanner and repair toolkit for source code, shipped as a command-line tool, a TypeScript SDK and a set of workflows that run inside a Codex session. It is written for developers and application-security people who already have a backlog of findings and no time to triage them by hand, and for teams that want scanning to run in CI instead of on someone's laptop once a quarter.
What it does
The pitch in the video is that a normal scanner finds the vulnerability and then leaves you to fix it; this one is built to carry on past that point. According to the README it can:
- Scan a whole repository, selected paths, or just the Git changes in front of you.
- Validate candidate findings, so you do not spend an afternoon on a false positive.
- Generate patches, and verify that a fix already in the tree holds.
- Draft a
SECURITY.mdpolicy and save threat models for later review. - Assess severity against your own rubric, flag duplicate findings, and suggest likely owners from the source and the Git history.
- Preview and import findings from third-party scanners, publish supported reports to Codex Security Cloud, track issues in Linear, Jira or GitHub, and export SARIF, JSON or CSV.
How it works
A run saves a report plus the individual findings, and the report is the thing you read: it carries the source evidence behind each finding and, just as usefully, the coverage limits and exclusions, so you can see what the scan did not look at. Saved scans and findings stay browsable afterwards.
Two scan depths exist. A Standard scan does one pass. A Deep scan, per the README, repeats the Standard scan and returns the deduplicated findings, which is the project's own answer to the fact that a language model does not return the same list twice.
There are four ways to drive it: ask for a security workflow inside Codex with the plugin enabled ("Run a Codex Security scan on this repository, focusing on authentication and authorization"), run the CLI in a terminal, call the TypeScript SDK from your own automation, or use the supplied GitHub Action. The docs also cover running scans across many repositories or project components, inside CI and inside containers.
Getting started
The code lives at github.com/openai/codex-security under Apache-2.0, and the CLI installs globally from npm as the package @openai/codex-security. You need Node.js 22.13.0 or newer within the 22.x line, or Node.js 24.x or 26.x, plus Python 3.10 or newer; on Python 3.10 you also need tomli. The project does not list hardware or operating-system requirements beyond those runtimes.
What costs money: the tool itself is free and open source, but the intelligence is not. You bring your own OpenAI API key, and the channel's write-up points at the example run shown on the project's GitHub page costing roughly five dollars. That is the project's own example figure, not an independent measurement, and your bill will track the size of the repository and the depth of the scan. Nothing in the material describes pointing this at a local model, so budget for API usage on every run.
When to use it / when not
The catch is in the paragraph above: every scan is a metered API call, so a Deep scan, which deliberately does the work twice, on a large monorepo is not something you leave on a loop without watching the invoice. The second catch is age. The repository was created in July 2026 and is still being pushed to daily, so expect the surface to keep moving.
Use it instead of a conventional static analyser like Semgrep or CodeQL when your problem is not finding candidates but deciding which of them are real and getting a patch written; it will also ingest those scanners' output rather than replacing them outright. Don't use it if what you want is a free, deterministic gate on every pull request: a rules-based linter costs nothing per run and gives the same answer every time, which a model-driven scan does not promise. And if your whole need is "read this diff and tell me if it is dangerous", asking a coding assistant directly is cheaper than standing up a scanning pipeline.
Codex Security is worth real attention if you own security for a codebase and the triage queue, rather than detection, is what is drowning you: validation, source evidence, deduplication, owner suggestions and a generated patch are exactly the unglamorous parts that tooling usually skips. Hobbyists scanning a side project will feel the per-run cost before they feel the benefit. Teams already paying people to sort through scanner noise are the ones who should clone it this week.