agentic-actions-audito…
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI…
Graph-informed mutation testing triage. Parses codebases with Trailmark, runs mutation testing and necessist, then uses survived mutants, unnecessary test statements, and call graph data to identify false positives, missing test coverage, and fuzzing targets. Use when triaging
$ npx -y skills add trailofbits/skills --skill genotoxic --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/genotoxicContext preview
The summary Claude sees to decide when to auto-load this skill.
Graph-informed mutation testing triage. Parses codebases with Trailmark, runs mutation testing and necessist, then uses survived mutants, unnecessary test statements, and call graph data to identify false positives, missing test coverage, and fuzzing targets. Use when triaging
name: genotoxic description: "Graph-informed mutation testing triage. Parses codebases with Trailmark, runs mutation testing and necessist, then uses survived mutants, unnecessary test statements, and call graph data to identify false positives, missing test coverage, and fuzzing targets. Use when triaging survived mutants, analyzing mutation testing results, identifying test gaps, finding fuzzing targets from weak tests, running mutation frameworks (including circomvent and cairo-mutants), or using necessist."
Combines mutation testing and necessist (test statement removal) with code graph analysis to triage findings into actionable categories: false positives, missing unit tests, and fuzzing targets.
uv tool install trailmark # Python snippets: uv run --with trailmark python - (a tool env is not importable)
**DO NOT** fall back to "manual verification" or "manual analysis" as a substitute for running trailmark. Install it first. If installation fails, report the error instead of switching to manual analysis.
command fails (not found, not installed), install it using the instructions in [references/mutation-frameworks.md](references/mutation-frameworks.md). **DO NOT** fall back to "manual mutation analysis" or skip mutation testing. Install the framework first. If installation fails, report the error instead of switching to manual mutation analysis.
supported (Go, Rust, Solidity/Foundry, TypeScript/Hardhat, TypeScript/Vitest, Rust/Anchor), install with `cargo install necessist`. See [references/mutation-frameworks.md](references/mutation-frameworks.md) for details.
invocation. macOS Tahoe (26+) sets unlimited file descriptors by default, which crashes Mull's subprocess spawning. See [references/mutation-frameworks.md](references/mutation-frameworks.md) for details.
---
| Rationalization | Why It's Wrong | Required Action | |-----------------|----------------|-----------------| | "All survived mutants need tests" | Many are harmless or equivalent | Triage before writing tests | | "Mutation testing is too noisy" | Noise means you're not triaging | Use graph data to filter | | "Unit tests cover everything" | Complex data flows need fuzzing | Check entrypoint reachability | | "Dead code mutants don't matter" | Dead code should be removed | Flag for cleanup | | "Low complexity = low risk" | Boundary bugs hide in simple code | Check mutant location | | "Tool isn't installed, I'll do it manually" | Manual analysis misses what tooling catches | Install the tool first | | "Necessist isn't mutation testing, skip it" | Necessist finds what mutation testing misses: weak tests | Run both when the language supports it |
---
# 1. Build the code graph
uv run trailmark analyze --language auto --summary {targetDir}
# 2. Run mutation testing (language-dependent)
# Python:
uv run mutmut run --paths-to-mutate {targetDir}/src
uv run mutmut results
# 2b. Run necessist (if language supported)
necessist
# 3. Analyze results with this skill's workflow (Phase 3)---
Phase 1: Graph Build → Parse codebase with trailmark
↓
Phase 2: Mutation Run → Execute mutation testing framework
Phase 2b: Necessist Run → Remove test statements (optional, parallel)
↓
Phase 3: Triage → Classify findings using graph data
↓
Output: Categorized Report
├── Corroborated (both tools flag same function — highest value)
├── False Positives (harmless, skip)
├── Missing Tests (write unit tests)
└── Fuzzing Targets (set up fuzz harnesses)---
├─ Need to set up mutation testing for a language? │ └─ Read: references/mutation-frameworks.md │ ├─ Need to set up necessist or find weak test statements? │ └─ Read: references/mutation-frameworks.md (Necessist section) │ ├─ Need to understand the triage criteria in depth? │ └─ Read: references/triage-methodology.md │ ├─ Need to understand how graph data informs triage? │ └─ Read: references/graph-analysis.md │ └─ Already have results + graph? Use Phase 3 below.
---
Parse the target codebase with trailmark and run pre-analysis **before** mutation testing. Pre-analysis computes blast radius, entry points, privilege boundaries, and taint propagation, which Phase 3 uses for triage.
uv run trailmark analyze --language auto --summary {targetDir}Use the `QueryEngine` API to build the graph and run pre-analysis: 1. `QueryEngine.from_directory("{targetDir}", language="auto")` 2. Call `engine.preanalysis()` — **mandatory** before triage 3. Export with `engine.to_json()` for cross-referencing with mutation results
If auto-detection is wrong for the target, rerun with an explicit language or comma-separated list such as `python,rust`.
See [references/graph-analysis.md](references/graph-analysis.md) for the full API: node mapping, reachability queries, blast radius, and pre-analysis subgrap
A Claude Code plugin marketplace from Trail of Bits providing skills to enhance AI-assisted security analysis, testing, and development workflows. Codex can load this marketplace through its Claude marketplace compatibility.
Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI…
Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an…
Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access…
Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes…
Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems,…
Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing practices, access controls,…