New handbook chapter and rust-review plugin aim to improve Rust security testing
Their new Testing Handbook chapter and rust-review plugin provide comprehensive guidance and automation for securing Rust programs.
Software Trail of Bits 13 Jul 2026 Tooling Deployed evidence
Published as “Rust-proof your code with our new Testing Handbook chapter”
Why it matters
Provides developers and auditors with concrete guidance and an automated review tool to reduce security bugs in Rust code.
Summary
Trail of Bits added a new chapter to its Testing Handbook that walks readers through Rust security guarantees, dynamic analysis tools like Miri and proptest, static analysis with Clippy, and specialized testing such as Kani model checking. The chapter also includes a checklist of common Rust gotchas and three approaches for memory zeroization. In parallel, the team released rust-review, a Claude Code plugin that automatically scans Rust code for over a dozen bug classes. The write-up provides no quantitative evaluation, but positions the resources as practical help for developers and auditors.
What they found 1
- The handbook chapter discusses Rust’s guarantees and underappreciated issues such as unwind safety, nondeterminism, and arithmetic errors.
“The chapter starts with a security overview of what Rust’s guarantees do and don’t cover, including underappreciated issues like unwind safety, nondeterminism, and arithmetic errors.”
Caveats 1
- The post does not provide empirical data or case studies demonstrating the effectiveness of the handbook or rust-review.
What’s new here 4
- A new Testing Handbook chapter covering Rust security overview, dynamic and static analysis, and supply-chain vetting.
- Introduction of rust-review, a Claude Code plugin that automates detection of memory safety, concurrency, FFI, and async cancellation issues.
- A checklist of Rust-specific gotchas and footguns for manual code reviews.
- Guidance on memory zeroization with three concrete solutions.