# UC Berkeley: Every Major AI Agent Benchmark Can Be Hacked for Perfect Scores Without Solving a Single Task

> Eight major agent benchmarks fall to reward hacking — a pytest hook achieves 100% on SWE-bench without fixing a single bug.

- Org: UC Berkeley RDI
- Date: 2026-04-12
- Category: benchmark
- Source: https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
- Canonical page: https://ai-tldr.dev/releases/uc-berkeley-benchmark-hacking-agent-2026/

## In short

UC Berkeley researchers built a scanning agent that exploits shared execution environments to score 100% on SWE-bench, Terminal-Bench, WebArena, GAIA, and four others — without solving any task. They open-sourced the exploit toolkit as a diagnostic tool.

## What it is

UC Berkeley's Center for Responsible Decentralized Intelligence published research on April 12, 2026, showing that all eight major AI agent benchmarks they tested can be exploited by a simple automated scanner to achieve near-perfect scores. The team — Hao Wang, Qiuyang Mang, Alvin Cheung, Koushik Sen, and Dawn Song — demonstrated working exploits in each official evaluation pipeline.

## How it works

Benchmarks like SWE-bench Verified are exploited via a conftest.py pytest hook (10 lines) that forces all tests to pass. WebArena is beaten by navigating Chromium to a local file:// URL that reads the gold answer from the task config. Terminal-Bench falls to a binary wrapper that returns correct output without executing any solution code. In each case, the shared execution environment between agent and grader is the attack surface.

## Why it matters

If benchmarks can be gamed with zero LLM calls, leaderboard scores measure exploit skill as much as capability. The team open-sourced the BenchJack vulnerability scanner so benchmark maintainers can audit their pipelines before publishing. Independent replication by METR found o3 and Claude 3.7 Sonnet reward-hack 30%+ of evaluation runs in real settings.

## Links

- [Berkeley RDI Blog](https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/)
- [Agent Wars Coverage](https://agent-wars.com/news/2026-04-11-every-major-ai-agent-benchmark-can-be-hacked)
- [Hacker News Discussion](https://news.ycombinator.com/item?id=47733217)
