Skip to content
Tech News
← Back to articles

OpenAI just open-sourced Codex Security

read original more articles
Why This Matters

OpenAI's release of Codex Security as an open-source tool marks a significant advancement in software security, empowering developers to proactively identify and fix vulnerabilities within their codebases. This move enhances transparency and accessibility in security practices, potentially leading to more robust and secure applications across the tech industry and for consumers. By integrating these tools into development workflows, organizations can improve security posture while streamlining vulnerability management.

Key Takeaways

Codex Security

@openai/codex-security is a CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities in your code. Scan repositories, review changes, track findings over time, and run security checks in CI.

Documentation

Quick start

Requires Node.js 22 or later, Python 3.10 or later, and access to Codex Security.

npm install @openai/codex-security npx codex-security login npx codex-security scan .

For CI, set OPENAI_API_KEY instead of signing in.

TypeScript SDK

import { CodexSecurity } from "@openai/codex-security" ; const security = new CodexSecurity ( ) ; const result = await security . run ( "." ) ; console . log ( result . reportPath ) ; await security . close ( ) ;

For installation, authentication, scan options, and CI setup, see the official documentation.