Langsung ke konten
Skillpedia
Keamanan8.0k · #12732

trailmark-finding-triage

Fungsinya

Skill ini mengambil satu isu keamanan yang dicurigai, seperti hasil pemindai atau fungsi mencurigakan, lalu membangun ringkasan bukti tentang apakah isu itu bisa dijangkau. Skill ini untuk peninjau keamanan yang memutuskan apa yang dikerjakan lebih dulu.

Kapan dipakai

  • ✓Saat pemindai melaporkan isu tingkat keparahan tinggi dan Anda ingin tahu apakah isu itu benar-benar bisa dijangkau.
  • ✓Saat Anda menemukan fungsi mencurigakan secara manual dan membutuhkan bukti sebelum menulis proof of concept.
  • ✓Saat Anda perlu memutuskan apakah satu isu harus diprioritaskan, diturunkan prioritasnya, atau diperlakukan sebagai bagian dari rantai yang lebih besar.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/trailofbits/skills/blob/main/plugins/trailmark/skills/trailmark-finding-triage/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Bisakah Anda memeriksa apakah peringatan tentang input pengguna di kode login saya ini benar-benar bisa dijangkau pengguna luar?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini memetakan graf kode di sekitar isu, dengan melihat pemanggil, titik masuk, dan aliran data. Setelah itu skill ini mencantumkan apa yang mendukung atau melemahkan klaim tersebut dan apa yang masih perlu diperiksa secara manual.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah skill ini memastikan bahwa bug bisa dieksploitasi?

Tidak. Skill ini mengumpulkan bukti graf, dan skill ini menyatakan tinjauan manual tetap diperlukan sebelum menyebut isu sebagai dapat dieksploitasi.

Bagaimana jika beberapa isu kecil bergabung menjadi satu masalah?

Skill ini bekerja pada satu temuan dalam satu waktu. Skill ini mencatat bahwa rantai gabungan membutuhkan alur kerja yang berbeda.

Apakah perlu alat Trailmark?

Ya. Skill ini bergantung pada Trailmark untuk membangun graf kode.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
8.0k
Peringkat
#12732
Lisensi
CC-BY-SA-4.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa