Grader bypasses and verifier gaps in MiMo-V2.6-RL Code (Harbor) tasks
While digging through the tasks and verifier setups, we noticed a few edge cases where an agent can accidentally (or intentionally) bypass the grading checks. Where a route is not proven yet, the row says so.
We looked at the Hugging Face dataset FineEnvs/MiMo-V2.6-RL-harbor-code at revision cf87dbe4 (2026-10-09).
For every row below we read the task files at that version and traced the route from what the agent can touch to what the grader scores. We did not run the tasks unless a row says so.
Paths to reward without doing the work
format-code-task-000140: agent-added test files force a passing exit code (full score without doing the work)Before running the hidden tests,
tests/test.sh:14-29restores only the files listed at:24-26and leaves the rest of the tree as the agent left it, then gives reward 1 whenever the test command exits 0 (tests/test.sh:35-38); the test log is never checked. Here the test command, packed intests/test.patch:19-38, runsgo teston./disperser/dataapi/. A new_test.gofile in that package whoseTestMaincallsos.Exit(0)ends the run with status 0 before any test runs, so the task scores 1 with no fix; in Python tasks aconftest.pythat skips the tests does the same. We did not run this. Same reset logic and exit-code reward in all 4 tasks we inspected.- Suggested fix: Score from a machine-readable report that must show each named hidden test as passed, and drop agent-added or agent-edited test files and test config before running. Harbor: A separate verifier does not close this, because the planted files are part of the repository the grader must test.
format-code-task-000395: graded program writes the reward file (full score without doing the work)The hidden test script runs the agent's
wxPython/RunScript.pywithpython3(tests/test.patch:16,:224-243) as root (task.toml:25), so that program can write/logs/verifier/reward.json.tests/test.shwrites onlyreward.txt(:37) and never removesreward.json, which Harbor reads first. A second route avoids a zero: a folder left where the patch addsusercase-test-coderl/usecase.shmakesgit applyfail, sotests/test.sh:29-33exits with no reward and the trial is recorded as an error, not a fail. A root agent can also delete/var/lib/mimo/base(tests/test.sh:8); root is inferred from setup, as the image is not in the task files. We did not run this. Sametests/test.shin all 4 tasks we inspected, and every task's tests run the agent's code.- Suggested fix: Run the test command as an unprivileged user that cannot write
/logs/verifier, write the final reward to bothreward.jsonandreward.txt, and keep the base commit id with the uploaded tests rather than in the agent's container. Harbor: A separate verifier does not close the first route, because the tests must run the agent's code; the explicit[verifier] user = "root"(task.toml:25) lets that code write the reward folder.
- Suggested fix: Run the test command as an unprivileged user that cannot write
format-code-task-000140: root grader runs agent-controlled git and shell settings (full score without doing the work)The grader runs
git add -A,git diff,git checkoutandgit applyas root inside the agent's repository (tests/test.sh:12-30,task.toml:25), using the.gitfolder that setup leaves in the agent's tree (environment/setup/setup.sh:17-22,:30-51). Settings the agent writes there, such as acore.fsmonitorcommand or a clean filter in.git/config, run as root duringgit add -Aand can write/logs/verifier/reward.json. The test command also starts a login shell (exec bash -lc,tests/test.patch:38), so in Harbor's default shared container an agent-written/root/.bash_profilethat runsexit 0ends the test command with success. Writing/rootneeds a root agent, which we infer from setup but cannot see, as the image is not in the task files. We did not run this. Same git steps in all 4 tasks we inspected; 2 of the 4 test commands usebash -lc.- Suggested fix: Apply the agent's diff to a fresh, trusted checkout of the base commit instead of running git inside the agent's repository, and start the test command without a login shell. Harbor: Setting
environment_mode = "separate"under[verifier]and a non-root[agent] usercloses the login-shell route but not the.gitroute, since the repository travels with the deliverable and the agent must be able to write it.
- Suggested fix: Apply the agent's diff to a fresh, trusted checkout of the base commit instead of running git inside the agent's repository, and start the test command without a login shell. Harbor: Setting
format-code-task-002399: hidden tests compare through a helper in the package under test (full score without doing the work)Every new assertion in the hidden tests goes through
pp.testing.assert_closefrom thepyposepackage the agent edits (tests/test.patch:40-85,:130-155). The grader resets only the two test files and the command script (tests/test.sh:24-26), and the test command reinstalls the agent's package withpip install -e .(tests/test.patch:169). Makingassert_closedo nothing, and adding aleftargument to the in-place functions so the calls do not raise, passes every hidden test without fixing the direction bug. We did not run this.- Suggested fix: Compare results in the hidden tests with
torch.testing.assert_closeor a helper shipped with the tests, not one from the package under test.
- Suggested fix: Compare results in the hidden tests with
format-code-task-000140: hosts-file block the root agent can remove (reads the upstream fix; likely, not proven yet)task.toml:32setsnetwork_mode = "public"; the only block on answer sources is 61 host names appended to/etc/hostsduring setup (environment/setup/setup.sh:54-57, list inenvironment/setup/files/blocklist). Direct IP addresses and unlisted mirrors are not blocked at all, and a root agent can delete the lines (setup keeps the original at/var/lib/mimo/hosts.preblock). We infer the agent is root but cannot see it: the image is not in the task files, and with no[agent].userthe agent runs as the same default user as setup, which must be root to write/etc/hosts. For tasks built from public repositories this reaches the upstream fix; the task files do not settle whether each task's fix is published. Same network setting and blocklist in all 4 tasks we inspected.- Suggested fix: Use
network_mode = "allowlist"with only the model API host (and a pinned package mirror where installs are needed) instead of the hosts-file list. Harbor: The agent can edit/etc/hostsonly because no[agent].useris set (we infer it is root); a non-root agent would keep the list in place, but unlisted hosts would still be reachable.
- Suggested fix: Use
Lower-impact notes
These only weaken a check and do not change a score on their own.
Lower-impact notes (2)
format-code-task-002537(Weakens a check (test checks only that no warnings were logged)): The test command, packed intests/test.patch:42-46, runs only the new hidden test (tests/test.patch:9-31), which callsquery_history_events()on a mocked fee-bearing movement and asserts only that no warnings or errors were logged (tests/test.patch:30-31). The events it produces are never inspected, so a change that silently drops fee-bearing movements passes. Suggested fix: Assert on the produced history events (asset, amount, fee and type) for both a deposit and a withdrawal.format-code-task-000140(Hygiene only (timeouts and runner crashes scored as 0)):tests/test.sh:35-38writes reward 0 for any non-zero exit of the test command, including atimeoutkill (status 124) and a failed unpack of the build environment, while only reset and patch failures leave the trial unscored (tests/test.sh:29,:30-34). Grading failures therefore count as agent failures. This can only lower scores. Same in all 4 tasks we inspected. Suggested fix: Treat status 124 and build-environment failures as unscored (exit without a reward), like the reset and patch failures.