Skip to main content
Back to trending

codex-security

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

  • ai-security
  • application-security
  • cli
  • code-scanning
  • codex
  • codex-security
  • cybersecurity
  • devsecops
  • nodejs
  • npm
  • openai
  • sdk
  • security
  • typescript
  • vulnerability-scanning
View on GitHub
Stars
12,416
Forks
978
+ today
—
Created
4mo

Ranking data as of November 24, 2026 (UTC).

Overview

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

The project is written in TypeScript and has 978 forks. It was created 4mo ago.

AI-generated summary of the repository README — may contain errors.

What it is

Codex Security is OpenAI's tooling for security review of code, shipped as a command line interface plus a TypeScript SDK. The npm package is @openai/codex-security. It is written in TypeScript and licensed Apache-2.0.

Capabilities it describes

The stated purpose is finding, investigating and validating vulnerabilities, then helping repair them. The README preview lists three entry points: a security workflow inside Codex itself, a terminal CLI that scans a repository, and automation through the SDK. Scanning can cover a whole repository, chosen paths or pending Git changes, and a deep scan is described as repeating a standard scan and returning de-duplicated findings. It also claims validation of candidate findings, patch generation and verification of existing fixes.

Getting started

Installation is via npm, per the description, but the supplied evidence does not include the exact install command, configuration options or account requirements. Read the README for those.

Scope note

The evidence describes static review of repositories and diffs; it says nothing about runtime protection, dependency auditing or compliance reporting, so do not assume those are included.

Practical caution

An automated security tool produces leads, not proof. Treat generated patches as review candidates.

Installation
git clone https://github.com/openai/codex-security.git
cd codex-security
# see README for setup

Frequently Asked Questions

What is the difference between a standard and a deep scan?

The README preview says a deep scan repeats the standard scan and returns the de-duplicated findings, implying broader coverage rather than a different engine. It does not detail the mechanics.

Can it fix what it finds?

Yes, per the description: it validates candidate findings, generates patches and can verify fixes that already exist.

Is there a hosted service?

The supplied evidence describes a CLI and an SDK published on npm. One entry point runs inside Codex, but no hosted scanning service is described.