OpenAI Codex Security Open-Sources Its CLI Today OpenAI quietly open-sourced its Codex Security CLI and TypeScript SDK on GitHub and npm under Apache 2.0 on July 28, 2026, but the tool requires a paid subscription to the Codex Security service to produce results. The CLI can scan repositories for vulnerabilities, track findings, and verify fixes, using LLM reasoning to catch issues like authorization bypasses that traditional SAST tools miss, with the vendor claiming 70% fewer false positives. Hacker News discovered the release before OpenAI announced it, and the story became the top post with 322 points. OpenAI released its Codex Security CLI and TypeScript SDK to GitHub on July 28, 2026 — but the company didn’t announce it. Hacker News https://news.ycombinator.com/ found it first. The repo appeared quietly on GitHub and npm as @openai/codex-security under Apache 2.0, and within hours it became the top story on HN with 322 points. OpenAI later confirmed on X: “We quietly released the open-source Codex Security CLI, but Hacker News found it before we had a chance to share it here.” The tool can scan repositories for vulnerabilities, track findings across runs, verify fixes, and drop into CI/CD pipelines. What it cannot do, without a paid subscription, is produce any results. OpenAI Codex Security: Open Source Client, Commercial Backend What OpenAI open-sourced is the Codex Security CLI and TypeScript SDK https://github.com/openai/codex-security — the scaffolding that lets you run scans and receive structured output. What remains closed is the reasoning engine that actually finds vulnerabilities. The official documentation https://learn.chatgpt.com/docs/security/cli is blunt: using the tool requires “access to Codex Security service,” which is not free. Pricing sits around $0.018 per thousand lines scanned. This is the “open source client, commercial backend” model — the same pattern used by Stripe’s SDKs, the AWS CLI, and dozens of developer tools before them. You can inspect the client code, fork it, and contribute fixes. The intelligence is rented. For teams already in the OpenAI ecosystem paying for Codex access, this is a welcome move. For teams hoping to self-host an AI security scanner, this is not that. Why OpenAI Codex Security Isn’t Another SAST Tool The actual technical differentiation here is worth understanding. Traditional static analysis tools — Semgrep, Snyk, CodeQL — work by matching code against libraries of known vulnerability patterns. They are fast, battle-tested, and excellent at catching SQL injection, XSS, and hardcoded credentials. However, they consistently miss authorization bypasses, IDOR bugs, and missing permission checks across execution paths, because those require understanding intent, not matching patterns. Codex Security uses LLM reasoning to determine whether code correctly implements security controls. During its research preview, it scanned over 1.2 million commits and surfaced 792 critical vulnerabilities across projects including GnuTLS, Chromium, and PHP — including three critical issues that neither Semgrep nor Snyk caught in comparative testing https://venturebeat.com/security/anthropic-openai-sast-reasoning-scanners-security-directors-guide . The vendor claims approximately 70% fewer false positives versus traditional SAST. The caveat is a real one: the tool can only reason about what the code does, not about design intent or business logic that lives outside the repository. Related: T3MP3ST: Your AI Coding Agent Is Now a Red-Team Operator Getting Started The setup bar is low — Node.js 22+ and Python 3.10+ are the only prerequisites. For teams that already have Codex Security access, it takes about two minutes to get a first scan running: npm install @openai/codex-security Interactive scan npx codex-security login npx codex-security scan . CI/CD no interactive login OPENAI API KEY=