openai

    openai/codex-security

    OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

    11.3K stars
    910 forks
    36 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 3 days ago, with 84 contributors on GitHub.

    Use Cases & Benefits

    • Provides a CLI and TypeScript SDK to find, validate, and fix security vulnerabilities in codebases.
    • Enables deep, parallelized scans with automated validation, patch generation, and integration with CI and issue tracking.
    • Use for automating security scans and vulnerability management in Node.js and TypeScript projects.
    • Use for integrating security scanning into GitHub Actions workflows for continuous vulnerability assessment.
    • Use for managing and exporting threat models and security policies across multiple repositories in bulk scan campaigns.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    @openai/codex-security is a CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities in your code.

    Requires Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+. Python 3.10 also requires tomli.

    cs is a short alias for codex-security; both commands run the same CLI. The installation creates both commands in npm's global executable directory, which must be on your PATH. If cs already resolves to another tool, use codex-security instead. If npm stops with an EEXIST error for cs, use npx @openai/codex-security without a global installation.

    From your repository, optionally draft a SECURITY.md that explains what counts as a security issue in your project:

    The draft is saved outside your repository. Review the diff and notes, edit the draft, then copy only SECURITY.md to the Policy target shown. Skip this step to keep your current policy or scan without one.

    Run your scan from the repository directory:

    If you have Daybreak Blue access, add --cyber-access-program daybreak_blue to the scan command. Otherwise, omit the flag or use --cyber-access-program standard.

    To run without a global installation, replace cs in these examples with npx @openai/codex-security, for example:

    For CI, set OPENAI_API_KEY or CODEX_API_KEY in the scan process's environment. On remote or headless machines, use login --device-auth if your workspace allows it, or sign in over SSH.

    Excerpt from the openai/codex-security README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Oct 9: +5

    +290 stars over 30 days across 4 snapshot days; best day +5 on Oct 9.

    Forks

    910+55

    Open issues

    132-153

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    openai/codex-security compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    morluto/rea450.0K+22.9K7516 days ago
    mattpocock/skills320.9K+9.5K7512 days ago
    vercel-labs/agent-desktop21.4K+8.7K755 days ago
    stablyai/orca121.4K+6.7K75today
    vercel-labs/agent-browser49.2K+3.8K751 day ago
    openai/codex-security11.3K—603 days ago
    Category median121.4K+8.7K75—

    Also by openai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description