Skip to main content
skill CX Codex

genotoxic — Claude Code skill: mutation testing triage

Sorts survived mutants into false positives, missing unit tests and fuzzing targets, using a code graph built with Trailmark.

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

What genotoxic does

genotoxic runs three phases. First it parses the target with Trailmark and calls engine.preanalysis() — that step is mandatory, because triage later leans on blast radius, entry points and taint data. Then comes the mutation framework for your language. Finally the findings get classified into four buckets: corroborated by both tools, harmless, needs a unit test, or needs a fuzz harness.

Trailmark has to be there before anything else. If uv run trailmark fails, install it with uv tool install trailmark rather than falling back to reading the code by hand. You also need a mutation framework for the target language and a test suite that currently passes. necessist is optional and worth adding: it strips statements from tests to expose assertions that never fail. Install it with cargo install necessist; it covers Go, Rust, Solidity/Foundry, TypeScript/Hardhat, TypeScript/Vitest and Rust/Anchor.

On macOS, run ulimit -n 1024 before every mull-runner call. Tahoe (26+) leaves file descriptors unlimited by default, and Mull crashes when it spawns subprocesses. A project with no test suite at all is the wrong place to start — there is nothing for the mutants to survive against.

What it helps with

  • separate harmless survived mutants from ones that point at real gaps
  • spot functions that want a fuzz harness instead of more unit tests
  • strip test statements that assert nothing useful
  • rank test work by data flow context
  • flag mutants sitting in dead code for removal

Example prompts for the agent

  • Run mutation testing over src/ and triage the survived mutants with genotoxic
  • Build the Trailmark code graph and show where unit tests would pay off most
  • Run necessist and list the unnecessary statements in the test suite

How to install genotoxic

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill genotoxic -a claude-code

2Manually: put the files in place

~/.claude/skills/genotoxic/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/genotoxic/

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

Questions about genotoxic

How do I install genotoxic in Claude Code?

Run npx skills add trailofbits/skills --skill genotoxic -a claude-code. The skill lands at ~/.claude/skills/genotoxic/SKILL.md.

What does genotoxic do?

It builds a code graph with Trailmark, runs mutation testing and necessist, then sorts the results into false positives, missing unit tests, fuzzing targets and findings both tools agree on.

What does genotoxic need to run?

Trailmark, a mutation testing framework for your language, and a passing test suite. necessist is a separate install via cargo install necessist.

Similar skills

Everything for Testing and QA →

From the same set77

trailmark-summary This skill runs trailmark analyze --summary against a target directory and reports detected languages, entry point count and dependencies. CX Codex +1 3,900installs audit-augmentation Projects SARIF static analysis reports, weAudit notes, and binary graphs onto Trailmark code graphs. Useful when mapping vulnerabilities to call graphs and data taint paths. CX Codex +1 3,900installs crypto-protocol-diagram Reads protocol code or a spec and writes a Mermaid sequenceDiagram with crypto annotations, plus an ASCII diagram in the reply. CX Codex +1 3,900installs vector-forge This skill uses mutation testing to find gaps in tests for cryptographic implementations and propose vectors for uncovered cases. Use it to assess an existing test suite. CX Codex +1 3,800installs c-review Reviews native C/C++ code for memory bugs, integer overflows and races. Use it when auditing userspace applications, daemons or services. CX Codex +1 3,700installs chrome-mcp-troubleshooting Troubleshoots native host clashes between Claude Code and Chrome on macOS. Fixes broken bridge connections when browser tools refuse to run. CX Codex +1 2,400installs 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

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