agentic-actions-audito…
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
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
Claude Code
$ npx -y skills add trailofbits/skills --skill trailmark-finding-triage --agent claude-code
Codex
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a codex -y
Cursor
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a cursor -y
Gemini CLI
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a gemini-cli -y
GitHub Copilot
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a github-copilot -y
OpenCode
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a opencode -y
Windsurf
$ npx skills add trailofbits/skills --skill trailmark-finding-triage -a windsurf -y
name: trailmark-finding-triage description: "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." allowed-tools: - Bash - Read - Grep - Glob - Write
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.
part of a broader chain analysis
composition workflow instead.
remediation-review workflow instead.
review workflow.
discovery skills first.
| 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 |
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
Accept file/line, function name, SARIF result, weAudit annotation, Markdown finding excerpt, or a manual claim. Normalize it to:
If there is no concrete code anchor, stop and ask for one.
For input handling details, see [references/input-normalization.md](references/input-normalization.md).
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 script judges nothing: read the bound code and its callers, decide attacker control, and treat an empty path list as a limitation to explain (dynamic dispatch, proxies, missing entrypoint models), not as proof. Use the steps below for inputs the script does not take (function names, SARIF via `audit-augmentation`) and for queries it does not run (`connect_subgraphs`).
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.
Bind by file and line overlap first, then function name plus file. If several nodes match, list every c
Trail of Bits skills and plugins for AI-assisted security analysis, testing, and development. Install this marketplace in Claude Code or Codex, or import it into your ChatGPT workspace marketplace.
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on…
Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing…
Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools,…
Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging…
Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…