跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2607.04729 · v2

RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities

首次提交 2026-07-06 15:02
版本更新 2026-12-02 06:12
雷达观测 2026-12-03 10:45
arXiv ↗PDF ↗

摘要

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 for 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 command-line access, binary classification sits in the 56-65% range and line localization F1 is near 20%. Adversarial cues reduce mean line F1 by about 27%. With low or high reasoning effort, Opus achieves about 40% line F1 on the 95 vulnerable variants. The original models achieve 24-30% on the same subset.

作者备注:52 pages, 7 figures, NeurIPS'26 Evaluations and Datasets Track

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-12-02 06:12 · 最新观测版本

RustMizan: A Compilable, Contamination-Aware Benchmarking Framework for Rust Vulnerabilities

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 for 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 command-line access, binary classification sits in the 56-65% range and line localization F1 is near 20%. Adversarial cues reduce mean line F1 by about 27%. With low or high reasoning effort, Opus achieves about 40% line F1 on the 95 vulnerable variants. The original models achieve 24-30% on the same subset.

查看此版本解读 →查看此版本原文 ↗