본문으로 건너뛰기
Skillpedia
보안11k · #11751

finding-discovery

하는 일

이 스킬은 코드를 살펴 가능성 있는 보안 약점을 찾고, 그것을 후보 목록으로 정리합니다. 나중에 확인할 수 있는 첫 번째 단서 목록이 필요한 보안 팀을 위한 스킬입니다.

사용하는 경우

  • ✓보안 스캔이 후보 문제가 필요한 발견 단계에 있을 때.
  • ✓변경 사항에서 잠재적인 취약점을 찾고 싶을 때.
  • ✓저장소의 의심되는 약점 목록을 근거와 함께 원할 때.

스킬 링크

https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openai/codex-security/blob/main/plugins/codex-security/skills/finding-discovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 with record_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.md for 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, and concrete_implementation where 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_lines only 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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬