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.
Figures & tables
Design property
Common
SplitBench
Answers held by a trusted grader
∼
✓
Verdict decided outside the tests
✗
✓
Fresh environment for each test
✗
✓
Network limited to an allowlist
∼
✓
TABLE I: How tasks are graded: common practice today and SplitBench.
Framework
Disclosure of evaluation information
Forged observations
Tampering with acceptance checks
Cross-case interference
Malicious evidence
Access-policy misuse
Inspect AI
⚫
◗
◗
◗
◗
◗
SWE-bench harness
–
◗
◗
❍
❍
–
METR Task Standard
◗
◗
◗
❍
❍
◗
SWE-Lancer
◗
❍
❍
❍
❍
◗
Harbor, shared container (Terminal-Bench 2.0)
◗
❍
❍
❍
❍
❍
Harbor, separate verifier (DeepSWE v1.1)
⚫
❍
◗
❍
◗
◗
TABLE II: Of the frameworks compared, which all run the agent’s code to grade it, only SplitBench prevents forged observations, cross-case interference and malicious evidence by design.
Fig. 1: Grading in most existing benchmarks. We mark the shaded area untrusted, because the agent controls it.
Security goal
Attack class
G1
G2
G3
G4
Disclosure of evaluation information
✓
⋅
⋅
⋅
Forged observations
⋅
✓
⋅
⋅
Tampering with acceptance checks
✓
⋅
⋅
⋅
Cross-case interference
⋅
⋅
✓
⋅
Malicious evidence
⋅
✓
⋅
⋅
TABLE III: Each known attack class falls under one of our four security goals.
Fig. 2: SplitBench split-verification architecture. Green components are trusted, including the relay and proxy, which run in containers of their own. Red environments are controlled by the agent or its candidate. Grey utility environments capture, replay, and collect files without network, and SplitBench checks their output. The numbers give the order of the steps.
Outcome
Terminal-Bench
DeepSWE
Tasks in the benchmark
89
113
Converted
68
112
Excluded by design
privileges or system paths
5
0
running process as deliverable
3
0
deliverable outside any scope
2
0
TABLE IV: Of the 202 tasks of the two benchmarks, 180 convert.
Sonnet
GPT
Both
Same files, both graders
Comparisons
694
680
1,374
Graders agree
99.4%
97.9%
98.7%
Graders disagree
4
14
18
native grader wrong
1
4
5
recorded difference
2
10
12
TABLE V: Converted tasks grade like the originals.
Attacker’s knowledge
Limited
Full
Attempts made
Total
180
180
Stopped by the model’s safeguards
41
12
Completed
139
168
Completed attempts
Rejected by SplitBench
117
126
TABLE VI: No adversarial attempt passed through a flaw in SplitBench.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Task
Level
What the upstream tests check
What the passing attempt did
Terminal-Bench 2.0 (29 tasks)
adaptive-rejection-sampler
F
Statistics of one standard-normal run, an error on invalid input, and text checks on the source and the output
The sampler ignores the density and returns standard-normal draws
cancel-async-tasks
L, F
Printed lines and timing for one fixed task
Prints the expected lines without running the tasks
cobol-modernization
L, F
The output data files, and that program.py exists and exits successfully
The Python program compiles and runs the original COBOL source
constraints-scheduling
F
The meeting’s structure, and its time from the first DTSTART: string in the calendar file
A decoy line names a valid slot, and the scheduled meeting conflicts with another
count-dataset-tokens
F
That the expected number appears somewhere in the answer file
The file contains every number below ten million
Appendix
TABLE VII: The 34 tasks whose own tests accepted an attempt that does not solve the task. A conversion keeps these tests, so SplitBench inherits the weakness.
Large language model (LLM) agents are rapidly reshaping software engineering, accompanied by an explosion of new code benchmarks. Yet nearly all existing benchmarks still rely on the same decades-old criterion: a solution is correct if it passes a fixed set of unit tests. Such tests are often insufficient: they check only part of what the task requires, so agents can reward hack them or silently miss required behavior while still passing every test. As a result, higher benchmark scores may partly reflect better adaptation to the evaluator rather than better problem solving. Existing works focus on static test augmentation: they strengthen each task's tests once, before any trial is seen, and thus overlook how real trials actually fail. We introduce TestJack, a scalable framework for evaluating patches beyond fixed tests. For each trial, TestJack generates tests targeting prompt requirements the patch may violate, retains only tests passed by the ground-truth patch, and re-examines any trial failures. Each confirmed failure is thus supported by a replayable test. To reduce evaluation cost, we also introduce a lightweight variant which audits a random sample of trials in depth and reuses the resulting tests across all trials for the same task. Across 6 frontier model backends and 5 benchmarks such as DeepSWE and SWE Marathon, we find that about 34.4% of the model trials currently judged correct violate the task requirements, lowering the overall resolution rate from 50.6% to 33.2%. Our results reveal a fundamental limitation of current coding-agent evaluation: as LLMs become better at optimizing against fixed evaluators, those evaluators themselves must become more adaptive.
Shuangjie Yao, Hao Wang, Koushik Sen +3
Columbia University · University of California, Berkeley · George Mason University
SWE-Bench Pro is a widely used benchmark of long-horizon software engineering tasks for coding agents. As agents improve, they reach task issues earlier agents never touched and interact with the evaluation environment in ways the original harness did not anticipate. We present SWE-Bench Pro V2, a revised public split built to keep the benchmark accurate as capabilities advance. Agentic audits, expert adjudication and blind re-implementation repaired or retired 480 of the 731 tasks: 23 contracted engineers spent 404 hours, each working in a language they write professionally, and every revised instruction was verified by a second engineer solving the task from the text alone. A hardened protocol restricts network access to the model endpoint and re-grades every patch in a clean container, so agents cannot retrieve upstream fixes or get credit for changes outside their patch. On the 642 V2 tasks frontier agents resolve up to 99.4% while other systems stay clearly separated, and a 51-task Hard split spreads systems from 52.9% to 98.0%. We release the benchmark and distill lessons for maintaining agent benchmarks over time.
Agent benchmarks have become the de facto measure of frontier AI competence, guiding model selection, investment, and deployment. However, reward hacking, where agents maximize a score without performing the intended task, emerges spontaneously in frontier models without overfitting. We argue that benchmarks must be secure by design. From past incidents of reward hacks, we derive a taxonomy of eight recurring flaw patterns and compile them into the Agent-Eval Checklist for benchmark designers. We condense the insights into BenchJack, an automated red-teaming system that drives coding agents to audit benchmarks and identify possible reward-hacking exploits in a clairvoyant manner. Moreover, we extend BenchJack to an iterative generative-adversarial pipeline that discovers new flaws and patches them iteratively to improve benchmark robustness. We apply BenchJack to 10 popular agent benchmarks spanning software engineering, web navigation, desktop computing, and terminal operations. BenchJack synthesizes reward-hacking exploits that achieve near-perfect scores on most of the benchmarks without solving a single task, surfacing 219 distinct flaws across the eight classes. Moreover, BenchJack's extended pipeline reduces the hackable-task ratio from near 100% to under 10% on four benchmarks without fatal design flaws, fully patching WebArena and OSWorld within three iterations. Our results show that evaluation pipelines have not internalized an adversarial mindset, and that proactive auditing could help close the security gap for the fast-paced benchmarking space.