11,542
Stars
0
Forks
0
Watchers
0
Open Issues
未知
许可证
TypeScript
语言
创建时间
最近更新
项目能做什么
OpenAI 官方推出的安全 CLI 与 TypeScript SDK,用于发现、验证和修复安全漏洞。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Codex Security Codex Security helps you find, investigate, and fix vulnerabilities in your code. Use its security workflows in Codex, or automate them with the `@openai/codex-security` CLI and TypeScript SDK. - **In Codex:** [choose a security workflow](docs/agent-workflows.md). - **In a terminal:** [install the CLI and scan your repository](#quick-start). - **In automation:** use the [TypeScript SDK](#typescript-sdk) or [GitHub Action](#github-actions). ## Features - Scan repositories, selected paths, or Git changes. Deep scans repeat Standard scans and return their deduplicated findings. - Validate candidate findings, generate patches, and verify existing fixes. - Draft `SECURITY.md` policies and save threat models for later review. - Browse saved scans and findings, identify duplicates, assess severity against your own rubric, and suggest owners from source and Git history. - Preview third-party scanner findings, save them locally, or publish supported reports to Codex Security Cloud. [Scanner import guides](docs/scanner-imports/README.md). - Track findings in Linear, Jira, or GitHub, publish completed scans, or export SARIF, JSON, and CSV. [Integration workflows](docs/plugin-connectors.md). - Automate scans across repositories or project components, including in CI and containers. ## Use in Codex Open your repository in a Codex session with the Codex Security plugin enabled, then ask: > Run a Codex Security scan on this repository, focusing on authentication and > authorization. Return the saved report, source evidence, and coverage limits. A completed scan saves a report and findings. Read the report for source evidence and exclusions, then request a patch or ask Codex to verify an existing fix. See the [agent workflow guide](docs/agent-workflows.md) for setup, task selection, and recovery. ## 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: ```bash npm install --global @openai/codex-security cs login ``` Run your first scan from the repository directory: ```bash 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: ```bash # Scan selected阅读完整原文
商业机会分析 AI 生成
企业级 DevSecOps 自动修复与合规闭环平台
| 产品构想 | 基于该CLI与SDK,封装连接企业内部CI/CD(GitLab/GitHub/Jenkins)的中间服务,自动对PR/MR运行扫描、评估严重性、生成修复PR并同步至Jira/Linear进行闭环跟踪。 |
| 核心功能 | CI/CD无缝门禁拦截;自动生成安全修复Pull Request;结合Jira/Linear的双向漏洞生命周期同步;企业自定义严重级别判定策略引擎;SARIF/CSV合规报表自动化导出 |
| 目标用户 | 中大型科技企业安全部门、DevSecOps团队 |
| 难度/周期 | 高 · 3-6个月 · 成本:中等(API token调用成本、多环境测试与CI插件维护成本) |
| 收费模式 | B2B SaaS订阅费(按活跃仓库数或席位付费)、私有化部署年费及服务支持费 |
| 竞争风险 | OpenAI自身可能会推出Codex Security Cloud的完整闭环方案导致竞争挤压;代码外发扫描涉及企业数据隐私合规限制 |
| 依据 | 已验证事实 |
第三方安全扫描器聚合与智能降噪网关
| 产品构想 | 利用其'Preview third-party scanner findings'功能与Codex分析能力,将传统扫描器(如Snyk、Semgrep、Trivy)的告警进行二次上下文去重与AI验证,剔除误报并提供修复补丁。 |
| 核心功能 | 第三方扫描器结果多源导入与统一视图;基于Codex的代码上下文验证与误报过滤;自动建议责任人(根据Git历史);导出过滤后的精简高置信度报告 |
| 目标用户 | 受困于大量安全误报工单的中小软件开发团队、AppSec安全工程师 |
| 难度/周期 | 中等 · 2-3个月 · 成本:低至中等(主要为模型API消耗成本及数据解析服务) |
| 收费模式 | 按扫描量/代码行数阶梯计费的SaaS插件,或混合模式收费(免费导入,按AI降噪/补丁生成次数收费) |
| 竞争风险 | 传统安全大厂可能快速在自研产品中内置大模型去重能力;需要对多种扫描器格式保持长期适配 |
| 依据 | 已验证事实 |
自动化合规治理与 SECURITY.md / 威胁建模咨询服务工具箱
| 产品构想 | 结合该工具的SECURITY.md起草与威胁建模保存能力,提供专为开源项目或外包交付团队打造的代码上线前安全合规套件与代运营报告生成服务。 |
| 核心功能 | 一键生成合规级SECURITY.md与威胁模型说明文档;自动化生成客户交付级安全审计报告;自动化批量扫描仓库并生成修复清单 |
| 目标用户 | 开源项目作者、中小型IT外包服务商、准备通过安全合规认证(如SOC2/ISO27001)的初创企业 |
| 难度/周期 | 低至中等 · 1-2个月 · 成本:低 |
| 收费模式 | 按单次审计报告收费(咨询式包装),或针对外包团队的月度白标SaaS订阅 |
| 竞争风险 | 单次付费复购率低;单纯文档生成壁垒较低易被直接使用原生CLI替代 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| affaan-m/ECC | 中文介绍暂未生成 The agent harness performance optimization system. Skills, i |
301,200 | JavaScript |
| mukul975/Anthropic-Cybersecurity-Skills | 中文介绍暂未生成 817 structured cybersecurity skills for AI agents · Mapped t |
35,920 | Python |
| NVIDIA/SkillSpector | 中文介绍暂未生成 Security scanner for AI agent skills. Detect vulnerabilities |
25,391 | Python |
| Dicklesworthstone/destructive_command_guard | 中文介绍暂未生成 A fast Rust safety hook that blocks destructive shell, git, |
6,344 | Rust |
| zhuyansen/awesome-claude-video-skills | 中文介绍暂未生成 Open-source skills and toolkits that let Claude Code, Codex |
1,913 | - |
| dagoSte/squadra | 中文介绍暂未生成 Coordinate Claude, Codex and Cursor windows with shared task |
1,274 | Python |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 ,最近推送 ,发布过 53 个 Release |
| 社区活跃 | Star 11,542 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/openai/codex-security.git cd codex-security # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。