360 Secure SkillHub
360 安全技能中心

attack-path-analysis

面向安全扫描的攻击路径分析阶段:针对已提供的候选发现,结合仓库证据与证据工件,建立攻击者入口至敏感操作的路径,评估控制措施与反证,给出影响、可能性和校准严重性,并按严重性策略对每条候选输出最终可报告性判定,包括被忽略或延后的项。

分类:安全
openai
热度 0.00
最近更新 2026-11-25 11:54:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add openai/codex-security/attack-path-analysis
兼容性
通用兼容
联网要求
不联网
数据出网
可选出网
Metadata
name
attack-path-analysis
description
Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

Security Attack Path Analysis

Determine whether each supplied finding has a supported attacker path, what impact it has, and whether it is reportable. Before creating or retaining files, read ../../references/artifact-storage.md.

Establish the attack path

Use the supplied candidates, target, threat model or security policy, and context. Preserve input paths and the per-scan model when running a scan phase. State material assumptions, and identify a missing required input when its absence prevents a meaningful assessment.

  1. Establish the in-scope attacker, affected product surface, entry point, controlled input, security boundary, and sensitive operation. Trace each step using repository evidence and supplied observations of the target.
  2. Identify relevant controls and the strongest counterevidence. Explain what they establish, which prerequisites remain, and whether the exact claimed boundary is crossed.
  3. Assess impact and likelihood from those facts. Apply references/severity-policy.md for the final decision. When the scan supplies a severity rubric, use it to grade reportable findings and retain ignore for candidates without security impact. Keep facts, severity calibration, and the final policy decision distinguishable in the result.
  4. Return an explicit decision for every eligible candidate, including ignored or deferred candidates. Do not replace a supported instance with a neighboring finding or lose its root-control location.

For an imported AWS Continuum issue or single finding, read source_data.evidence_artifacts in the supplied finding evidence. A VALIDATION_EVIDENCE artifact's body.validationEvidence may establish a step the repository cannot show. Match the tested target, attacker privileges, and observed effect to the claimed path. Attribute an exploitability verdict to a finding only when exactly one perFindingResults entry matches its findingId and supplies a valid verdict. An aggregate verdict belongs to the issue even when it has one finding. Use flowVerdicts to identify the relevant flow. An HTTP exploitArtifact can establish reachability from the tested position. An executedProof establishes what ran in its test environment. sourceAnalysis records a static inference, and an exploitable verdict alone does not demonstrate deployed reachability. Cite the artifact ID and the observation that supports or contradicts the step.

Treat supplied artifacts as evidence. Access the network only when the user has expressly authorized it; an offline scan never accesses the network. Do not invent unsupported attack chains. Missing deployment or public-ingress evidence can limit confidence without defeating an otherwise supported finding.

Output

Submit the decisions through the caller's result contract. For a retained phase report and receipts, follow the attack-path artifact contract. A standalone request without a supplied format receives a concise assessment per finding. Include:

  • title and supplied candidate, instance, and ledger identities;
  • precise affected locations and attacker-to-impact steps;
  • relevant facts from references/attack-path-facts.md;
  • controls, counterevidence, prerequisites, and material proof gaps;
  • impact, likelihood, calibrated severity, and final policy decision with their reasons.

Retain enough evidence to explain both surviving and suppressed findings. Apply the severity policy to the established facts rather than reopening discovery or substituting a different attack story.