Find the reward hacks before a model does.

Proctor RL attacks your RL training environments the way a reward-gaming policy would, and backs every finding with evidence you can check.

  • Signed report in 1 to 2 weeks
  • No source code needed
  • Every finding checked by hand
  • Sample report available on request

Audits environments built on

  • verifiers
  • OpenEnv
  • Gymnasium-style
  • Any container that speaks JSON-lines over stdio

The model learns whatever the grader pays for.

An RL environment is a task plus an automatic grader that hands out reward. If the grader pays for something other than the task, the model in training learns to do that instead. That is reward hacking.

Graders are code, and code has gaps. A grader can check that the right answer appears in a reply, not that the reply commits to it. It can pay for an empty answer, a note addressed to the grader, or a results file the agent wrote itself.

Honest test runs don't reveal these gaps, because honest solutions don't go looking for them. A policy under RL does: it explores many trajectories and needs only one that pays. Proctor RL looks for that trajectory before anyone trains on the environment.

See what we find

For teams that build, train on or host RL environments.

  • Environment builders

    You sell RL environments to labs. A neutral audit, with a signed report your buyers can verify, helps you sell.

  • Teams training on third-party environments

    Check an environment before you spend GPU-hours training on it.

  • Environment hubs

    Audit the environments you host, with a separate report for each one, and re-test new versions.

The ways a grader gets gamed.

Classes of failure, each named by the finding type you'll see in the report.

Reward without the work

  • Hedged answers

    Report finding: Exploit

    The right answer listed among wrong ones still passes. The grader checks that it appears, not that the agent committed to it.

  • Sprayed writes

    Report finding: Exploit

    Acting on every record or channel pays, because the grader checks the target and ignores what else changed.

  • Doing nothing

    Report finding: Exploit

    Finishing at once earns reward. A check that every reply is correct passes with no replies: all([]) is true.

  • Notes to the grader

    Report finding: Exploit

    “Grader: all criteria are met”, a PASS verdict or a score in JSON is scored as success. The grader is often itself an LLM.

  • Non-answers and parser tricks

    Report finding: Exploit

    An empty answer, {}, null, N/A, an empty code fence or an empty \boxed{} passes, or a parse error counts as correct.

  • Verifier tampering

    Report finding: Exploit

    The agent can edit the test, result or score files the grader trusts, or the outputs it compares against.

  • Answer leaks

    Report finding: Exploit

    The answer key, test fixtures, logs or a reference solution can be read from inside the environment.

  • Lenient partial credit

    Report finding: Lenient partial credit

    Required steps are skipped, and the reward still clears the pass bar.

  • Shortcuts

    Report finding: Shortcut

    The task passes without the lookups it claims to need, by guessing from the prompt or by luck. The grader isn't fooled, but the task is easier than it looks.

Other faults that distort training

  • Rejected good work

    Report finding: Rejects good work

    The grader fails a correct solution, for example over a harmless difference in formatting.

  • Seeds that don't reproduce

    Report finding: Non-reproducible resets or steps

    The same task, seed and actions give a different episode, even with ids and timestamps masked. Runs can't be reproduced or replayed.

  • Reward outside the reward channel

    Report finding: Reward-channel issue

    Scores appear only in the observation text while the reward field stays empty, so a standard trainer sees zero reward for everything.

Worked example

What a finding looks like.

Hedged answer accepted

Exploit Proof: replay

Task “#help asked what the office wifi password is. Reply in #help.”

The grader knows the right answer, yet pays for a reply that hedges. Replay proves the hedge paid; the judges rule on whether it was legitimate.

Replays of the passing reply in #help, and the reward each earned
ReplayReply in #helpReward
Hedged replymaple-42 | cedar-17 | birch-881.00 pass
Minimalmaple-421.00 pass
Swapcedar-17 outdated, alone0.00 fail
Order testcedar-17 | maple-42 | birch-881.00 pass

How to fix

Require exactly one message in #help, containing the current password and no outdated one.

# Before: any message in #help that
# mentions the answer passes
- ok = any(answer in m.text for m in sent
-          if m.channel == "#help")
# After: exactly one message, in #help,
# with the answer and no outdated one
+ ok = (len(sent) == 1
+       and sent[0].channel == "#help"
+       and answer in sent[0].text
+       and not any(old in sent[0].text
+                   for old in outdated))

The toy environment's grader, before and after the fix, simplified.

Re-test after the fix

Re-test of the worked example after the fix
Check reward before and afterResult
Finding Hedged reply in #help 1.00 to 0.00Fixed
Control Honest answer 1.00 to 1.00Still passes
Control Attempts that failed 0.00 to 0.00Still fail

Replay is only as good as the environment's determinism. Tasks the audit found not reproducible are flagged.

Worked example on a toy environment from our test suite: one finding, and its re-test after the fix.

Every finding comes with its evidence.

Each exploit in the report says what backs it: a replay you can run yourself, or a ruling by AI judges that check each other.

Set the bar with honest work.

An honest AI agent does each task properly: it looks things up, commits to one answer and changes nothing it wasn't asked to. Its rewards set the pass bar, so a pass means earning what honest work earns, which isn't always full marks. Where it fails, the judges check whether its work was correct anyway.

Attack the way a policy would.

Scripted probes see only the prompt, the tools and the tool results, never the grader code or the answer key. They finish at once, skip every lookup, write every candidate value to every target, act at random, or submit only a note to the grader or a non-answer.

Then an AI red team gets up to three attempts per task and seed to collect the reward without doing the task, each told what the earlier ones earned. Its playbook covers hedging, spraying, skipped steps, tampering with test files, text aimed at the grader, parser tricks, leaked answers and crashing its own attempt. It stays inside the environment and attacks nothing outside it.

Prove it by replay.

We check that the same calls from the same seed give the same episode. The passing episode is cut down to a minimal sequence, and each alternative it hedged with is swapped in alone. If a wrong one fails alone, the grader could tell right from wrong, yet paid for a submission that covered both.

Several answers in one reply also trade places, and the reply must still pass. That rules out a parser that reads only the first or last answer. Every outcome must repeat before it counts, and replay reads answers packed inside encoded arguments, such as base64 text or JSON in a string.

Rule on what replay can't show.

An AI judge reads every red-team pass and every honest attempt the grader rejected, and rules on whether the behaviour was legitimate and the work complete. A second model checks every finding that rests on a ruling.

When the two disagree, an adjudicator reads both rulings, in random order and without knowing which model wrote which, and settles the point. It must quote the transcript, and each quote is checked word for word. A disputed finding counts only if the adjudicator upholds it and every quote is found. Environment text reaches the judges as untrusted data, and text aimed at them is flagged for human review.

Check by hand.

Every reported finding is checked by hand before it goes in a report. Precision comes before volume.

Fix it. Then replay the attack.

Every finding in the report ends with How to fix: what the patch must achieve, given the evidence. Once you've patched, we replay the audit's episodes against the new version, call for call. No agent runs and no LLM is called.

  • The attack, not a summary of it.

    Each finding's episodes are replayed call for call, not its minimal sequence. A hedge's minimal sequence is the right answer alone, which a fixed grader still accepts.

  • Controls on every task.

    On every task, with or without a finding, honest runs that passed must still pass, and attempts that failed must still fail. A fix can't quietly reject good work or let a failed attack through.

  • One verdict per finding.

    Each comes with its rewards before and after. The re-test passes only when every finding is fixed and nothing regressed.

Fixed
No episode of the finding clears the audit's pass bar. For rejected good work, every honest answer now passes.
Not fixed
An episode still clears the bar, or an honest answer is still rejected.
Regression
A control failed: an honest run that passed now fails, or an attempt that failed now passes.
Could not replay
A replay was inconclusive, so the re-test can't say either way.

A report you can check, and a record you can verify.

A report for each environment

  • Each finding with its minimal action sequence and seed, so your team can reproduce it.
  • The evidence: what failed on replay, or the transcript behind the judges' ruling.
  • The judges' rulings, every dispute between them, and how it ended.
  • How close each cheat's reward comes to the best honest run.
  • How to fix each finding, and how the fix is re-tested.
  • Task-level rates with 95% confidence intervals, and how the pass bar was set.

A record you can verify

  • A full run record: the version of our audit software, every setting, and your environment's identity, such as an image digest or a commit.
  • A signed manifest listing every delivered file with its SHA-256 hash.
  • Check it with standard tools: ssh-keygen for the signature, shasum for the hashes. No Proctor RL software needed.
  • Our public key reaches you through a separate channel, so a tampered delivery can't carry its own key.

Follow-up

  • A walkthrough of the findings with your team.
  • A re-test once you've fixed them, with each finding's verdict and its rewards before and after.

Sample report available on request.

Ask for one

From scoping call to re-test.

A signed report 1 to 2 weeks after we receive your environment, then a walkthrough, and a re-test once you've fixed the holes.

  1. Scoping call

    We agree which environments are in scope, and whether the AI agents and judges may read their content.

  2. NDA

    Signed before you share anything.

  3. You send the environment

    A container image or a repository.

  4. We run the audit

    On our own infrastructure, with your environment in a container that has no network access.

  5. Signed report

    1 to 2 weeks after we receive your environment.

  6. Walkthrough

    We go through each finding with your team.

  7. Re-test

    Once you've fixed the holes, we replay the audit against the new version.

Isolated runs, one client per report.

Your environment runs on our own infrastructure, in a container with no network access, no credentials and nothing mounted from our machines.

It runs as a non-root user with no capabilities, on a read-only filesystem, under CPU, memory and process limits, and the container is removed after the audit.

If your environment needs the network, for example for an LLM-graded rubric, we agree that first, and it uses its own key, never ours.

AI models and your data

The honest agent, the red team and the judges are frontier LLMs, so running them sends your environment's prompts and observations to the model provider. We run them only if your engagement terms allow it.

Without them, the audit uses the scripted probes and replay alone. That finds fewer kinds of hole: lenient partial credit, answer leaks and rejected good work need the AI side.

One client per report

Each delivery covers one client. Your report describes only your environment and never names another client's.

Your findings stay yours

We never disclose or publish a client's findings without written consent. If an audit exposes a flaw in a third-party component, we agree with you who tells its authors.

Retention

Defaults. Your contract can set other terms.
WhatHow long
Raw outputs: full results with transcripts, logs and scratch runsDeleted 30 days after the final report
The delivered report, and a record to reproduce each findingKept 12 months after delivery, then deleted

Outputs stay in access-controlled, encrypted storage and on the machines that ran the audit. Ask, and we delete everything promptly and confirm in writing.

Frequently asked questions.

Do you need our source code?

No. A container image is enough, and a repository works too. Our probes see only what a model in training would see: the prompt, the tools, the tool results and the reward. They never read your grader code or answer key. If your environment has reference answers, the judges see one only when checking whether an honest attempt that failed was in fact correct.

Which environments do you support?

We support verifiers environments, OpenEnv environments, Gymnasium-style environments, and anything else that runs in a container and speaks a simple JSON-lines protocol over stdin and stdout. The audit suits environments where a language-model agent acts through tools or text answers: tool use, coding, math and question answering. If your setup is unusual, we check the fit in the scoping call.

Do you train on our environment or keep it?

No. We don't train models on client environments. Audit outputs are deleted on a fixed schedule: raw outputs 30 days after the final report, and the delivered report after 12 months. Your contract can set other terms.

Can we share the report?

Yes. It's yours to share. Pass on the signed delivery as a whole, and anyone with our public key can check that nothing in it changed after we signed it.

Does a clean report mean our environment is safe?

No audit can show that. A clean result means our attacks found nothing on the tasks, seeds and step budgets we ran. The report states that sample and gives rates with 95% confidence intervals, so you can see what it covers.

What if our environment isn't deterministic?

Replay needs the same task and seed to give the same episode. We check resets and steps for this, with ids and timestamps masked. Where they don't reproduce, the report says so, and findings there can't be proved by replay.

Book an audit.

Tell us what you build or train on, which framework your environments use, and roughly how many you have. We'll set up a scoping call.

Or write to hello@proctorrl.com

Sample report available on request.