finding-discovery
하는 일
이 스킬은 코드를 살펴 가능성 있는 보안 약점을 찾고, 그것을 후보 목록으로 정리합니다. 나중에 확인할 수 있는 첫 번째 단서 목록이 필요한 보안 팀을 위한 스킬입니다.
사용하는 경우
- ✓보안 스캔이 후보 문제가 필요한 발견 단계에 있을 때.
- ✓변경 사항에서 잠재적인 취약점을 찾고 싶을 때.
- ✓저장소의 의심되는 약점 목록을 근거와 함께 원할 때.
스킬 링크
https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 브랜치의 변경 사항에서 가능한 보안 약점을 살펴보고, 각 후보를 근거와 함께 나열해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 승인된 소스와 변경된 각 파일을 위협 모델과 프로젝트의 보안 지침에 비추어 검토합니다. 각 후보를 근거와 함께 기록하지만, 최종 심각도는 정하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Security Finding Discovery
Identify technically plausible security vulnerabilities in the authorized source, using the threat model and applicable security policy. Discovery preserves evidence for later validation; it does not decide final severity.
Read ../../references/artifact-storage.md before saving output and ../../references/security-guidance.md before source review. Resolve applicable policy for each reviewed path, including delegated assignments. Honor explicit input and output paths; ask for an explicitly required input only when its absence prevents the requested analysis.
Select the Workflow
Standard and Deep workers use their coordinator's self-contained prompts rather than this phase skill.
- Running compact diff: read the supplied inventory through
list_codex_security_review_items, review every assigned changed file, and record all candidates once withrecord_codex_security_discovery_candidates. Do not create ranked worklists, per-finding ledgers, receipts, or discovery reports. - Standalone diff without a compact inventory: use
../security-scan/references/scan-artifacts-and-ledger.mdfor the changed-file worklist and retained phase artifacts. - Standalone repository discovery: apply the evidence criteria below to the authorized source and return the candidates and coverage limitations. Do not start a scan or run the diff worklist pipeline.
For a diff, inspect the actual changed behavior, including deleted files at the baseline revision. Follow supporting code far enough to understand the affected boundary; expand to sibling callers when a changed shared control affects them. Do not broaden into an unrelated repository audit.
Evidence Criteria
- Trace attacker-controlled input or a privileged operation through the closest relevant control to the sink and security impact. Explain why the control is absent, bypassable, or applied to the wrong value or boundary.
- Check runtime reachability and deployment assumptions. Record effective guards and containment as counterevidence; a safe sibling implementation does not establish that the candidate path is safe.
- Preserve the root-control location as well as entrypoints, wrappers, concrete implementations, and sinks needed to understand the claim. When the claim covers several implementations, inspect those implementations rather than asserting that all are affected.
- Keep independently reachable vulnerable instances addressable. Merge duplicate observations of the same source/control/sink/impact instead of splitting cosmetic variants; retain all affected locations and original candidate IDs when merging.
- Follow explicit user or advisory seeds to their exact source and control. Record the evidence that supports, disproves, or leaves the seed unresolved; a nearby issue in the same family does not close it. Use only authorized source material and do not fetch advisory links without permission.
- Distinguish concrete security impact from maintainability or robustness concerns. A crash, dangerous API, optional feature, or missing check is a lead, not a finding by itself. Carry plausible candidates with explicit proof gaps to validation rather than inventing evidence or discarding them for lack of a runnable reproduction.
Divide independent review assignments among available workers when useful, with the target, scope, relevant policy/model, and required result fields. The parent reviews unassigned work and reconciles duplicates. Do not repeat validation or attack-path phases inside discovery.
Candidate Output
For each candidate, retain:
- Stable candidate ID and title; preserve supplied seed or ledger IDs and advisory references.
- Affected file/line locations, labeling
entrypoint/wrapper,root_control,sink, andconcrete_implementationwhere useful. - Attacker-controlled source, closest control, sink or broken control, plausible impact, and the source evidence connecting them.
- Counterevidence, deployment preconditions, unresolved questions, and what validation needs to establish.
- CWE IDs when known, otherwise an empty list.
- For repository or scoped-path instances, an instance key
<family>:<file>:<line>when required by the caller. - For diff findings,
relevant_linesonly where relevant buggy behavior overlaps the diff.
Use the caller's structured candidate contract. For a legacy diff, save the discovery report and discovery receipts at the paths in ../../references/scan-artifacts.md; subsequent
자주 묻는 질문
발견 단계가 실제 문제를 결정하나요?
아닙니다. 발견 단계는 근거와 함께 후보만 모으며, 나중의 검증 단계가 심각도를 정합니다.
어떤 지침을 따르나요?
검토하는 각 경로에 프로젝트의 보안 정책을 적용하며, 중첩된 지침 파일도 포함합니다.
저장소 전체를 다루나요?
주어진 소스를 다루며, 검토하지 못한 범위가 있으면 그것도 보고해 빈틈이 보이도록 합니다.
상세 정보
작성자의 원본 설명
Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover candidate security findings in a repository or code change. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.
repo: openai/codex-security
인기도
- GitHub 스타
- 11k
- 순위
- #11751
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
assess-patch-risk
11k에이전트가 병합 전에 코드 패치가 무엇에 영향을 주는지, 어떤 테스트가 이를 다루는지, 되돌릴 수 있는지 살펴 위험도를 판단하도록 돕습니다.
attack-path-analysis
11k에이전트가 보안 발견 사항을 진입점에서 목표까지 추적해, 실제 영향과 보고 대상인지 판단하도록 돕습니다.
cloud-findings
11k에이전트가 연결된 계정에서 기존 Codex Security Cloud 발견 사항, 보고서, 스캔 상태를 아무것도 바꾸지 않고 읽도록 돕습니다.
deep-security-scan
11k에이전트가 독립적인 검사를 반복하고 검증된 발견 사항을 합쳐, 저장소나 폴더의 여러 차례에 걸친 철저한 보안 스캔을 실행하도록 돕습니다.