Codex Security CLI preview
Codex Security CLI logo
Coding Free, open source (model-backed analysis runs through Codex access)

Codex Security CLI

Open-source CLI from OpenAI that scans Git repositories for vulnerabilities, tracks findings across runs, and verifies fixes inside CI/CD.

Updated 2026-07-29

8.2
AI Score / 10
Visit Codex Security CLI

Overview

The Codex Security CLI is an open-source command-line scanner from OpenAI that walks a Git repository, reports vulnerabilities, keeps state on those findings between runs, and checks whether a fix actually closed the issue it claimed to close. OpenAI open-sourced it and announced it from its own X account on July 29, 2026; it reached the Hacker News front page the same day. It is early access, and OpenAI has asked for feedback on it rather than presenting it as a settled product.

The design target is a pipeline, not a laptop. Most free scanners hand you a wall of findings on every run with no memory of the last one, which is how mute lists end up longer than finding lists. Tracking state across runs turns a scan into a diff — what is new since the last commit, what you already triaged, what a patch was supposed to resolve — and the fix-verification step is what makes it usable as a CI gate instead of a report you skim. The other half of the pitch is model-based analysis: a rule-based tool needs someone to hand-write a taint rule before it can follow a dataflow across four files, and OpenAI has more observation of the failure modes its own generations produce than any third-party vendor does.

My read: the client being open matters and the judgment being closed matters more. You can read this scanner, fork it, pin it, and run it without signing anything, which is more than Snyk or Veracode ever offered. But the model that decides whether a finding is critical or noise is not open, and neither is the eval set that defined "vulnerability" in the first place. There is also no published study measuring whether a same-family generator and auditor share blind spots, which is the load-bearing question when Codex writes the code and a Codex-branded tool grades it. Run it, and keep one scanner in the pipeline that OpenAI did not write.

Key features

Repository vulnerability scanning

Points at a Git repo and reports security issues across the codebase rather than only the current diff, using model reasoning instead of pattern rules alone, so multi-file dataflows don't need a hand-written taint rule to be followed.

Cross-run finding state

Tracks vulnerability state between scans, so each run reads as a delta against the last one — new issues, still-open issues, already-triaged issues — instead of the same undifferentiated wall of findings every build.

Fix verification

Re-checks whether a claimed fix actually closed the finding it was written for, which is the step that lets the tool sit in a pipeline as a gate rather than as a report someone reads later.

Built for CI/CD

Shipped as a CLI intended to live in a build pipeline, distributed through OpenAI's public Codex repo so you can read the source, fork it, and pin a version instead of letting a security gate auto-update under you.

Pricing

Free tier: The CLI is free and open source. What it charges for is model usage, which routes through your existing Codex plan or API access.

CLI $0

Open-source command-line tool from OpenAI's public repo — readable, forkable, and pinnable, with no seat count or contract.

Codex access Included with Codex plans

Model-backed analysis runs through Codex access rather than the CLI itself. Check OpenAI's current Codex and API pricing for what your usage costs at scale.

Pros & cons

Pros

  • Genuinely open source — you can read the client, audit its calls, fork it, and pin a version rather than trusting a black-box security vendor
  • Tracks findings across runs, so a scan reads as a delta instead of the same wall of unranked issues every build
  • Verifies that fixes actually closed the finding, which is what makes it viable as a CI gate rather than a report-only scanner
  • Model-based analysis can follow logic across files without someone first writing a rule for that specific pattern
  • Free at the tool layer, which puts real scanning in reach of teams shipping AI-generated code with no security budget

Cons

  • ×Day-one release in early access — the command surface and flags will churn, so pin the version before it gates anything
  • ×The client is open but the model that ranks a finding as critical or noise is not, and neither is the eval set behind it
  • ×Same-vendor auditing: Codex writes the code and a Codex-branded tool grades it, with no public study of whether same-family generator and auditor share blind spots
  • ×Whether your unpatched inventory stays on the runner or leaves it is worth establishing from the source before wiring this into a pipeline

How it compares

Compare head-to-head

Comparison explorer Put Codex Security CLI up against any three tools Opens with Codex Security CLI already loaded. Add up to three more from the full index and read pricing, features, pros and cons in one table.

Related reading

Ready to try Codex Security CLI?

Head to the official site to start with Codex Security CLI — pricing and plans are listed above.

Visit Codex Security CLI
← More Coding tools