VeilPRBench Finds Code-Review Agents Miss 75% of Attacks
VeilPRBench, a benchmark released in a paper submitted December 3, 2026 and updated December 4, 2026, found that 16 deployed code-review agent workflows blocked only 25.0% of pull requests designed to fix a real issue while secretly introducing a triggerable logic vulnerability, with the best-performing workflow stopping just 55.2% (arXiv).
Why This Matters For Teams Running Agent Review Gates
Teams that rely on code-review agents as an automated security gate are trusting them to tell the difference between a pull request that genuinely resolves a bug and one that resolves the same bug while adding a backdoor or exploitable flaw. The paper's authors — Xinhao Song, Xiaofei Yin, Yuxuan Xiao, Ji He, Lijun Li, Yan Teng, Gongshen Liu, Huijia Zhu, and Jie Li — built VeilPRBench specifically to test this scenario, framing it as a check on whether "complete code-review agents would reject pull requests that genuinely fix their stated issues while introducing triggerable logic vulnerabilities, while accepting benign repairs" (arXiv). The low blocking rate means organizations using these agents as a primary line of defense against malicious or compromised contributions may be letting a majority of such attacks through unnoticed.
How The Benchmark Was Built
VeilPRBench draws on 327 pull requests pulled from 14 open-source projects and 29 historical issue families, spanning Python, C, and JavaScript codebases. The set splits into 192 attack PRs — each one genuinely fixing the stated issue while embedding a triggerable logic vulnerability — and 135 matched benign repairs that fix the same issues without introducing new flaws. Labels for both categories were established through "functional validation, executable security checks, and manual verification," according to the paper (weekinpapers.com).
The Trade-off Between Catching Attacks And Accepting Good Fixes
The results reveal more than a detection gap — they show a trade-off. Across the 16 workflows tested, overall benign acceptance reached 80.9%, meaning most legitimate repairs were approved. But the workflow that blocked the most attacks, at 55.2%, only accepted 60.0% of benign repairs, a steep drop from the average acceptance rate (ditinglab.org). In other words, pushing a workflow toward better attack detection appears to come at the cost of rejecting more legitimate fixes, a tension the paper's conclusion says persists even when workflows are given repository and weakness information. The authors note that benign-repair labels hold "within their validation scope," and that substantial gaps remain across different workflow-backbone configurations (researchnode.dev).
What's Not Yet Known
The publicly available excerpt of the paper does not identify which underlying models power the 16 workflows evaluated, nor does it provide a model-by-model breakdown of results, limiting how specific engineering teams can be when assessing their own tool choices against these findings.


