Codex Use Case

运行深度安全扫描

在授权代码库中深入搜索可信的安全漏洞线索。 本页把官方 use case 的章节、工具、起步提示词和检查点整理成中文执行流程,便于直接对照落地。

Engineering Quality
Run a deep security scan EngineeringQuality

场景定位

在授权代码库中深入搜索可信的安全漏洞线索。 本页把官方 use case 的章节、工具、起步提示词和检查点整理成中文执行流程,便于直接对照落地。

难度
高级
时间跨度
约 15-30 分钟

适合用于

  • 需要把「在授权代码库中深入搜索可信的安全漏洞线索。」做成可复用流程的团队,且来源分散在 Codex Security:deep Security Scan 等工具中
  • 希望 ChatGPT 或 Codex 保留来源、检查点和可审阅输出的使用者
  • 需要把「运行深度安全扫描」从一次性对话变成可复查工作流的场景

Skills & Plugins

相关工具

Starter Prompt

起步提示词

Use $codex-security:deep-security-scan to run a deep security scan on [this repository / absolute path to a scoped folder].

Scope and rules:
- I am authorized to assess this repository.
- Keep the scan within [the entire repository / the exact folder named above].
- Use the Codex Security plugin's deep-scan workflow; do not reinterpret this as a pull request or diff review.

Return the scan directory and report.md path. Summarize the findings, reviewed surfaces, structural hardening guidance, and proof gaps that require human review first.
在 ChatGPT 中尝试

选择 a deep repository 审查

这一部分用于审查「运行深度安全扫描」的结果:把来源、假设、输出和下一步动作逐项核对,避免只得到一个看似完成但无法验证的草稿。

操作要点:先把本节需要的来源材料、权限和上下文补齐,并关注 Codex 等相关来源或工具;缺失内容要明确标记,不要让 ChatGPT 或 Codex 隐式猜测。

操作要点:在继续执行前检查来源、假设、受众、权限和输出质量;不确定内容应进入待确认列表。

准备 an authorized scan

准备阶段的重点是把上下文收齐:来源、权限、数据口径、相关讨论和现有文件都应放在同一条可审计路径里。

审查 evidence before remediation

这一部分用于审查「运行深度安全扫描」的结果:把来源、假设、输出和下一步动作逐项核对,避免只得到一个看似完成但无法验证的草稿。

操作要点:运行最小可信验证并保存证据,并关注 Codex 等相关来源或工具,让后续审查能看到命令、结果和失败处理方式。

操作要点:在继续执行前检查来源、假设、受众、权限和输出质量;不确定内容应进入待确认列表。

操作要点:运行最小可信验证并保存证据,让后续审查能看到命令、结果和失败处理方式。

Prompt Library

建议提示词

先界定范围

For Run a deep security scan, first inspect the available sources and propose the smallest useful scope. Name the inputs, outputs, validation steps, permissions, and anything that needs approval before action.

交付前复核

Review the result for Run a deep security scan. Check source coverage, assumptions, unresolved questions, and the evidence that proves the output is ready to use.