Who Grades the Agent? Privilege Separation for Coding-Agent Benchmarks

Nathan Nour Houlamy, Mattia Favretto and Mauro Conti (University of Padua) with Earlence Fernandes (UC San Diego) introduce SplitBench, a privilege-separation framework for coding-agent benchmarks that runs tests in the agent's environment but judges results in a trusted grader that holds the expected answers.
Ask this paper
Problem. Grading a coding agent usually means running its code in the same environment as the tests, so the code can tamper with grading. BenchJack recently reached near-perfect scores on nine of ten popular agent benchmarks without solving tasks.
Design. Following secure-systems practice, SplitBench separates running a task's tests from judging their results. Even an agent that controls the whole test environment cannot forge a pass because it never sees the expected answers.
Porting cost. 180 of 202 tasks from real benchmarks such as Terminal-Bench and DeepSWE convert with minimal effort, and SplitBench agrees with the native graders on 98.7% of agent attempts.
Adversarial test. Against agents that can read all grading code but not the answers, SplitBench blocks 75% of attack attempts. Most of the rest exploit weak tests in the original tasks.
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.