VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?

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.

Link
https://arxiv.org/abs/2612.05271
Found by
arXiv
Authors
Xinhao Song, Xiaofei Yin, Yuxuan Xiao, Ji He, Lijun Li, Yan Teng, Gongshen Liu, Huijia Zhu, Jie Li
Categories
benchmark, evaluation, agentic
Published
2026-12-04
Last seen by the radar
2026-12-04
Citations
0
Radar score
63.98 / 100 (how it is scored)
Why it scored so
Also found via XBsleepy; Matched: agents~benchmark, benchmark, evaluat; Primary record: arXiv
Related links
https://arxiv.org/abs/2612.05271v1
https://arxiv.org/pdf/2612.05271v1
https://arxiv.org/html/2612.05271
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by arXiv