attack-path-analysis
하는 일
이 스킬은 의심되는 보안 문제에 실제 공격 경로가 있는지, 그리고 얼마나 심각한지 확인합니다. 실제 위험과 잘못된 경보를 구분하려는 보안 검토자를 위한 스킬입니다.
사용하는 경우
- ✓보안 스캔이 문제를 표시했고, 그것이 실제인지 알아야 할 때.
- ✓공격자가 통제하는 지점에서 민감한 동작까지 발견 사항을 추적하고 싶을 때.
- ✓발견 사항을 보고할지에 대한 명확한 결정이 필요할 때.
스킬 링크
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/attack-path-analysis/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“로그인 폼에서 데이터베이스까지 이 SQL 인젝션 발견 사항을 추적하고, 보고해야 하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 코드의 근거를 사용해 공격자, 진입점, 보안 경계, 민감한 작업을 매핑합니다. 기존 보호 장치를 고려하고, 영향을 평가한 뒤 각 발견 사항에 대한 명확한 결정을 내립니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
For a scan phase, use its per-scan threat model and candidate set from ../../references/scan-artifacts.md. Preserve supplied input paths. If a required scan artifact is unavailable, report the missing input.
For standalone analysis, use the supplied finding, repository, threat model or security policy, and context. A per-scan artifact is not required. State material assumptions and ask for missing context only when it prevents a meaningful assessment.
- Establish the in-scope attacker, affected product surface, entry point, controlled input, security boundary, and sensitive operation. Trace the path from repository evidence.
- Identify relevant controls and the strongest counterevidence. Explain what they establish, which prerequisites remain, and whether the exact claimed boundary is crossed.
- Assess impact and likelihood from those facts, then apply references/severity-policy.md. Keep facts, severity calibration, and the final policy decision distinguishable in the result.
- 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.
Use repository evidence and explicitly supplied context. 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.
Scan integration
Standard scans and Deep Scan workers assess attack paths within their ordinary Standard scan workflow; neither invokes this separate phase skill.
Compact Workbench Diff
When a workbench-backed $security-diff-scan has a scanId:
- Load the per-scan threat model and all validated candidates with
list_codex_security_candidates({ scanId, cursor?, limit? }). - Analyze every
reportableordeferredvalidation candidate. Preserve candidate identity and existing discovery and validation fields. - Submit every decision together with
record_candidate_attack_paths({ scanId, attackPaths: [{ candidateId, attackPath }] }). SubmitattackPaths: []when no candidate enters this phase. The tool preserves the stored candidate order. - These nested decisions are the complete phase output. Do not create duplicate reports, receipts, or manual ledgers.
Other phase-based scans
Use the active workflow's report and receipt paths in ../../references/scan-artifacts.md. Every candidate entering this phase must have an explicit decision and a receipt with its ID, facts or exact proof gap, and report reference. Record ignored candidates before excluding them from the surviving finding set.
For repository-wide or scoped-path scans, include validation closure rows marked reportable or survives: yes, even if discovery did not assign a polished finding number. Preserve affected entrypoint/wrapper, root-control, sink, and concrete-implementation locations supplied by validation.
Output
For standalone analysis, follow the caller's format or return a concise assessment per finding. Scan phases use their output contract above. 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.
자주 묻는 질문
발견 사항 자체만 보나요?
아닙니다. 공격 경로를 막을 수 있는 통제 장치와 반대 증거도 찾습니다.
모든 후보가 결정을 받나요?
네. 무시되거나 보류된 것을 포함해 적격한 각 후보가 명시적인 결정을 받습니다.
먼저 전체 스캔이 필요한가요?
아닙니다. 단일 발견 사항과 저장소 맥락으로도 작동하지만, 스캔 결과물이 있으면 그것도 사용합니다.
상세 정보
작성자의 원본 설명
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.
repo: openai/codex-security
인기도
- GitHub 스타
- 11k
- 순위
- #11747
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
assess-patch-risk
11k에이전트가 병합 전에 코드 패치가 무엇에 영향을 주는지, 어떤 테스트가 이를 다루는지, 되돌릴 수 있는지 살펴 위험도를 판단하도록 돕습니다.
cloud-findings
11k에이전트가 연결된 계정에서 기존 Codex Security Cloud 발견 사항, 보고서, 스캔 상태를 아무것도 바꾸지 않고 읽도록 돕습니다.
deep-security-scan
11k에이전트가 독립적인 검사를 반복하고 검증된 발견 사항을 합쳐, 저장소나 폴더의 여러 차례에 걸친 철저한 보안 스캔을 실행하도록 돕습니다.
define-security-policy
11k에이전트가 보안 검토가 무엇에 중점을 둘지, 무엇이 범위 밖인지, 무엇이 안전하게 유지되어야 하는지를 설명하는 SECURITY.md 안내서를 작성하거나 업데이트하도록 돕습니다.