MCP.so
Sign In
>_

Codex SecurityOfficial

@openai

Details

Category

Developer tools

Command

cs

Maintainer

openai

Type

Developer tool

About Codex Security

Codex Security is the OpenAI CLI and SDK for examining repositories for security issues. It supports selected paths and Git changes.

The standalone CLI helps developers repeat investigations outside interactive conversations. Findings need human review; completion is not a guarantee of secure code.

#cs#developer-tools#developer-tool#official#agent-ready#codex-security-cli

How to install Codex Security

1. Install after preparing supported runtimes

npm install --global @openai/codex-security

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

Log in and authenticate

  1. 1
    cs login

    2. Authenticate with the official flow.

  2. 2
    cs scan .

    3. Scan an authorized repository and read the REPORT file.

  3. 3
    cs scans show

    4. Inspect saved results and coverage exclusions.

Model access and usage limits apply; the Apache-2.0 license does not guarantee free model usage. Only assess repositories you are authorized to scan.

What it does

Scope scans to paths

Review Git changes

Inspect saved findings

Common commands

  1. 1
    cs scan . --path src --path tests

    Select paths.

  2. 2
    cs scan . --diff origin/main

    Inspect committed changes against a base.

  3. 3
    cs scan . --mode deep

    Repeat standard scans and deduplicate findings; check resource limits first.

Notes and limits

  • What if cs conflicts? Use codex-security or npx @openai/codex-security.
  • Is coverage exhaustive? No. Read exclusions and independently validate findings.
  • Is the Cloud connector required? Local scans and Cloud findings use separate workflows.
  • Official README checked 2026-11-22; no authenticated scan or installation was tested.

Sources

Checked against the official documentation on 2026-11-22.

Comments

More Developer tools CLIs