English

Codex Security plugin quickstart

Install the Codex Security plugin, run your first read-only scan, and review the result in Codex.

Codex Security scans your code for vulnerabilities and validates plausible findings. For each reportable issue, it gives you the evidence and remediation guidance you need to review the result. Scan only code you own or have permission to assess.

Follow this quickstart to install the plugin and run a read-only scan of a local repository in Codex.

Install the plugin

  1. Open Codex in the ChatGPT desktop app.
  2. Open Plugins, search for Codex Security, or select Install the Codex Security plugin.
  3. Confirm the plugin is enabled, then open Security in the sidebar.

Run your first scan

For the best scan quality, use gpt-5.6-sol with xhigh reasoning effort.

Native Codex Security workbench showing the new scan setup before a repository scan starts
Choose a repository and configure a new security scan before you start it.
  1. Open the scan setup

    Select Security in the sidebar, open Scans, and select + Scan.

  2. Choose the codebase and scan area

    Select an existing repository or use another folder. Choose Codebase, leave Deep scan off, and select the entire repository or one folder. Confirm that the branch and revision identify the code you intended to scan.

  3. Add relevant context

    Choose the model and reasoning effort. Open Additional context only when you need to describe a specific attack vector, security-sensitive area, or repository detail that should guide the review.

    Native Codex Security scan setup with additional context enabled and example attack vectors, focus areas, and security guidance
    Turn on additional context to describe attack vectors, focus areas, and relevant security guidance.
  4. Start the scan

    Select Start scan and follow the scan phases in the Security workbench. Select View activity to inspect the Codex task that performs the scan.

  5. Review the result

    Open the completed scan to inspect findings, coverage, and available report artifacts. Use Findings to review issues across scans or Repositories to inspect a repository's scan history.

    Completed Codex Security scan showing findings in the native workbench
    Review scan results, findings, and coverage in the Security workbench.

What the scan creates

Completed scans remain available in Scans. Review their findings and coverage in the Security workbench, or inspect related findings and repository history in Findings and Repositories. The scan also creates the files below.

  • report.md, the primary readable entry point to the scan results.
  • findings/<slug>/, when detailed vulnerability reports and supporting proof-of-concept files are available.
  • hardening/, when structural hardening guidance and supporting proposals or diagrams are available.
  • Structured scan data in scan-manifest.json, findings.json, and coverage.json for automation and integrations. You normally don't need to open these files yourself.

Keep the full scan directory together when sharing or archiving results so the links from report.md continue to work.

Choose your next workflow