LibreAI / Dev Tools / Codex Security
// devtools · openai/codex-security

Codex Security

Codex Security is an open-source dev tools project by openai (openai/codex-security on GitHub). It has 12,157 GitHub stars and 965 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 12 November 2026.

OpenAI's security scanner for Codex — find, validate and patch vulnerabilities from the CLI, SDK or GitHub Action, Apache-2.0

★ 12.2k stars⑂ 965 forksApache-2.0updated 2026-11
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

GitHub stars
12,157
Forks
965
License
Apache-2.0
Last updated on GitHub
12 November 2026
Category
Dev Tools
Listing
Full install guide
// how it works

How it works

  1. Install the CLI

    Install the package globally with npm — you need Node.js 22.13+ or 24/26 and Python 3.10+.

  2. Sign in

    Log in once so the CLI can run scans against your account or API key.

  3. Scan your repo

    Run a scan from the repository directory and read the saved Markdown report.

  4. Fix and verify

    Ask for a patch for a finding, or verify a fix you already made.

// features

Why people love it

Four ways to run it

Inside Codex, from the cs CLI, from the TypeScript SDK, or as a GitHub Action in CI.

Validate, then patch

Findings are validated before they reach you, patches are generated, and fixes are verified.

Deep scans included

Deep mode repeats standard scans and returns deduplicated findings.

Policies and threat models

Drafts SECURITY.md, saves threat models, and exports SARIF, JSON and CSV.

Third-party scanner import

Preview scanner findings from other tools, save them locally or publish to Codex Security Cloud.

// run it

Run it yourself

  1. Step 1 — Install the CLI

    Install the package globally; cs and codex-security are the same command.

    npm install --global @openai/codex-security
  2. Step 2 — Sign in

    Log in once before your first scan.

    cs login
  3. Step 3 — Scan the repo

    Scan the current repository and open the report at the REPORT path it prints.

    cs scan .
// use cases

What you can build

  • Scan a repo for vulnerabilities before a release
  • Validate and patch findings with evidence attached
  • Run weekly security scans in CI with the GitHub Action
  • Draft a SECURITY.md and threat model for a project

Two more from the same shelf: Security Audit Skill — Cloudflare's security-audit skill, and claude-code-security-review — An AI-powered security review GitHub Action using. Browse every Dev Tools tool in the catalogue to compare the category.

// faq

Questions, answered

What is Codex Security?

OpenAI's security scanning tool: a CLI, TypeScript SDK, Codex plugin and GitHub Action that finds, validates, patches and verifies vulnerabilities.

Is it free?

Apache 2.0 code, but scans consume model usage — set an API key (OPENAI_API_KEY or CODEX_API_KEY) or sign in with Codex.

What does a scan return?

A saved Markdown report with findings, source evidence, severity, and the coverage limits of what was checked.

Can it scan only my changes?

Yes — cs scan with --diff origin/main scans committed changes, and --path limits the scan to selected folders.

Does it replace other scanners?

It can import third-party scanner findings too, so it works alongside existing tools rather than only replacing them.

// keep exploring

Similar tools

AI Agents

Security Audit Skill

Cloudflare's security-audit skill — turns your coding agent into a multi-phase auditor with independently verified findings, MIT

★ 67.6k starsMIT
View guide →
Dev Tools

claude-code-security-review

An AI-powered security review GitHub Action using Claude to analyze code changes for security vulnerabilities.

★ 6.3k starsMIT
View guide →
Dev Tools

cline

Autonomous coding agent available as an SDK, IDE extension and CLI assistant

★ 70.0k starsApache-2.0
View guide →
Dev Tools

codex

OpenAI's lightweight coding agent that runs locally in your terminal

★ 128.2k starsApache-2.0
View guide →
Dev Tools

kicad-happy

AI coding agent skills for KiCad electronics design. Works with Claude Code and OpenAI Codex. Analyze schematics, review PCB layouts, EMC pre-compliance, SPI…

★ 1.3k starsMIT
View guide →
Dev Tools

cc-connect

Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat …

★ 15.7k starsUnknown
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if Codex Security is not the right fit.

  • OpenCode★ 211.6k

    The open source coding agent

  • Transformers★ 166.9k

    The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.

  • claude-code★ 149.7k

    Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase

  • cc-switch★ 141.3k

    Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents

  • codex★ 128.2k

    OpenAI's lightweight coding agent that runs locally in your terminal

// more in devtools

More in Dev Tools

Nearby Dev Tools projects in the catalogue, closest in stars to Codex Security — keep exploring the shelf either side of it.

  • claude-context★ 12.6k

    Code-search MCP for Claude Code: make your entire codebase the context for any coding agent.

  • fastapi_mcp★ 12.0k

    Expose your FastAPI endpoints as Model Context Protocol tools - with authentication - in a few lines of code.

  • Axolotl★ 12.7k

    Axolotl — free, open-source LLM fine-tuning framework: LoRA, QLoRA and expert-parallel training, Apache-2.0

  • improve★ 11.4k

    The audit skill from shadcn — your best model audits the codebase, cheaper models execute the plans, MIT

  • nofx★ 13.0k

    Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.

  • artemis★ 10.9k

    ARTEMIS turns natural-language instructions into reliable Android automation. It automates end-to-end workflows, captures logs, and integrates seamlessly wit…

Get Codex Security

Free and open — grab the source, star the repo, and start creating.