aginno

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.

Pranav Lende
The short version
  • 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.
Get one environment audited free
Full reward, nothing solved
SWE-bench Verified
1.0reward
on 500 of 500 tasks
A planted file. No task solved.
Terminal-Bench 2
1.0reward
on 54 of 56 tasks run
A planted test config. No task solved.
BFCL v3
1.0reward
on 20 of 20 multi turn tasks
One crafted tool call. No task solved.

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.

SampleSizeHow we picked it
Random40Drawn from all 1,916 public environments. Shows how common this is
Popular20The 20 most starred
Well known30Mostly Prime's ports of famous benchmarks. Where the stakes are highest
45%

of 40 randomly chosen environments had a medium or worse hack or a broken grader

24 of 30

well known environments could be gamed or graded wrong

14 of 30

well known environments could not load or score on the current library release

Random sample of 40
  • 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%)
Categories overlap, so they don't sum to 40.
30 well known environments
  • 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%)
Picked by hand because people recognize them, so read it as a list, not a rate.

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.

Honest rollout
agentSolves the task in the sandbox
graderRuns the tests
Trainer gets 1.0, task solved
Hacked rollout
agentPlants a file or leaves a process running
graderRuns the tests in the same sandbox
leftover processRewrites the reward
Trainer gets 1.0, nothing solved
When the grader runs in the same sandbox the agent just used, anything the agent left there runs during grading. The trainer only ever sees the number.

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.

EnvironmentSeverityWhat happens
BFCL v3 (primeintellect/bfcl-v3)criticalCONFIRMEDA 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)criticalCONFIRMEDA module the agent writes shadows the real math package. Any answer scores 1.0.
Frontier SWE (proximal/frontier-swe)criticalPLAUSIBLEA 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)highCONFIRMEDThe verifier prints the expected value. Pasting it back scores 1.0 on 13 of 100 tasks.
Workbook tasks (hedwigai/workbook-tasks)highCONFIRMEDThe fetch tool returns the public answer key.
SWE-bench Pro (primeintellect/swebench-pro)highCONFIRMED on a toy repoThe test reset skips pytest.ini, so a plugin can force every test to pass. 237 of 642 tasks.
ATLAS Finance (handshake-ai/atlas-finance)mediumPLAUSIBLEThe port drops the network lockdown, so the rubric file with exact answers is fetchable.
code env (primeintellect/code-env)mediumPLAUSIBLECrashing 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.

EnvironmentScore without solvingFirst reported
SWE-bench VerifiedcriticalA planteduv makes all 500 tasks write reward 1. The official harness is not affected.prime-envs#947, Prime's audit, 10/2
Terminal-Bench 2criticalA planted/tests/conftest.py survives staging. 1.0 on 54 of 56 tasks.verifiers#3199 (Holdout), terminal-bench#2086, #2150 (Tokenless), Preference Model, BenchJack
LiveCodeBenchcriticalExpected outputs sit next to the solution. A lookup program passed 6 of 6.prime-envs#927, Prime's audit, 10/2
miniF2FcriticalNo axiom check, so an added axiom proves a false theorem.verifiers#2177, 7/30
R2E-GymhighA plantedconftest.py passes 290 of 500 tasks.prime-envs#729, #925
DeepSWE by DatacurvehighUpstream keeps model addedconftest.py files.deep-swe#105, Tokenless, 10/2
IFEvalmediumContent free filler fully passes 51% of tasks.By design, since it checks format

Smaller notes:

  • HLE is fixed in prime-envs main, 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.

Harbor shared grading
Tests run in the agent's own box
terminal-bench-2all 89 tasks
terminal_lego13,825 tasks
swe-rebench-v2-1
Lean taskset
No axiom check, compiles in the agent's container
minif2fconfirmed
other Lean envsnot confirmed
Aider Polyglot port
Exercise folder copied with its tests and solutions
amitprakash2005
One shared flaw, many environments. Fixing it in the shared code fixes every environment it reaches at once.
Shared flawWhat goes wrongThe fix
Harbor shared gradingGrading 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 tasksetverifiers 0.3.1 has no axiom check and compiles in the agent's containerRepublish on lean_common, or yank the old versions
RemoteHybridMathRubricRuns the scorer in the agent's sandbox. Gone from main, but old Hub packages still install itScore in the trainer process
Tests in the workspaceThe Aider Polyglot port copies tests and reference solutions into the agent's folderGrade 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.
EnvironmentWhat breaks
primeintellect/browsecomp-openaiNever awaits its async judge, so every rollout scores 0
primeintellect/kernelbenchSets self.reward_funcs, which verifiers never reads. A correct kernel scores 0
arcee-ai/bfcl-v4-web-searchA dataset name with no namespace. The error is swallowed and it trains on one "What is 2+2?" task
will/wiki-search v0.1.24Shows 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

1Audit agent
Reads the reward code and builds a proof for each claim
2Verifier agent
Tries to break each claim and returns a verdict
3Issue trackers
Searched for prior reports, which get the credit
4Environment author
Gets a private note with the repro and a fix
  • 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.
Second pass verdicts, Wave 1
  • 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%)
An adversarial agent rechecked all 42 Wave 1 claims. Its only job was to break them.

We fixed the severity rules before we started:

SeverityRule
criticalA policy that skips the task scores at or above a correct one on most tasks
highA majority of max reward, or a clear path to full reward
mediumRoughly 20% or more of max unearned, or a plausible full reward path
lowEverything 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

  1. Grade in a separate sandbox. Copy only declared output files across.
  2. Score an empty answer, a refusal and a fixed task blind string. All should land near 0.
  3. Feed the reference answer through the real reward. It should score near max.
  4. Never decide pass by exit code alone.
  5. Keep answers out of reach: no gold files or public answer keys the agent can read or fetch.
  6. Check the outcome, not the vocabulary.
  7. Print the reward functions after load_environment, and await every async judge.
  8. 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.
  • verifiers changed 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

ToolWhat it doesResult so far
envscanReads environment source, never runs it. 113 rules1,906 environments scanned, 215 flagged likely. Accuracy on the method page
hubprobeSends fixed answers (empty, near miss, echoed prompt) to the real grader, offlineThree independent readers judged 97 flags. 12 environments have a real grader defect
rollcheckReads the logged rollouts 251 environments ship15 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.

Want your environments checked before you train or ship?
One environment, free and confidential
Results in 48 hours
Every finding with a repro and a fix
Email hello@aginno.dev