arXiv cs.AI· Xinhao Song, Xiaofei Yin, Yuxuan Xiao, Ji He, Lijun Li, Yan Teng, Gongshen Liu, Huijia Zhu, Jie Li·· 2 天前AI 评分46
VeilPRBench:代码审查智能体能否拦截修复真实问题的 PR 中隐藏的漏洞?
VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?
AI 导读
arXiv 论文提出 VeilPRBench,用于评估代码审查智能体能否拦截真正修复问题却引入逻辑漏洞的 PR,同时放过良性修复。基准包含覆盖 Python、C、JavaScript 的 192 个攻击 PR(14 个开源项目、29 个历史问题族)和 135 个良性修复(13 个项目、27 个问题族),配独立功能测试与可执行安全检查。
正文 · 原文
Abstract:Code review is a critical line of defense for software security. As the volume of pull requests (PRs) grows, automated review agents increasingly support review and merge decisions. However, a PR can genuinely resolve its reported issue while introducing logic vulnerabilities. To quantify this risk in automated code review, we introduce VeilPRBench, a benchmark for evaluating whether code review agents block such PRs while accepting benign repairs. The benchmark contains 192 manually constructed attack PRs across 14 open-source projects and 29 historical issue families, together with 135 benign repairs covering 13 projects and 27 families, across Python, C, and JavaScript. Independent functional tests verify the intended repairs, and executable security checks establish the target consequences of the attacks against applicable reference states. Benign repairs pass the prescribed functional and security checks within their validation scope. Our evaluation of 16 deployed review workflows reveals a substantial security gap, attack blocking averages only 25.0%, and the highest blocking rate is 55.2%. VeilPRBench provides an executable testbed for evaluating and improving the security of automated code review.
| Comments: | 54 pages, 16 figures, 41 tables |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2612.05271 [cs.SE] |
| (or arXiv:2612.05271v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2612.05271 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xinhao Song [view email]
[v1]
Thu, 3 Dec 2026 08:53:23 UTC (943 KB)
来源:arXiv cs.AI · arxiv.org