Agent Skills › openai/codex-security › deep-security-scan

deep-security-scan

GitHub

执行仓库或路径的深度、多轮安全审计。协调多个标准扫描任务,聚合发现结果,处理并发冲突与策略拒绝,并生成最终报告。

plugins/codex-security/skills/deep-security-scan/SKILL.md openai/codex-security

Trigger Scenarios

用户请求深度或全面的安全审计 需要多次迭代的安全检查

Install

npx skills add openai/codex-security --skill deep-security-scan -g -y
More Options

Non-standard path

npx skills add https://github.com/openai/codex-security/tree/main/plugins/codex-security/skills/deep-security-scan -g -y

Use without installing

npx skills use openai/codex-security@deep-security-scan

指定 Agent (Claude Code)

npx skills add openai/codex-security --skill deep-security-scan -a claude-code -g -y

安装 repo 全部 skill

npx skills add openai/codex-security --all -g -y

预览 repo 内 skill

npx skills add openai/codex-security --list

SKILL.md

Frontmatter
{
    "name": "deep-security-scan",
    "description": "Run repeated Standard security scans of a repository or scoped path when the user requests a deep, exhaustive, or multi-pass audit. For changes to a PR, commit, branch or working tree, use security-diff-scan."
}

Deep Security Scan

The host runs Standard audits and merges their findings. Workers in the same scan can exchange investigation leads and verify each other’s evidence. Later passes receive the titles and locations already reported. The host stops when consecutive audits add nothing new or the configured scan or time limit is reached. Its final report includes every accepted audit.

  1. Resolve the authorized target and scope. For a scoped directory use that directory as targetPath and scope: ".". For a continuation, call get_codex_security_scan_context with its scanId and supplied handoffClaimToken. Use its saved identity and scope. If its mode is Standard or diff, continue with the corresponding scan skill. Follow ../../references/scan-prologue.md for source access and context updates.
  2. For a new target, call inspect_codex_security_setup({ targetPath, scope: ".", mode: "deep", projectConfigPath? }). Show the effective settings and their sources. max_discovery_runs caps the total number of Standard scans, including when several run together. Pass a project file only when the user selected it. Existing scans use their saved configuration.
  3. For a newly launched native scan with a supplied scan ID, inspect otherRunningDeepScans in the result of get_codex_security_scan_context once. Target-based setup previews have no scan ID. If another Deep scan is active, show its target, phase and human-friendly start time. Explain the additional CPU, memory and token use. Offer Cancel (Recommended) and Continue using request_user_input, then request_codex_security_user_input or plain chat if unavailable. Wait for an explicit choice. A dismissed dialog is not a cancellation. Cancel only the new scan if requested.
  4. Follow ../../references/access-advisory.md, then call start_codex_security_deep_scan({ scanId, handoffClaimToken? }) for an existing scan or start_codex_security_deep_scan({ targetPath, scope: ".", userContext?, projectConfigPath? }) for a new target. Reuse the project file selected at setup. Await the tool. If the tool runner returns a running cell ID, wait on that cell until it returns the scan result. If the connection closes, rejoin with the same arguments. Report a terminal failure with its saved results. For a policy refusal, identify the worker from its saved error when available. On explicit cancellation call cancel_codex_security_scan({ scanId }) from the owning thread.
  5. For an SDK-owned scan, return the host's scan ID and manifest path so the SDK can finalize it. When the tool returns completion, link its generated report.md and canonical artifacts. Use completion.scan.usage and any separate cost estimate to report usage per ../../references/final-report.md. Distinguish a completed audit with zero findings from a deadline reached before any audit completed.

Version History

  • 794edbe Current 2026-11-07 12:24

    修复了不同威胁模型的保留问题,使用主要修复站点;优化已完成审计的报告与批量整合逻辑;修正因完整拒绝消息识别不全导致的重试错误。

  • aeee7f2 2026-11-02 11:11

    修复了扫描最终化时的结果保留、项目预算遵循及断线恢复问题;简化了技能指令并优化了不完整扫描状态的展示。

  • f8aeff2 2026-10-18 18:41

    修复Codex Security扫描中报告的Token总数不足问题,恢复从扫描工作区尝试中回收用量统计,并同步自定义验证与报告指令。

  • 8c78e65 2026-09-27 12:48

    修复插件结构化输出中保留深度扫描指南的问题

  • 86f6afc 2026-09-22 01:59

    修复了不可用的 Daybreak 建议保持静默的问题

  • 788b0bb 2026-09-11 17:50

    新增对扫描过程中用户上下文(userContext)的动态更新机制,允许在扫描运行时修改上下文参数,并明确处理URL访问权限与上下文传递规则。

  • 746fb84 2026-09-08 20:14

    修复深度扫描发布逻辑,使其依赖于协调器完成而非模型生成的工作节点覆盖率,确保在扫描中断时保留部分结果。

  • 69c5003 2026-09-02 22:22

Same Skill Collection

evals/check-skills/fixtures/editorial-guide/SKILL.md
evals/check-skills/fixtures/style-guide/SKILL.md
evals/check-skills/fixtures/word-list/SKILL.md
plugins/codex-security/skills/assess-patch-risk/SKILL.md
plugins/codex-security/skills/attack-path-analysis/SKILL.md
plugins/codex-security/skills/check-skills/SKILL.md
plugins/codex-security/skills/cloud-findings/SKILL.md
plugins/codex-security/skills/define-security-policy/SKILL.md
plugins/codex-security/skills/finding-discovery/SKILL.md
plugins/codex-security/skills/fix-finding/SKILL.md
plugins/codex-security/skills/propose-security-hardening/SKILL.md
plugins/codex-security/skills/publish-findings/SKILL.md
plugins/codex-security/skills/resolve-dependency-alert/SKILL.md
plugins/codex-security/skills/security-diff-scan/SKILL.md
plugins/codex-security/skills/security-scan/SKILL.md
plugins/codex-security/skills/threat-model-visualize/SKILL.md
plugins/codex-security/skills/threat-model/SKILL.md
plugins/codex-security/skills/track-findings/SKILL.md
plugins/codex-security/skills/triage-finding/SKILL.md
plugins/codex-security/skills/validation/SKILL.md
plugins/codex-security/skills/verify-fix/SKILL.md
plugins/codex-security/skills/vulnerability-writeup/SKILL.md
sdk/typescript/_bundled_plugin/skills/assess-patch-risk/SKILL.md
sdk/typescript/_bundled_plugin/skills/attack-path-analysis/SKILL.md
sdk/typescript/_bundled_plugin/skills/deep-security-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/define-security-policy/SKILL.md
sdk/typescript/_bundled_plugin/skills/finding-discovery/SKILL.md
sdk/typescript/_bundled_plugin/skills/fix-finding/SKILL.md
sdk/typescript/_bundled_plugin/skills/security-diff-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/security-scan/SKILL.md
sdk/typescript/_bundled_plugin/skills/threat-model/SKILL.md
sdk/typescript/_bundled_plugin/skills/track-findings/SKILL.md
sdk/typescript/_bundled_plugin/skills/triage-finding/SKILL.md
sdk/typescript/_bundled_plugin/skills/validation/SKILL.md
sdk/typescript/_bundled_plugin/skills/verify-fix/SKILL.md
sdk/typescript/_bundled_plugin/skills/vulnerability-writeup/SKILL.md
sdk/typescript/_bundled_plugin/skills/propose-security-hardening/SKILL.md
evals/check-skills/fixtures/status-summary/SKILL.md

Metadata

Files
0
Version
794edbe
Hash
1d832823
Indexed
2026-09-02 22:22

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-08 05:57
浙ICP备14020137号-1