We tried to pass 90 RL environments without solving them
24 of the 30 best known RL environments on Prime Intellect's Hub can be gamed or graded wrong. The worst pay full reward for solving nothing.
- 24 of 30 well known environments on Prime Intellect's Hub can be gamed or graded wrong. So can 45% of a random 40.
- The worst pay full reward for solving nothing, including the Hub's SWE-bench Verified and Terminal-Bench 2 ports.
- Most trace back to a few shared defaults, so one fix closes many environments at once.
- Train on these and your model learns the shortcut. Sell them and your customer finds it.
The ports on Prime Intellect's Environments Hub, November 2026. Reproduced by running each environment's own reward code. The official SWE-bench harness is not affected.
What we did
We tried to get full reward from 90 public RL environments on Prime Intellect's Environments Hub without doing the tasks. The snapshot is from November 2026.
| Sample | Size | How we picked it |
|---|---|---|
| Random | 40 | Drawn from all 1,916 public environments. Shows how common this is |
| Popular | 20 | The 20 most starred |
| Well known | 30 | Mostly Prime's ports of famous benchmarks. Where the stakes are highest |
- Medium or worse, or a broken grader18 of 40 (45%)
95% interval 31% to 60%
- Critical or high13 of 40 (33%)
- Broken grader8 of 40 (20%)
- Medium or worse, or a broken grader24 of 30 (80%)
- Critical or high21 of 30 (70%)
7 of them critical
- Cannot load or score14 of 30 (47%)
22 of the 30 well known environments are published by Prime Intellect, including its SWE-bench, LiveCodeBench, BFCL and miniF2F ports.
The most common hack
The grader runs in the same box where the agent just had root. So the agent can change what the grader sees.
New findings
On 11/20 we searched each environment's repo, verifiers, prime-envs, community-environments and the upstream tracker. These eight had no prior public report.
| Environment | Severity | What happens |
|---|---|---|
BFCL v3 (primeintellect/bfcl-v3) | criticalCONFIRMED | A crafted tool call runs code in the trainer's process. 1.0 on 20 of 20 tasks. Mechanism held until Prime ships a fix. |
OpenCode science (primeintellect/opencode-science) | criticalCONFIRMED | A module the agent writes shadows the real math package. Any answer scores 1.0. |
Frontier SWE (proximal/frontier-swe) | criticalPLAUSIBLE | A daemon left running can rewrite the reward file after tests. Simulated, not run on Modal. |
Vet clinic ops (praesidiumsystems/long-horizon-medical-agent-benchmark-vet-clinic-ops) | highCONFIRMED | The verifier prints the expected value. Pasting it back scores 1.0 on 13 of 100 tasks. |
Workbook tasks (hedwigai/workbook-tasks) | highCONFIRMED | The fetch tool returns the public answer key. |
SWE-bench Pro (primeintellect/swebench-pro) | highCONFIRMED on a toy repo | The test reset skips pytest.ini, so a plugin can force every test to pass. 237 of 642 tasks. |
ATLAS Finance (handshake-ai/atlas-finance) | mediumPLAUSIBLE | The port drops the network lockdown, so the rubric file with exact answers is fetchable. |
code env (primeintellect/code-env) | mediumPLAUSIBLE | Crashing the sandbox drops tests from the pass rate, which can give passed=1. |
Credit where it is due:
- BFCL. Tokenless reported 16 other problems in gorilla#1377. This one is not among them.
- SWE-bench Pro. Patronus AI reported a different bypass of the same reset in SWE-bench_Pro-os#133. We do not claim the reset weakness itself.
- Frontier SWE. The general class is described in verifiers#3134. This instance had no prior report.
Already known, still live
Others found these first, and the credit is theirs. The Hub still serves the affected packages.
| Environment | Score without solving | First reported |
|---|---|---|
| SWE-bench Verified | criticalA planteduv makes all 500 tasks write reward 1. The official harness is not affected. | prime-envs#947, Prime's audit, 10/2 |
| Terminal-Bench 2 | criticalA planted/tests/conftest.py survives staging. 1.0 on 54 of 56 tasks. | verifiers#3199 (Holdout), terminal-bench#2086, #2150 (Tokenless), Preference Model, BenchJack |
| LiveCodeBench | criticalExpected outputs sit next to the solution. A lookup program passed 6 of 6. | prime-envs#927, Prime's audit, 10/2 |
| miniF2F | criticalNo axiom check, so an added axiom proves a false theorem. | verifiers#2177, 7/30 |
| R2E-Gym | highA plantedconftest.py passes 290 of 500 tasks. | prime-envs#729, #925 |
| DeepSWE by Datacurve | highUpstream keeps model addedconftest.py files. | deep-swe#105, Tokenless, 10/2 |
| IFEval | mediumContent free filler fully passes 51% of tasks. | By design, since it checks format |
Smaller notes:
- HLE is fixed in
prime-envsmain, but the Hub lags. We do not count it. - GPQA. Prime's prime-envs#931 found that answer extraction can grade a ruled out letter. We missed it, then reproduced it.
- tau2 refusal tasks were already in the ABC checklist paper.
Fix it once
Several flaws sit in verifiers, Prime's environment library, or in a pattern many environments copy. A fix there closes siblings we never audited.
terminal-bench-2all 89 tasksterminal_lego13,825 tasksswe-rebench-v2-1minif2fconfirmedother Lean envsnot confirmedamitprakash2005| Shared flaw | What goes wrong | The fix |
|---|---|---|
| Harbor shared grading | Grading runs in the agent's box. Old /tests files and the agent's PATH survive. 0 of 13,825 terminal_lego tasks declare a separate verifier. | Wipe /tests before staging (verifiers#3200) and grade in a separate box by default |
| Lean taskset | verifiers 0.3.1 has no axiom check and compiles in the agent's container | Republish on lean_common, or yank the old versions |
RemoteHybridMathRubric | Runs the scorer in the agent's sandbox. Gone from main, but old Hub packages still install it | Score in the trainer process |
| Tests in the workspace | The Aider Polyglot port copies tests and reference solutions into the agent's folder | Grade outside the workspace by default |
Broken graders
A broken grader is the opposite failure. The model does the work and gets nothing.
- 27 of 90 environments have one.
- 12 of 30 in Wave 2 do, and every one is in a port or adapter, not the original benchmark.
| Environment | What breaks |
|---|---|
primeintellect/browsecomp-openai | Never awaits its async judge, so every rollout scores 0 |
primeintellect/kernelbench | Sets self.reward_funcs, which verifiers never reads. A correct kernel scores 0 |
arcee-ai/bfcl-v4-web-search | A dataset name with no namespace. The error is swallowed and it trains on one "What is 2+2?" task |
will/wiki-search v0.1.24 | Shows the judge the string "None" |
Version churn adds more. verifiers 0.4.1 (11/3) removed most of the legacy API, and most environments set no upper bound on it.
- 14 of 30 well known environments cannot load or score on the current release.
- Two checks catch most of this: pin an upper bound on
verifiers, and score one correct and one empty rollout on a fresh install.
How we tested
- One audit agent per environment read the reward functions, parsers, judges, sandboxes and dataset loading. It used the 8 class taxonomy from BenchJack.
- A proof when cheap: a completion that skips the task but scores high, or a correct one that scores low.
- An adversarial second pass on Wave 1 tried to break every claim. Wave 2 got one self checked pass (22 confirmed, 5 plausible, 3 clean), so it is less checked.
- Confirmed by running code22 of 42 (52%)
- Overstated, so downgraded12 of 42 (29%)
- Plausible, not run end to end5 of 42 (12%)
- Rejected3 of 42 (7%)
We fixed the severity rules before we started:
| Severity | Rule |
|---|---|
| critical | A policy that skips the task scores at or above a correct one on most tasks |
| high | A majority of max reward, or a clear path to full reward |
| medium | Roughly 20% or more of max unearned, or a plausible full reward path |
| low | Everything else, including a bonus every rollout gets equally, which cancels out under GRPO |
"Reproduced" is narrow. We called each environment's real reward code on crafted completions, with a toy repository standing in for Docker images. We did not run training.
Why it matters
- A single exploitable trigger can sink a run. One study found random grader error rates of 20% to 50% only slowed training, while one exploitable trigger collapsed true reward to near zero (arXiv 2605.02909).
- Not every leak hurts. Another group found hardening MBPP tests moved held out results by under 0.20 points (arXiv 2607.11022). Both used small models.
- You can't tell in advance which kind you have. An adversarial audit finds the collapse kind before training does.
A checklist for environment authors
- Grade in a separate sandbox. Copy only declared output files across.
- Score an empty answer, a refusal and a fixed task blind string. All should land near 0.
- Feed the reference answer through the real reward. It should score near max.
- Never decide pass by exit code alone.
- Keep answers out of reach: no gold files or public answer keys the agent can read or fetch.
- Check the outcome, not the vocabulary.
- Print the reward functions after
load_environment, andawaitevery async judge. - Pin what you run on, and test on what installs.
Limits
- No Docker images, GPUs or large models. Container and CUDA environments were checked at the grader and parser level only.
verifierschanged a lot. Some environments that fail today probably worked on the version their author pinned.- LLM judge injection is untested. We made no paid API calls.
- We audited Hub packages, not each benchmark's official harness unless a row says so.
- The random sample is only 40, and environments may have changed since the snapshot.
Tools we built from this
| Tool | What it does | Result so far |
|---|---|---|
| envscan | Reads environment source, never runs it. 113 rules | 1,906 environments scanned, 215 flagged likely. Accuracy on the method page |
| hubprobe | Sends fixed answers (empty, near miss, echoed prompt) to the real grader, offline | Three independent readers judged 97 flags. 12 environments have a real grader defect |
| rollcheck | Reads the logged rollouts 251 environments ship | 15 real problems, all broken evals or grader bugs, none a policy gaming a reward |
We have not sent notes to the owners hubprobe and rollcheck flagged yet, so we do not name them.