rust-review is a Trail of Bits skill for auditing Rust crates, services and libraries, especially those with unsafe code, FFI or concurrency. It detects which bug classes apply, plans clusters of checks with a script, and runs one worker agent per cluster in parallel.
A deduplication judge merges repeated findings, then a false-positive judge rules on each one and sets severity. The run ends with a REPORT.md and a SARIF file in an output directory.
What You Get
- REPORT.md with the surviving findings and their severity
- REPORT.sarif for tools that read SARIF, with an empty result list when nothing is found
- Per-finding markdown files, coverage-gate files per worker, and run, dedup and false-positive summaries
- A run summary that names any cluster that did not complete, so a partial run is never hidden
Common Use Cases
- Auditing a Rust crate that contains unsafe blocks or an FFI layer
- Looking for panic-induced denial of service in a Rust network service
- Reviewing async runtime and concurrency code for deadlocks and atomic ordering mistakes
What Makes It Unique
A script, not the model, picks the clusters and renders the worker prompts, so the plan is the same on every run. Findings pass through a dedup judge and then a false-positive judge, and the skill states that the compiler’s borrow checker proves nothing about unsafe blocks, panics or FFI. It points secret-zeroization questions to zeroize-audit and C or C++ code to c-review.
Under The Hood
This is a large instruction file that drives many agents. The orchestrator runs shell commands: it checks for uv, searches the source tree with grep, rg and find, and creates an output directory. It runs the plugin’s Python scripts through uv to build the run plan, validate artifacts and generate SARIF, and it spawns named worker and judge subagents that read the code and write finding files to disk. It uses a question prompt to collect parameters. It does not fetch web pages or call outside APIs by its own instructions. Results are written under a results folder in the audited project by default.