본문으로 건너뛰기
Skillpedia
보안8.0k · #12732

trailmark-finding-triage

하는 일

스캐너 결과나 직접 찾은 의심스러운 함수처럼 보안 문제 후보 하나를 가져와, 도달 가능성에 대한 증거 요약을 만듭니다. 무엇을 먼저 다룰지 정하는 보안 검토자를 위한 것입니다.

사용하는 경우

  • ✓스캐너가 높은 심각도 문제를 보고했고, 그것이 실제로 도달 가능한지 알고 싶을 때.
  • ✓직접 의심스러운 함수를 찾았고 증명용 예제(PoC)를 쓰기 전에 증거가 필요할 때.
  • ✓한 문제의 우선순위를 낮출지, 높일지, 더 큰 체인의 일부로 볼지 정해야 하는 경우.

스킬 링크

https://github.com/trailofbits/skills/blob/main/plugins/trailmark/skills/trailmark-finding-triage/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/trailofbits/skills/blob/main/plugins/trailmark/skills/trailmark-finding-triage/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분.

작동 방식

이 스킬은 문제 주변의 코드 그래프를 매핑하며, 호출자, 진입점, 데이터 흐름을 살핍니다. 그다음 주장을 뒷받침하거나 약화하는 것과 아직 수동 확인이 필요한 것을 나열합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Trailmark Finding Triage

Build a concise graph evidence packet for one candidate finding. This skill answers whether the affected code is reachable, what graph evidence supports or weakens the claim, and what manual review is still required before calling the issue exploitable.

When to Use

  • Triage one static-analysis result before spending PoC time
  • Check whether a manual finding is entrypoint-reachable
  • Build an evidence packet for PoC work
  • Review a single suspicious function discovered during manual audit
  • Decide whether one issue should be promoted, deprioritized, or treated as part of a broader chain analysis

When NOT to Use

  • Multiple weak findings might compose into a stronger chain. Use a chain or composition workflow instead.
  • The user wants a full audit. Use an audit or design-review workflow instead.
  • The user wants remediation verification for a known finding. Use a remediation-review workflow instead.
  • The target is a PR or branch diff. Use graph-evolution plus a differential review workflow.
  • No concrete finding, function, file/line, or suspicious sink exists yet. Use discovery skills first.

Rationalizations to Reject

Rationalization Why It Is Wrong Required Action
"The scanner says high severity, so reachability is obvious" Static findings need graph and code context before promotion Bind the finding to a graph node and check entrypoint paths
"No entrypoint path means impossible" It may mean parser, proxy, or dynamic dispatch limitations Report the limitation separately from reachability
"An auth check appears on the path, so the issue is safe" The check may enforce the wrong predicate or be bypassed by another path Treat validation/auth as review targets, not proof
"One reachable path is enough for a PoC claim" The path still needs attacker-controlled inputs and compatible preconditions Separate graph reachability from exploitability
"This is probably a chain" Single-finding triage stops at one candidate Hand off related findings to a composition workflow

Workflow

Finding Triage Progress:
- [ ] Step 1: Normalize the candidate
- [ ] Step 2: Build or reuse the Trailmark graph
- [ ] Step 3: Bind the candidate to graph node(s)
- [ ] Step 4: Analyze reachability, taint, boundaries, and blast radius
- [ ] Step 5: Decide and emit the evidence packet

Step 1: Normalize the Candidate

Accept file/line, function name, SARIF result, weAudit annotation, Markdown finding excerpt, or a manual claim. Normalize it to:

  • title
  • source type
  • file path and line range if present
  • function or node hint
  • suspected source, sink, or asset
  • claimed impact

If there is no concrete code anchor, stop and ask for one.

For input handling details, see references/input-normalization.md.

Shortcut for Steps 2–4 (file/line findings)

For file/line anchors, run the bundled script. It builds the graph and preanalysis once, binds every finding, and prints the Graph Evidence fields as JSON: all matching nodes and the primary one (the node containing the first line, then the narrowest), entrypoint paths with each entrypoint's trust level, tainted / entrypoint_reachable / privilege_boundary / high_blast_radius membership, callers, callees, downstream nodes, and the Trailmark version. Pass several findings in one call rather than rebuilding the graph per finding.

uv run --no-project "{baseDir}/scripts/evidence_packet.py" --target <dir> --finding <file>:<line>[-<end>] --out evidence.json [--finding ...] [--language auto]

With --out, the complete packet stays on disk and stdout contains only delivery counts. Read relevant finding records from that file. Without --out, stdout is the full packet. Relative anchors may be target- or working-directory-relative; ambiguous existing paths are rejected. Choose --path-base target or cwd, or use an absolute path. Lines must be positive and ordered; column syntax is not supported. Containers cover module/class/contract declarations when no callable overlaps. Inspect binding (exact, nested or ambiguous), binding_kind, all matches, unavailable signals and parser diagnostic limitations before judging the result. A zero-node graph is a failure. Batching shares graph work only: write a separate human verdict for each finding.

A finding that binds to nothing comes back with bound_node: null and the reason. The s

자주 묻는 질문

공격이 가능한지 확인해 주나요?

아니요. 그래프 증거를 모으며, 악용 가능하다고 말하기 전에 수동 검토가 여전히 필요하다고 설명합니다.

작은 문제 여러 개가 합쳐져 하나가 되면 어떻게 하나요?

이 스킬은 한 번에 발견 사항 하나를 다룹니다. 결합된 체인에는 다른 워크플로가 필요하다고 설명합니다.

Trailmark 도구가 필요한가요?

네. 코드 그래프를 만들기 위해 Trailmark에 의존합니다.

상세 정보

작성자의 원본 설명

Performs graph-assisted triage of a single security finding, SARIF result, weAudit annotation, suspicious function, or report excerpt using Trailmark reachability, entrypoint paths, taint, privilege-boundary, blast-radius, caller/callee, and neighborhood evidence. Use when deciding whether one candidate issue is reachable, prioritizing a finding before PoC work, preparing evidence for exploit validation, or checking whether a static-analysis result is actionable.

repo: trailofbits/skills

인기도

GitHub 스타
8.0k
순위
#12732
라이선스
CC-BY-SA-4.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬