Friday, October 23, 2026|20°C Partly Cloudy
Next edition scheduled
Your Personal Daily Intelligence
Edition 2026-07-29

TECHNOLOGY

OpenAI Releases Codex Security CLI and SDK for Code Vulnerability Scanning

OpenAI introduced Codex Security, a command‑line interface and TypeScript SDK designed to detect, validate, and remediate security vulnerabilities in source code.

By Hacker News · 86d ago · Source: Hacker News

Full article

OpenAI introduced Codex Security, a command‑line interface and TypeScript SDK designed to detect, validate, and remediate security vulnerabilities in source code. The tool requires Node.js 22 or later, Python 3.10 or later, and access to Codex Security. Users can install it via npm and authenticate with either a ChatGPT sign‑in or an API key. CI pipelines can use an API key directly. Scan commands, such as `npx codex-security scan .`, can specify authentication method with `--auth chatgpt` or `--auth api-key`. If both credentials are present, interactive scans prompt the user to choose; noninteractive scans prioritize the API key. To set the ChatGPT credential as default, users must unset configured API keys. Scan state is stored in a designated workbench directory; if write access is unavailable, the `CODEX_SECURITY_STATE_DIR` environment variable can be set to an alternative path. The TypeScript SDK allows developers to integrate scanning into applications by importing the `CodexSecurity` class and invoking its `run` method. OpenAI provides comprehensive documentation covering installation, authentication, scan options, and continuous integration setup.

Source transparency

Publisher
Hacker News
Reliability
high
Published
7/29/2026, 4:34:40 PM
Retrieved
7/29/2026, 4:34:40 PM
Relevance
80%
Confidence
85%
Read original at Hacker News

Botwin's Morning Wire publishes the full source article for reading convenience. Please visit the publisher for the original presentation and any updates.