Can Agentic Code Review Catch Vulnerabilities Before They Are Merged?
On the map: LLM agents and tool use → Software engineering coding agents also fits: Agent threats, guardrails and governance
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 42 references that are in the map. Submitted 24 Oct 2026.
Builds on
23 of 42 references.
Closest ancestors · 4
Same direction, newest first
- 2026SEVRA-BENCH: Social Engineering of Vulnerabilities in Review Agents11 Jun
- 2026AnyPoC: Universal Proof-of-Concept Test Generation for Scalable LLM-Based Bug Detection13 Apr
- 2026LLM-Based Agents for Identifying Bug-Introducing Commits31 Mar
- 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb
Other references · 19
- 2025HealthBench: Evaluating Large Language Models Towards Improved Human Healthcited by 511
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 397
- 2024Vulnerability Detection with Code Language Models: How Far Are We?cited by 162
- 2023LLMs Cannot Reliably Identify and Reason About Security Vulnerabilities (Yet?): A Comprehensive Evaluation, Framework, and Benchmarkscited by 103
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 102
- 2025CyberGym: Evaluating AI Agents' Real-World Cybersecurity Capabilities at Scalecited by 96
- 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 88
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 43
- 2025Benchmarking LLMs and LLM-based Agents in Practical Vulnerability Detection for Code Repositoriescited by 33
- 2024Top Score on the Wrong Exam: On Benchmarking in Machine Learning for Vulnerability Detectioncited by 31
- 2025KNighter: Transforming Static Analysis with LLM-Synthesized Checkerscited by 26
- 2026SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?cited by 15
7 more
- 2026CyberGym-E2E: Scalable Real-World Benchmark for AI Agents' End-to-End Cybersecurity Capabilitiescited by 14
- 2025SWR-Bench: Assessing LLM Performance in Real-World Code Review Comment Generationcited by 9
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Contextcited by 7
- 2026When AI Agrees Too Much: Manipulating Automated Code Review via Bias Injectioncited by 7
- 2026SWE-PRBench: Benchmarking AI Code Review Quality Against Pull Request Feedbackcited by 6
- 2026VulnGym: Benchmarking Coding Agents for Repository-Level Vulnerability Detectioncited by 6
- 2026VICBench: A Multi-Language Benchmark for Code Vulnerability Detectioncited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026When Passing Tests Hides Vulnerabilities: An Empirical Study of Silent Failures in Agentic Systems
- 2025How Safe Are AI-Generated Patches? A Large-scale Study on Security Risks in LLM and Agentic Automated Program Repair on SWE-bench
- 2025From LLMs to Agents: A Comparative Evaluation of LLMs and LLM-based Agents in Security Patch Detection
- 2026Agent Audit: A Security Analysis System for LLM Agent Applications
- 2026AgenticSCR: An Autonomous Agentic Secure Code Review for Immature Vulnerabilities Detection
- 2025SecRepoBench: Benchmarking Code Agents for Secure Code Completion in Real-World Repositories
- 2026AgentSZZ: Teaching the LLM Agent to Play Detective with Bug-Inducing Commits
- 2024AutoSafeCoder: A Multi-Agent Framework for Securing LLM Code Generation through Static Analysis and Fuzz Testing