Skip to main content
skill CX Codex

rust-review — Claude Code skill: what it does, how to install

Audits Rust crates and libraries for memory safety in unsafe blocks, FFI boundaries, concurrency bugs, and panic DoS. Useful for in-depth security reviews.

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

What rust-review does

The skill orchestrates a multi-step audit pipeline. A coordinator dispatches parallel worker subagents (rust-review:rust-review-worker) across vulnerability clusters. Next, a deduplication judge merges identical findings, and a false-positive judge validates severity before compiling the final reports in REPORT.md and REPORT.sarif.

The process strictly isolates the audit target from read-only project context. Workers can inspect callers and build settings across the repository to confirm reachability, but they only record vulnerabilities inside the requested target subtree. File searches rely on rg or grep -E, and planning scripts run via uv run.

Memory zeroization and smart contract bugs fall outside this skill's scope, so running it on Solana programs or secrets-clearing code will miss vulnerabilities. Pure safe-Rust projects still benefit from the run. Denial of service from panics and atomic race conditions do not need unsafe to cause outages.

What it helps with

  • audit memory safety violations inside unsafe blocks
  • catch panic-induced denial of service flaws in backend servers
  • detect data races and deadlocks across concurrent or async code
  • verify type layouts and safety assumptions across FFI boundaries

Example prompts for the agent

  • /rust-review:rust-review audit this crate for memory safety vulnerabilities
  • /rust-review:rust-review check the src/ffi directory for boundary bugs
  • /rust-review:rust-review review our async server code for panic-induced DoS

How to install rust-review

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill rust-review -a claude-code

2Manually: put the files in place

~/.claude/skills/rust-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/rust-review/

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

Questions about rust-review

How to install rust-review in Claude Code?

Run npx skills add trailofbits/skills --skill rust-review -a claude-code in your terminal. It writes the configuration to ~/.claude/skills/rust-review/SKILL.md.

What does rust-review check?

It evaluates safe and unsafe boundaries, memory corruption hazards, FFI mismatches, and panic-triggered server crashes. It generates findings in both REPORT.md and REPORT.sarif.

Does rust-review audit smart contracts or secrets zeroization?

No, it skips smart contracts like Solana or NEAR programs and does not inspect Zeroize memory wiping. Separate specialized skills handle those checks.

Similar skills

All skills for Security →

From the same set77

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 genotoxic Sorts survived mutants into false positives, missing unit tests and fuzzing targets, using a code graph built with Trailmark. 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 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 trailmark-finding-triage 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. CX Codex +1 1,300installs

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