trailmark-finding-triage
Ce qu’il fait
Ce skill prend un problème de sécurité candidat, comme le résultat d'un scanner ou une fonction suspecte, et rédige un résumé de preuves indiquant s'il peut être atteint. Il s'adresse aux relecteurs de sécurité qui décident par où commencer.
Quand l’utiliser
- ✓Quand un scanner signale un problème de gravité élevée et que vous voulez savoir s'il peut vraiment être atteint.
- ✓Quand vous avez repéré à la main une fonction suspecte et avez besoin de preuves avant d'écrire une preuve de concept.
- ✓Quand vous devez décider si un problème doit être priorisé, dépriorisé ou traité comme partie d'une chaîne plus large.
Lien du skill
https://github.com/trailofbits/skills/blob/main/plugins/trailmark/skills/trailmark-finding-triage/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Peux-tu vérifier si cet avertissement sur une entrée utilisateur dans mon code de connexion peut vraiment être atteint par un utilisateur externe ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Il cartographie le graphe de code autour du problème, en examinant les appelants, les points d'entrée et le flux des données. Il liste ensuite ce qui étaye ou affaiblit l'affirmation, et ce qui doit encore être vérifié manuellement.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Confirme-t-il qu'un bug est exploitable ?
Non. Il rassemble des preuves issues du graphe, et le skill indique qu'une revue manuelle reste nécessaire avant de qualifier un problème d'exploitable.
Que faire si plusieurs petits problèmes forment un seul problème ?
Ce skill traite un constat à la fois. Le skill note que les chaînes combinées demandent un autre flux de travail.
Faut-il l'outil Trailmark ?
Oui. Il s'appuie sur Trailmark pour construire le graphe du code.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 8.0k
- Position au classement
- #12732
- Licence
- CC-BY-SA-4.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
audit-context-building
8.0kAide votre agent à comprendre un code inconnu avant une revue de sécurité, en cartographiant ce que chaque fonction suppose, garantit et utilise.
algorand-vulnerability-scanner
8.0kAide votre agent à scanner des contrats Algorand (TEAL, PyTeal) pour 11 failles courantes, comme la réaffectation de clé ou les frais non contrôlés.
audit-prep-assistant
8.0kAide votre agent à préparer votre code pour une revue de sécurité externe, avec analyse statique, couverture de tests, nettoyage du code mort et documentation claire.
cairo-vulnerability-scanner
8.0kAide votre agent à scanner les contrats Cairo sur StarkNet pour 6 problèmes graves, comme les dépassements arithmétiques et le rejeu de signature.
Skills similaires
reverse-engineer-anything
422kAide votre agent à analyser les applications et paquets livrés, pour expliquer leurs fonctions, comparer des versions ou guider une reconstruction, avec REA.
1password
394kAide votre agent à configurer l'interface en ligne de commande de 1Password, à se connecter, et à lire ou injecter des secrets sans afficher leurs valeurs dans le chat.
healthcheck
394kAide votre agent à auditer l'ordinateur ou le serveur qui fait tourner OpenClaw pour détecter des risques de sécurité, comme SSH, le pare-feu, les mises à jour et les sauvegardes, puis à proposer des corrections sûres.