trailmark-finding-triage
Was er macht
Dieser Skill nimmt ein mögliches Sicherheitsproblem, etwa ein Scanner-Ergebnis oder eine verdächtige Funktion, und erstellt eine Belegzusammenfassung darüber, ob es erreichbar ist. Er richtet sich an Sicherheitsprüfer, die entscheiden, was zuerst angegangen wird.
Wann du ihn nutzt
- ✓Wenn ein Scanner ein Problem mit hohem Schweregrad meldet und du wissen willst, ob es wirklich erreichbar ist.
- ✓Wenn du von Hand eine verdächtige Funktion gefunden hast und Belege brauchst, bevor du einen Proof of Concept schreibst.
- ✓Wenn du entscheiden musst, ob ein Problem vorrangig, nachrangig oder Teil einer größeren Kette ist.
Link zum Skill
https://github.com/trailofbits/skills/blob/main/plugins/trailmark/skills/trailmark-finding-triage/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du prüfen, ob diese Warnung zu Benutzereingaben in meinem Login-Code von einem äußeren Nutzer tatsächlich erreicht werden kann?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill bildet den Codegraphen um das Problem ab und betrachtet Aufrufer, Einstiegspunkte und den Datenfluss. Danach listet er auf, was die Behauptung stützt oder schwächt, und was noch eine manuelle Prüfung braucht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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-evolutionplus 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
Häufige Fragen
Bestätigt er, dass ein Fehler ausnutzbar ist?
Nein. Er sammelt Belege aus dem Graphen. Der Skill sagt, dass eine manuelle Prüfung nötig ist, bevor ein Problem als ausnutzbar gilt.
Was ist, wenn sich mehrere kleine Probleme zu einem großen verbinden?
Dieser Skill behandelt jeweils einen Befund. Laut Skill brauchen kombinierte Ketten einen anderen Ablauf.
Braucht er das Werkzeug Trailmark?
Ja. Er stützt sich auf Trailmark, um den Codegraphen zu erstellen.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 8.0k
- Platz im Ranking
- #12732
- Lizenz
- CC-BY-SA-4.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
audit-context-building
8.0kHilft deinem Agenten, eine unbekannte Codebasis vor einem Sicherheitsreview zu verstehen, und zeigt, was jede Funktion voraussetzt, garantiert und wovon sie abhängt.
algorand-vulnerability-scanner
8.0kHilft deinem Agenten, Algorand-Smart-Contracts in TEAL oder PyTeal auf 11 häufige Sicherheitsprobleme zu prüfen, etwa Rekeying-Angriffe und ungeprüfte Gebühren.
audit-prep-assistant
8.0kHilft deinem Agenten, eine Codebasis auf ein externes Sicherheitsreview vorzubereiten, mit statischer Analyse, Testabdeckung, Bereinigung von totem Code und klarer Dokumentation.
cairo-vulnerability-scanner
8.0kHilft deinem Agenten, Cairo-Smart-Contracts auf StarkNet auf 6 ernste Probleme zu prüfen, etwa Arithmetik-Überläufe, riskante Nachrichten zwischen Schichten und Signatur-Replay.
Ähnliche Skills
reverse-engineer-anything
422kHilft deinem Agenten, fertige Apps und Pakete zu untersuchen, um Funktionen zu erklären, Versionen zu vergleichen oder einen Nachbau zu leiten, mit dem REA-Tool.
1password
394kHilft deinem Agenten, die 1Password-Kommandozeile einzurichten, sich anzumelden und Geheimnisse zu lesen oder einzufügen, ohne deren Werte im Chat auszugeben.
healthcheck
394kHilft deinem Agenten, den Computer oder Server, auf dem OpenClaw läuft, auf Sicherheitsrisiken wie SSH, Firewall, Updates und Backups zu prüfen und sichere Korrekturen vorzuschlagen.