Who Grades the Agent? Privilege Separation for Coding-Agent Benchmarks
Nathan Nour Houlamy, Mattia Favretto, Earlence Fernandes, Mauro Conti
Abstract
Benchmarks for AI-based coding agents are a staple of the current AI landscape, because they are the leading way to measure the performance of LLMs. Their scores guide business and research decisions. Evaluating coding agents is challenging, since they are able to manipulate their evaluation infrastructure to artificially achieve better scores. Grading an agent's solution often requires running its code, which can then manipulate the evaluation process. BenchJack, an automated benchmark auditor, recently reached near-perfect scores on nine of ten popular agent benchmarks without actually solving their tasks. Agents already do this unprompted, as OpenAI's July 2026 Hugging Face incident showed. Building on secure systems design, we introduce SplitBench, a privilege separation framework for evaluating coding agents and the first in the scientific literature to separate running a task's tests from judging their results. Even an agent whose code takes over the entire test environment cannot forge a pass, because a trusted grader holds the expected answers. We show that real-world benchmarks (e.g., Terminal-Bench, DeepSWE) can be ported to the SplitBench framework with minimal effort and high fidelity: 180 of 202 tasks convert, and SplitBench agrees with the native graders on 98.7% of agent attempts. We attack the converted tasks in the worst case, where adversarial agents can read all the grading code but not the expected answers. SplitBench blocked 75% of their attempts; the rest mostly reveal weaknesses in the original tasks' tests rather than flaws in SplitBench.
Create a lesson
Related papers
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
Shared title terminology · Jieyu Li
Benchmarking Web Agent Defenses Against Adaptive Visual Prompt Injection
Shared title terminology · Haichuan Zhang, Zhiyuan Zhong, Shih-Chieh Dai et al.
Who Is Prompt-Injecting Coding Agents? An Empirical Study of Hidden AI-Directed Text on GitHub
Shared title terminology · Gabi Nakibly, Zvika Babo
Ads for Agents: Measuring Ad-Serving MCP Servers
Shared title terminology · Shahrooz Pouryousef, Sohini Chakraborty, Ali Montazer et al.
Mjolnir: Finding and Reproducing Vulnerabilities in Root-of-Trust Firmware and RTL with Project-Grounded Agents
Shared title terminology · Collin MacDonald, Carl Lundin, Stephen Herwig et al.
Proactive Defense Benchmark against Deepfake Generation
Shared title terminology · Joonhyuk Baek, Wonjune Seo, Jae-yun Kim et al.