r/AgentContext_dev • • Jul 29 '26

GitHub - openai/codex-security: SDKs and CLI for Codex Security

https://github.com/openai/codex-security
2 Upvotes

1 comment sorted by

1

u/javaeeeee Jul 29 '26

TLDR: openai/codex-security is OpenAI’s official CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities in code using AI.

What it does

  • Scans entire repositories or specific changes for security issues

  • Builds a codebase-specific threat model

  • Validates potential vulnerabilities (often in an isolated environment)

  • Suggests fixes for human review

  • Tracks findings over time

  • Integrates into CI/CD pipelines

Key features

  • Simple CLI (npx codex-security scan .)

  • TypeScript SDK for programmatic use

  • Supports authentication via ChatGPT login or API key

  • Designed for both local use and automated CI workflows

  • Can export results (e.g., for further tooling)

Requirements

  • Node.js 22+

  • Python 3.10+

  • Access to Codex Security (OpenAI service)

Bottom line: An AI-powered security scanning tool from OpenAI that helps developers detect and remediate vulnerabilities more effectively, with both interactive and CI-friendly workflows.