Agentic Discovery of Soundness Bugs in Safe Rust Bindings
24 Nov · Marius Momeu, Koushik Sen · arXiv:2611.31813
Rust crates confine unsafe code, such as calls into C or C++ libraries or system calls, behind safe interfaces that must uphold Rust's invariants. If an interface encodes one rule of the code beneath it too weakly, a program written in purely safe Rust can cause undefined behavior. Static analyzers and fuzzers are bound to fixed patterns or to the paths they execute. We propose LLM agents as auditors of these…