光轨资源网 / 开源项目
openai/codex-security
OpenAI的Codex Security CLI和TypeScript SDK ,用于查找、验证和修复安全漏洞。npm : https://www.npmjs.com/package/ @ openai/codex security
可以做什么
Codex Security可帮助您查找、调查和修复代码中的漏洞。
怎么部署
Quick start
Requires Node.js 22.13.0+ within 22.x, or Node.js 24.x or 26.x, and Python 3.10+.
Python 3.10 also requires tomli.
Install the CLI globally and sign in:
npm install --global @openai/codex-security
cs login
Run your first scan from the repository directory:
cs scan .
When the scan completes, open the Markdown file at the REPORT path in the
terminal. Run cs scans show from the same repository to find its latest
completed scan again. See [scan scope and follow-up work](sdk/typescript/docs/cli.md#understand-scan-scope-and-follow-up-work)
for how to interpret exclusions in the report.
cs and codex-security run the same CLI. If the short name conflicts with
another command, use codex-security. To skip the global install, or if npm
reports an EEXIST conflict, use npx @openai/codex-security in place of
cs for both login and scanning.
For CI, set OPENAI_API_KEY or CODEX_API_KEY in the scan process's environment.
For a headless machine, see [device or SSH login](sdk/typescript/docs/cli.md#authentication).
Scan options
Choose a scope and scan mode:
## 项目信息
**项目地址**:https://github.com/openai/codex-security
**语言**:TypeScript
**Star 数**:11380(2026-11-11 采集)
## 原文简介(English)
OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security
本站资源用于学习与开发参考,请遵守对应授权协议。