agentic-actions-audito…
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI,…
Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common entrypoint paths, interface implementations, override relationships, type/reference
Claude Code
$ npx -y skills add trailofbits/skills --skill trailmark-variant-neighborhood --agent claude-code
Codex
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a codex -y
Cursor
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a cursor -y
Gemini CLI
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a gemini-cli -y
GitHub Copilot
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a github-copilot -y
OpenCode
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a opencode -y
Windsurf
$ npx skills add trailofbits/skills --skill trailmark-variant-neighborhood -a windsurf -y
name: trailmark-variant-neighborhood description: "Expands one confirmed or suspected vulnerability into a Trailmark graph neighborhood of variant candidates by finding sibling functions, shared callers and callees, common sensitive sinks, common entrypoint paths, interface implementations, override relationships, type/reference neighbors, and structurally similar nodes. Use after one issue is found to seed variant-analysis, semgrep-rule-creator, static-analysis, or manual review with graph-derived candidate locations." allowed-tools: - Bash - Read - Grep - Glob - Write
Expand one seed issue into graph-derived variant candidates. This skill generates review targets, not confirmed findings.
trait, hook, handler, adapter, or critical type
`static-analysis`, or manual review
`semgrep-rule-creator` directly.
composition workflow.
| Rationalization | Why It Is Wrong | Required Action | |---|---|---| | "Nearby code means variant" | Proximity is only a candidate reason | Rank it as a review target | | "Only exact same names matter" | Variants often share sinks or preconditions, not names | Expand across callers, callees, interfaces, and types | | "Every candidate is a finding" | This skill outputs candidates for review | Avoid vulnerability claims | | "Unreachable candidates can be ignored completely" | They may become reachable after refactors | Rank lower or list as deferred | | "Graph candidates replace semantic pattern work" | Graph structure finds locations, not root-cause semantics | Hand off to variant-analysis, Semgrep, CodeQL, or manual review |
Variant Neighborhood Progress: - [ ] Step 1: Normalize and bind the seed - [ ] Step 2: Expand graph neighborhoods - [ ] Step 3: Rank candidates - [ ] Step 4: Extract variant pattern guidance - [ ] Step 5: Emit handoff packet
Accept finding text, file/line, function name, or output from `trailmark-finding-triage`. Bind the seed to a Trailmark node and record the root cause in plain language.
If the seed has no concrete graph binding, stop before inventing variants.
Use the dimensions in [references/neighborhood-patterns.md](references/neighborhood-patterns.md):
Bound expansion to avoid candidate floods.
Rank with [references/ranking.md](references/ranking.md). Prioritize entrypoint-reachable, tainted, boundary-adjacent, high-blast-radius, shared sink, same-interface, and close-distance candidates. Penalize test, mock, generated, vendor, unreachable, and trusted-internal-only candidates.
Summarize what should be searched for syntactically and what requires semantic review. Identify whether follow-up belongs in:
Use [references/output-format.md](references/output-format.md). Include ranked candidates, inclusion reasons, exclusions, limitations, and the variant-analysis handoff.
that code is in scope
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…