arXiv cs.AI· Yihan Yang, Chenyuan Yang, Zijie Zhao, Anh Nguyen Hoang, Ziqi Zhang, Weidong Wang, Zhiheng Lyu, Lingming Zhang·· 13 小时前AI 评分58
SecPRBench:智能体代码审查能否在合并前发现漏洞
Can Agentic Code Review Catch Vulnerabilities Before They Are Merged?
AI 导读
论文提出 SecPRBench,用于评估智能体在真实代码变更上的安全审查能力,已从 Firefox、V8、OpenSSL 等九个关键系统收集 265 个任务。八款前沿模型的召回率在 32.5% 到 78.1% 之间,Grok 4.6 与 GPT-6 sol 居前;68% 的漏报是智能体定位到含缺陷文件但给出不同机制解释。
正文 · 原文
Abstract:LLM agents have been increasingly adopted for security-focused code review, but existing benchmarks mostly derive the reviewed changes from their later fixes instead of the real-world bug-introducing commits. In this paper, we present SecPRBench, the first comprehensive benchmark for evaluating agentic security review on validated real-world code changes. More specifically, we have built an automated agentic pipeline to autonomously harvest, build, and validate massive real-world bug-introducing commits for popular software systems. To ensure precise evaluation, we also adopt LLM-as-a-judge to credit the findings matching ground-truth vulnerabilities. To date, we have collected 265 tasks from nine critical systems, including Firefox, V8, and OpenSSL with millions of lines of code. Across eight frontier models, recall ranges from 32.5% to 78.1%, with Grok 4.6 and GPT-6 sol ranking at the top. Our study also shows that most misses are not simply oversights: in 68% of them, the agent reports on a file that holds the flaw but argues for a different mechanism. Security-focused harnesses also behave differently: OpenAI's Codex Security lowers recall by 8.3 points, mostly by abstaining, while Anthropic's Defending Code harness raises it by 7.7 points, at a higher cost.
| Comments: | 20 pages, 2 figures, 10 tables. Benchmark: this https URL Results website: this https URL |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Cryptography and Security (cs.CR); Programming Languages (cs.PL) |
| Cite as: | arXiv:2610.33509 [cs.SE] |
| (or arXiv:2610.33509v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2610.33509 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yihan Yang [view email]
[v1]
Sat, 24 Oct 2026 07:32:42 UTC (236 KB)
来源:arXiv cs.AI · arxiv.org