SKILL·F7F44A

trailmark-finding-triage

trailofbits
Aktualisiert 1 month ago
4 Ansichten
6,924
597
6,924
Auf GitHub ansehen
Testenai

Über

Diese Fähigkeit führt eine graphengestützte Sicherheitspriorisierung für einen einzelnen Fund durch, um zu bestimmen, ob verwundbarer Code erreichbar und ausnutzbar ist. Sie analysiert Belege wie Einstiegspunkt-Pfade, Datenflussanalyse und die Auswirkungsreichweite, um Probleme vor Proof-of-Concept-Arbeiten zu priorisieren. Nutzen Sie sie, um Ergebnisse statischer Analyse zu validieren oder Exploit-Nachweise vorzubereiten, indem Sie ein präzises Graphen-Belegpaket erstellen.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add trailofbits/skills -a claude-code
Plugin-BefehlAlternativ
/plugin add https://github.com/trailofbits/skills
Git CloneAlternativ
git clone https://github.com/trailofbits/skills.git ~/.claude/skills/trailmark-finding-triage

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

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

RationalizationWhy It Is WrongRequired Action
"The scanner says high severity, so reachability is obvious"Static findings need graph and code context before promotionBind the finding to a graph node and check entrypoint paths
"No entrypoint path means impossible"It may mean parser, proxy, or dynamic dispatch limitationsReport 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 pathTreat 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 preconditionsSeparate graph reachability from exploitability
"This is probably a chain"Single-finding triage stops at one candidateHand 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.

Step 2: Build Or Reuse The Graph

Use the public trailmark skill workflow. Prefer an existing fresh exported graph or .trailmark/ artifact when present. Otherwise build a graph with language="auto" or the target's explicit language list, then run engine.preanalysis().

Record the Trailmark version or feature probes used. Feature-gate Trailmark 0.4-only APIs with hasattr() or CLI help checks.

Step 3: Bind The Candidate

Bind by file and line overlap first, then function name plus file. If several nodes match, list every candidate and select the narrowest enclosing node as primary. If no node matches, report a binding limitation instead of guessing.

SARIF and weAudit users should reuse the audit-augmentation workflow for matching and then inspect the annotated node.

Step 4: Analyze Graph Evidence

Run the query recipe in references/query-recipes.md:

  • entrypoint paths to the bound node
  • trust level of each path when available
  • membership in tainted, privilege_boundary, and high_blast_radius subgraphs
  • direct callers and callees
  • high-impact downstream sinks
  • sibling or nearby nodes worth manual review

Do not treat graph reachability as proof of exploitability.

Step 5: Decide And Handoff

Produce one verdict:

VerdictMeaning
PromoteGraph evidence supports reachability and plausible impact
Needs manual reviewEvidence is suggestive but not decisive
DeprioritizeNo reachable path or only trusted/internal paths found
BlockedBinding or Trailmark analysis failed

Write the evidence packet using references/output-format.md.

Hand off promoted PoC-worthy issues to the user's PoC workflow. Hand off related findings to a composition workflow. Hand off repeatable root causes to trailmark-variant-neighborhood, variant-analysis, or a custom Semgrep/CodeQL rule workflow.

Example Prompts

  • "Use Trailmark finding triage on src/Vault.sol:148; I think withdraw can bypass the balance update."
  • "Triage this SARIF result before I spend PoC time: semgrep:error unchecked-transfer in contracts/Bridge.sol line 91."
  • "This report excerpt claims parse_packet is attacker reachable. Build the Trailmark evidence packet and tell me what is still missing."

GitHub Repository

trailofbits/skills
Pfad: plugins/trailmark/skills/trailmark-finding-triage
0
agent-skills
FAQ

Häufig gestellte Fragen

Was ist der Skill trailmark-finding-triage?

trailmark-finding-triage ist ein Claude Skill von trailofbits. Skills bündeln Anweisungen und Ressourcen, die Claude bei Bedarf lädt, um Aufgaben rund um trailmark-finding-triage ohne zusätzliche Eingaben auszuführen.

Wie installiere ich trailmark-finding-triage?

Verwende die Installationsbefehle auf dieser Seite: Füge trailmark-finding-triage als Plugin zu Claude Code hinzu oder klone das Repository in dein Skills-Verzeichnis. Starte Claude danach neu, damit der Skill geladen wird.

Zu welcher Kategorie gehört trailmark-finding-triage?

trailmark-finding-triage gehört zur Kategorie Testen.

Kann ich trailmark-finding-triage kostenlos nutzen?

Ja. trailmark-finding-triage ist auf AIMCP gelistet und kann kostenlos installiert werden.

Verwandte Skills

evaluating-llms-harness
Testen

Diese Claude Skill führt den lm-evaluation-harness aus, um LLMs über 60+ standardisierte akademische Aufgaben wie MMLU und GSM8K zu benchmarken. Sie wurde für Entwickler entwickelt, um Modellqualität zu vergleichen, Trainingsfortschritt zu verfolgen oder akademische Ergebnisse zu berichten. Das Tool unterstützt verschiedene Backends, einschließlich HuggingFace- und vLLM-Modelle.

Skill ansehen
cloudflare-cron-triggers
Testen

Diese Fähigkeit bietet umfassendes Wissen zur Implementierung von Cloudflare Cron Triggers, um Workers mithilfe von Cron-Ausdrücken zu planen. Sie behandelt das Einrichten periodischer Aufgaben, Wartungsjobs und automatisierter Workflows, während häufige Probleme wie ungültige Cron-Ausdrücke und Zeitzonenprobleme behandelt werden. Entwickler können sie zum Konfigurieren geplanter Handler, zum Testen von Cron-Triggers und zur Integration mit Workflows und Green Compute verwenden.

Skill ansehen
webapp-testing
Testen

Diese Claude Skill bietet ein Playwright-basiertes Toolkit zum Testen lokaler Webanwendungen durch Python-Skripte. Es ermöglicht Frontend-Verifizierung, UI-Debugging, Screenshot-Aufnahme und Log-Einblick bei gleichzeitiger Verwaltung von Server-Lebenszyklen. Nutzen Sie es für Browser-Automatisierungsaufgaben, führen Sie Skripte jedoch direkt aus, anstatt deren Quellcode zu lesen, um Kontextverschmutzung zu vermeiden.

Skill ansehen
finishing-a-development-branch
Testen

Diese Fähigkeit unterstützt Entwickler dabei, abgeschlossene Arbeiten zu finalisieren, indem sie testet, ob Tests bestehen, und dann strukturierte Integrationsoptionen präsentiert. Sie leitet den Workflow für das Zusammenführen von Code, das Erstellen von PRs oder das Bereinigen von Branches nach Abschluss der Implementierung. Nutzen Sie sie, wenn Ihr Code bereit und getestet ist, um den Entwicklungsprozess systematisch abzuschließen.

Skill ansehen