Skip to main content
skill CX Codex

trailmark-finding-triage — Claude Code skill: triage one finding

Builds a graph evidence packet for a single security finding: reachability, entrypoint paths, taint and blast radius. Useful before you spend time on a PoC.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add trailofbits/skills --skill trailmark-finding-triage -a claude-code
Open on GitHub

What trailmark-finding-triage does

The skill takes one candidate issue — a file and line, a function name, a SARIF result, a weAudit annotation or a report excerpt — and normalises it into a title, path, suspected source or sink, and claimed impact. With no concrete code anchor it stops and asks for one.

Then it builds a Trailmark graph, or reuses a fresh one from .trailmark/, binds the finding to a node and runs a query recipe: entrypoint paths with their trust levels, membership in the tainted, privilege_boundary and high_blast_radius subgraphs, direct callers and callees, downstream sinks. For file and line anchors there is a bundled script, scripts/evidence_packet.py, that builds the graph once and handles several findings in one pass, writing the packet as JSON. It runs through uv run --no-project, so uv has to be on the machine.

Reachability in the graph is not proof of exploitability. An empty path list can also mean the analysis is limited — dynamic dispatch, proxies, an incomplete entrypoint model. An auth check sitting on the path is a review target, not a clean bill of health. The output is one verdict: Promote, Needs manual review or Deprioritize.

What it helps with

  • decide whether a scanner result deserves PoC time
  • check if a manual finding is reachable from an entrypoint
  • assemble evidence before validating an exploit
  • triage a suspicious function spotted during manual audit
  • judge whether to promote or shelve a finding

Example prompts for the agent

  • Triage the finding at src/auth/session.c:142 — is it reachable from any entrypoint?
  • Build the evidence packet for this function before I write a PoC
  • Check this SARIF result for a path from an entrypoint with untrusted input

How to install trailmark-finding-triage

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill trailmark-finding-triage -a claude-code

2Manually: put the files in place

~/.claude/skills/trailmark-finding-triage/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/trailmark-finding-triage/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about trailmark-finding-triage

How do I install trailmark-finding-triage in Claude Code?

Run npx skills add trailofbits/skills --skill trailmark-finding-triage -a claude-code. The skill file then lands at ~/.claude/skills/trailmark-finding-triage/SKILL.md.

What does trailmark-finding-triage do?

It triages one security finding against the Trailmark graph: entrypoint paths, taint and privilege-boundary membership, callers and callees. You get a priority verdict plus an evidence packet.

How is it different from a full audit?

It handles exactly one candidate and stops there. When several weak findings might compose into a chain, use a composition workflow; to verify a fix, use remediation-review.

Similar skills

Everything for Security →

From the same set77

rust-review Audits Rust crates and libraries for memory safety in unsafe blocks, FFI boundaries, concurrency bugs, and panic DoS. Useful for in-depth security reviews. CX Codex +1 2,000installs vulnerability-triage-brocards This skill assesses vulnerability reports against seven criteria, helping an agent reject weak findings, ask for evidence, or escalate a report. CX Codex +1 1,400installs trailmark-review-gate The skill runs structural security gates on branches or pull requests using Trailmark graph diffs. It flags removed auth checks, newly reachable sinks, and expanded attack surfaces. CX Codex +1 1,300installs trailmark-variant-neighborhood This skill expands a suspected vulnerability into related code locations for review. Use it before variant analysis, Semgrep, static analysis, or a manual audit. CX Codex +1 1,300installs slicing-code-context Extracts bounded, graph-informed source code slices via Trailmark and delegates analysis to a smaller subagent. Useful when running focused tasks on local or constrained models. CX Codex +1 1,300installs github-triage This skill reviews a repository’s open GitHub issues and pull requests, links pending fixes to issues, and prepares local priority and change-size estimates. CX Codex +1 1,300installs open-sourcing Walks a repository through the pre-release checklist: secret audit, license, docs, CI and packaging. CX Codex +1 1,300installs modern-cpp Directs C++ development toward C++20/23/26 idioms, replacing dangerous raw pointers, legacy macros, and SFINAE boilerplate with memory-safe patterns. CX Codex +1 1,200installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor