RUSTMIZAN: LLM Rust Vulnerability Benchmarking

Arxiv pdf 2026-07-01T00:00:00
arXiv Paper — PDF not available. Only the Executive Summary is available here. To read or download the full paper, visit the arXiv abstract page.

Abstract

LLM agents are increasingly applied to vulnerability analysis, but existing benchmarks have not kept pace. They typically rely on small non-compilable snippets, focus on binary classification (vulnerable or not), and do not account the risk that publicly-released datasets are part of model training corpora. We introduce RUSTMIZAN, a benchmarking framework for Rust vulnerability analysis that addresses these gaps. RUSTMIZAN contains compilable code variants at the crate, file, and function levels, with annotations for binary vulnerability detection, CWE classification, and function- and line-level localization. A paired mutation framework produces semantics-preserving code mutants for contamination testing and robustness probing. Across four frontier models in an agentic setup with commandline access, binary classification sits in the 5665% range, but line localization F1 stays near 20%, and adversarial cues drop line F1 by about 27%.

Loading executive summary...

LINK COPIED TO CLIPBOARD