{"version":"v1","licence":"CC-BY-4.0","id":"codex-security","name":"Codex Security","repo":"openai/codex-security","repository_url":"https://github.com/openai/codex-security","docs_url":"https://learn.chatgpt.com/docs/security/cli","description":"OpenAI's CLI, TypeScript SDK and GitHub Action that use AI models to find, check and patch security bugs in your source code.","summary":"Codex Security (v0.10.0, Nov 2026, ~13.5k stars) is OpenAI's tool for AI-driven security review of application code. The cs CLI, TypeScript SDK and GitHub Action scan a repo or a diff, validate findings, draft patches and export SARIF. The client is Apache-2.0, but it is not free to run: you need a ChatGPT sign-in with Codex access or an OpenAI API key billed per use (the Action example caps scans at about $5), or Bedrock, OpenRouter or Fireworks. Scans send relevant code to that model provider. It reviews your own code only; dependency and container scanning are not documented.","capabilities":["code-scan"],"tags":["Security scanning","CLI","GitHub Actions","TypeScript","Bring your own API key","Docker","Official"],"alternatives":[{"product":"snyk","jobs":["code-scan"],"coverage":"partial","note":"Covers AI review of your own code, with patches and SARIF export, but needs a paid OpenAI or other AI account and sends code to it. It does not document dependency, container or infrastructure scanning."}],"facts":{"runs_locally":{"status":"partial","value":"The CLI runs on your computer or CI, but scans send relevant code to the AI model provider (OpenAI by default); a hosted cloud option also exists","source_url":"https://learn.chatgpt.com/docs/security/setup","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","modes":["local","hosted"],"untrusted_source_quote":"relevant code and prompts to the configured model provider."},"code_license":{"status":"yes","value":"Apache-2.0","source_url":"https://github.com/openai/codex-security/blob/main/LICENSE","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","spdx":"Apache-2.0","untrusted_source_quote":"Licensed under the Apache License, Version 2.0"},"model_license":{"status":"yes","value":"No model weights; it calls hosted models (OpenAI by default, or Bedrock, OpenRouter, Fireworks AI or Cheaper Inference)","source_url":"https://github.com/openai/codex-security#other-providers","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","spdx":null,"applies":false,"untrusted_source_quote":"Scans support OpenAI, Amazon Bedrock, OpenRouter, Fireworks AI, and Cheaper Inference."},"commercial_use":{"status":"yes","value":"The client code is Apache-2.0, which allows commercial use; use of the AI models is under the chosen provider's own terms","source_url":"https://github.com/openai/codex-security/blob/main/LICENSE","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","untrusted_source_quote":"Licensed under the Apache License, Version 2.0"},"paid_services":{"status":"no","value":"Needs a paid AI account: a ChatGPT sign-in with Codex access or an OpenAI API key billed per use (docs do not say which ChatGPT plans include it), or Bedrock/OpenRouter/Fireworks keys. Scans cost money; the Action example uses a $5 estimated limit per scan","source_url":"https://github.com/openai/codex-security/blob/main/sdk/typescript/docs/cli.md#authentication","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","required":["ChatGPT account with Codex access, or OpenAI API key (pay per use)"],"optional":["Amazon Bedrock, OpenRouter, Fireworks AI or Cheaper Inference instead of OpenAI","Codex Security Cloud (for publishing findings)","Trusted Access for Cyber or Daybreak access (for some protected findings)"],"untrusted_source_quote":"Sign in with ChatGPT, or supply an API key for CI:"},"hardware":{"status":"partial","value":"No minimum figures stated; the AI runs on the provider's servers, so any machine with Node.js 22.13+/24/26 and Python 3.10+ should do","source_url":"https://learn.chatgpt.com/docs/security/cli","checked_at":"2026-11-14","confidence":"medium","validation":"documentation_review","cpu_ok":true,"min_vram_gb":null,"min_ram_gb":null,"untrusted_source_quote":"You also need Python 3.10 or later."},"platforms":{"status":"yes","value":"Windows, macOS and Linux are all covered in the CLI docs (no formal support list); Linux sandboxing needs Bubblewrap","source_url":"https://github.com/openai/codex-security/blob/main/sdk/typescript/docs/cli.md#authentication","checked_at":"2026-11-14","confidence":"medium","validation":"documentation_review","windows":"yes","macos":"yes","linux":"yes","untrusted_source_quote":"On Windows, set a key in PowerShell:"},"setup":{"status":"yes","value":"Medium; install the npm package, sign in with ChatGPT or set an API key, then run cs scan; the GitHub Action needs an API key secret and a workflow file","source_url":"https://github.com/openai/codex-security#quick-start","checked_at":"2026-11-14","confidence":"high","validation":"documentation_review","level":"medium","untrusted_source_quote":"Install the CLI globally and sign in:"}},"metrics":{"stars":14501,"forks":1162,"contributors":98,"archived":false,"last_push_at":"2026-11-30T22:32:52Z","latest_release":{"tag":"npm-v0.11.0","published_at":"2026-11-24T18:47:32Z"},"fetched_at":"2026-12-01T01:21:03.661Z"},"url":"https://repoquarry.dev/projects/codex-security","note":"Installation guidance: follow docs_url. This service never installs or runs code."}