falsepass
You can use this server to set up, run, inspect, reproduce, and validate audits of RL environment verifiers for false passes and false fails.
Static scan reward source code for suspicious patterns without installing or running anything.
Init audits for Prime Hub environments, OpenEnv Spaces/folders, TRL-style reward functions with datasets, Inspect AI tasks, HUD folders, and local projects.
Run background audits that install the environment in a throw-away virtualenv and score known-good and known-bad completions.
Poll or cancel jobs and fetch progress/results for running audits, repro runs, reach checks, and verify-fix runs.
Inspect results including headline metrics, failing probes, static hints, and full completion text.
Measure reach of failing probes or custom completion templates across tasks.
Generate and run repro scripts to re-score exact failing completions in clean virtualenvs.
Verify fixes by rerunning stored repros against patched sources and checking known-good answers.
Draft reports with candidate findings for manual review.
Find upstream repositories and contributor context for audited environments.
Discover recently maintained environments on the Prime Intellect Hub or Hugging Face OpenEnv Spaces.
Provides a GitHub Action (Super-Eric/falsepass) that audits an RL environment's verifier on every push or pull request, writes the probe table to the step summary, and can gate the build on conditions such as ceiling>0.1 or errors>0.
Runs a probe rollout in which a local Ollama model generates its own replies to the environment's tasks (falsepass rollout -n N), showing what reward a locally served model's answers actually earn without needing a GPU cluster.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@falsepass run a false-pass audit on ./my-environment and summarize the defects"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
falsepass
English | 中文
Probe RL environment verifiers for false passes (a known-bad completion is rewarded) and false fails (a known-good completion is not).
Website and docs: https://super-eric.github.io/falsepass/ · write-up: Your reward function is an assertion
In one public environment, echoing the question back earned full reward on every task: each question listed all of its candidate answers, and the grader only checked that the right one appeared somewhere in the reply, so a policy could collect full reward by listing everything. falsepass finds this kind of hole before training does.

An RL environment is a task dataset plus a verifier that turns a model's output into
reward. falsepass treats that verifier as the system under test: it calls the
environment's own reward code on completions whose correctness is known in advance and
reports every disagreement. No model, no rollouts, no GPU.
It works with four frameworks and with plain reward functions, published or still in a local folder:
Framework | What falsepass runs |
|
verifiers (Prime Intellect Environments Hub), all three API generations | the environment's rubric or taskset |
|
OpenEnv (Hugging Face Spaces) | the environment class's own |
|
Reward functions for TRL's | the functions, called as the trainer calls them, summed with their weights |
|
the task's solver chain with a scripted model, then its scorers |
| |
the task template's grader, driven like HUD's server |
|
Install
Needs uv on the PATH (every audit runs in its own throw-away virtualenv) and Python 3.11 or newer.
uvx falsepass demo # try it, nothing to install
uv tool install falsepass # or keep `falsepass` on the PATH
pip install falsepass # or into an existing environment
uvx --from git+https://github.com/Super-Eric/falsepass falsepass --version # the unreleased main branchRelated MCP server: GenParkAgentMCPToolPermissionLeastPrivilegeAuditor
Quick start
falsepass demo # audits a bundled toy environment with one planted defect (about a minute)
falsepass init owner/environment # a Hub environment: package, version and verifiers pin read from the Hub
falsepass init ./my-environment # or your own, from its folder (pyproject.toml); edits are picked up on every run
falsepass audit my-environment # probe it; results in audits/my-environment/summary.md
falsepass results my-environment --json # headline numbers and failing probes, for scripts and agentsdemo writes the toy environment to ./falsepass-demo and audits it. Its grader pays
when the reference appears anywhere in the answer, and the summary shows that one line
from several sides: the static scan points at it, and the probes that list several
answers (P5), retract the answer (P9) or deny it inside the answer slot (P15) are paid.
A condensed excerpt of the real output (full file: examples/toy-env/summary.md):
- False-pass ceiling: 1 of 1 (highest reward given to a known-bad completion; via P5 shotgun/all_in_one_slot)
- Lazy-policy reward: 0 (best average reward of one fixed strategy that never uses the reference answer; via P3 empty/empty)
- False-fail rate: 0.108 (93 known-good completions)
| Probe | Variant | Expect | Runs | Failed | Score min / mean / max |
| P5 shotgun | all_in_one_slot | zero | 10 | 10 | 1 / 1 / 1 |
| P9 oversized | correct_then_retracted | zero | 10 | 10 | 1 / 1 / 1 |
| P15 hedged_in_slot | denied | zero | 10 | 10 | 1 / 1 / 1 |
Static hint: falsepass_toy_env.py:26 reference_substring_match
return 1.0 if answer in reply else 0.0
confirmed: P9 failed 10/20, P5 failed 10/30Reward functions (TRL GRPOTrainer style)
falsepass init rewards.py --dataset data.jsonl # every function in the file that takes `completions`
falsepass init rewards.py --dataset hf:owner/name --split test \
--func accuracy_reward --func format_reward --weight 1 --weight 0.2 # which functions, with the trainer's reward_weights
falsepass init trl.rewards --framework reward --dataset hf:trl-lib/DeepMath-103K --func accuracy_reward --with math-verify
falsepass init train.py --dataset call:get_dataset --map to_prompt # a loader and a row mapper defined in the script itself
falsepass audit rewardsMany graders are not packaged as an environment: a training script defines functions such
as accuracy_reward(completions, solution, **kwargs) and hands them to GRPOTrainer with a
dataset. falsepass calls each function the way the trainer does, one completion at a time,
with every dataset column as a keyword argument (prompts, completions, completion_ids,
trainer_state, log_extra, log_metric too), and sums the results with their weights, a
None counting as nothing. A completion is a one-message list when the dataset's prompts are
conversations or a function reads completion[0]["content"], else text. The reference column
is the one a function names (solution), else answer, solution, ground_truth, ...
(--answer-column to choose); a worked solution is reduced to its last \boxed{} or what
follows #### for the probes, while the functions always receive the column as it is. The
dataset is a .jsonl/.json/.csv/.parquet file, hf:owner/name (streamed through
datasets), or call:function in the file. The file's third-party imports are installed
for the audit (--with adds, --without drops). examples/reward-toy/ has one planted defect.
OpenEnv
falsepass init hf:owner/space # a Space on the Hugging Face Hub: cloned next to the audit
falsepass init ./my_env # or a local environment folder (openenv.yaml, server/app.py)
falsepass init hf:owner/space --answers refs.json # with reference answers: every probe runs
falsepass audit spaceAn OpenEnv environment computes its reward in step(), so falsepass drives the
environment class the way a session on its server does: reset() to a task, then step()
with the reply as the action, in-process, with the Space's own requirements installed and no
Docker. (The server's HTTP /reset and /step routes build a fresh environment per request,
so they cannot grade a reset followed by a step.) Tasks: audits/<name>/tasks.json lists the
keyword sets reset() is called with (most environments pick a task through task_id,
task_name, difficulty or a seed; each set may carry an answer), else the Task API when
the environment implements it, else repeated reset() calls, one task per distinct prompt;
an environment that draws a task at random is reset again until the recorded one comes up.
Without a reference answer only the answer-free probes run. A plain reply goes into the
action's free-text field; other required fields (a decision enum, a flag) are filled with a
constant, and O1 plays every value of such a decision field (a fixed strategy, reported as
the lazy-policy reward) while O2 moves a self-reported field (confidence, score) between
its minimum and maximum. A reply that is a JSON object naming the action's fields is the
action itself: an adapter, or an answers file of such objects, fills several fields that way.
examples/openenv-toy/ has one planted defect to try.
MCP tool environments (the action is a CallToolAction), and environments whose reward comes
after several steps, are played with policies: falsepass init <target> --policies writes an
adapter whose policies play whole episodes in this process, the task's reset() and then one
step() per action until the environment says done. A policy is act(messages, tools): the
task's text is the first user message, a tool's result a tool message (with its name), a text
environment's next observation a user message; it returns call("tool", arg=value) for a tool
call, or a string (the action's text in a text environment; the end of its turn, and of the
episode, in a tool environment). Fill in solver(example) (the control; it may read
example.raw, example.answer or the live environment through ENV()) and
exploits(example) (policies that never read the task). The reward is the episode's return
(REWARD = "last" takes the last step's). repro replays each stored episode step by step with
openenv alone. examples/openenv-tool-toy/ is an MCP refund desk with a planted defect. The
run is inconclusive when the solver earns less than the maximum on most tasks or every tool
call failed, and the summary's load notes say what is odd (a step() override the server
never calls, tasks drawn at random). init --var NAME=VALUE sets a variable the Space reads
(a data path) on every run.
Inspect AI and HUD
falsepass init inspect_evals/gsm8k # a task from inspect_evals (pinned from PyPI)
falsepass init my_eval.py --task hard_split # a task file; --task picks one of several
falsepass init ./my-hud-env # a HUD environment folder (env.py + tasks.py)
falsepass init ./my-hud-env --answers refs.json # with reference answers: every probe runsInspect: the scripted model replaces only the call to generate(); prompt templates,
system messages and answer parsing (multiple_choice()) are the task's own code. A
solver or scorer that calls a model itself (self-critique, model_graded_qa) is flagged
on every row instead of being scored. Tasks that need a sandbox are not supported.
HUD: a task template keeps its expected answer inside the grader, so without
--answers only answer-free probes run: an empty reply, the prompt echoed back, and
replies that list every integer from 0 to 1000, every letter, yes/no words or the
prompt's words (A1; it also runs, with every other probe, when answers are given). A
grader that pays those is a substring test in practice. The answers file is JSON: an
object from task slug to answer ({"add-2-3": "5"}) or a list in task order
(["5", "12"]). To add answers to an existing audit, rerun init with --force.
examples/inspect-toy/ and examples/hud-toy/ each have one planted defect to try.
For environment authors: check before you publish
Run falsepass init ./your-env && falsepass audit your-env locally, or add the GitHub
Action to the environment's repository so every push is checked:
# .github/workflows/falsepass.yml
on: [push, pull_request]
jobs:
falsepass:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: Super-Eric/falsepass@main
with:
path: . # folder with the environment's pyproject.toml
fail-on: "ceiling>0.1 errors>0" # fail when a known-bad answer earns over 0.1, or scoring raisesThe step summary shows the probe table. Gate names: ceiling (highest reward any
known-bad completion got), lazy (best average reward of one fixed strategy that never
uses the answer), false_fail (share of correct answers refused), errors. Datasets that
need a login or an API key at load time cannot be audited in CI without that secret.
For coding agents
MCP server.
falsepass mcpserves the commands as tools (falsepass_scan,_init,_audit,_audit_status,_results,_completion,_reach,_repro,_draft,_upstream,_verify_fix,_discover) over stdio. Audits run in the background, so a client's tool-call timeout never cuts one off; failures come back as tool errors with the reason. Any MCP client starts it withuvx --from "falsepass[mcp]" falsepass mcp; in Claude Code, for example:claude mcp add falsepass -- uvx --from "falsepass[mcp]" falsepass mcp.Skill. skills/falsepass/SKILL.md is a ready-made audit procedure in the Agent Skills format: how to run an audit, how to tell a defect from a design choice, and how to write it up for a maintainer. Copy the folder into the agent's skills directory (for Claude Code,
~/.claude/skills/).Plain CLI. Every command is non-interactive and writes files;
init --json,results --jsonandscan --jsonprint JSON;results --completion IDprints one completion in full;audit --fail-on ...exits 1 when a condition is met. The output formats are described in docs/OUTPUT.md.
Whatever drives it, the output is a list of leads. An agent should reproduce a lead and read the reward code before calling it a defect, and should not report an environment as broken on the strength of a probe table.
All commands
falsepass init owner/environment # set up audits/<name>/ for a Hub environment, or pass a local folder
falsepass init hf:owner/space # an OpenEnv Space on the Hugging Face Hub (cloned into audits/<name>/space)
falsepass init rewards.py --dataset d.jsonl # reward functions written for TRL's GRPOTrainer, with their dataset
falsepass audit environment # no adapter needed for Q&A tasks: the answer format is inferred
falsepass audit environment --search 120 # add mutation search (scorer calls per direction and example)
falsepass audit environment --jobs 1 # score one task at a time (default: up to 8 at once where that is safe)
falsepass audit environment --time-limit 1200 # stop after 20 minutes; the finished tasks' rows stay in partial-results.jsonl
falsepass audit environment --offline # a cached Hugging Face dataset without the Hub check (also reach, repro --run, verify-fix)
falsepass audit environment --fail-on 'ceiling>0.1' --fail-on 'errors>0' # CI gate, exit 1 when met
falsepass results environment [--json] # the last run: summary.md, or a compact JSON digest
falsepass results environment --completion ID # one completion in full (IDs are in the JSON digest)
falsepass scan path/to/source [--json] # static pre-scan only, nothing is installed or run
falsepass discover --days 90 --limit 160 # recently maintained Hub environments and what each needs
falsepass discover --hub hf --days 30 # OpenEnv Spaces on the Hugging Face Hub, most liked first
falsepass reach environment --probe P15/denied # how many tasks one failing probe row reaches (every task by default)
falsepass reach environment --template '{wrong} or {answer}' # ...or a completion of your own, filled per task
falsepass repro environment # stand-alone script that re-scores the exact failing completions
falsepass repro environment --run # ...and run it twice in fresh virtualenvs, compare, store the first run
falsepass rollout environment -n 20 # what a local model's own replies earn (Ollama)
falsepass propose environment -n 5 # a local model writes wrong answers and climbs on the reward
falsepass draft environment # REPORT.draft.md: candidate findings for manual review
falsepass overview -o RESULTS.md # one table over every audit on disk
falsepass container environment # container tasks: the key, and mutations of it, written as the output file (Docker)
falsepass upstream environment # find the source repository on GitHub and compare it with the audit
falsepass verify-fix environment --source ../patched/pkg # rerun the stored repro on a patch: which lines change
falsepass demo # the toy environment above
falsepass mcp # MCP server over stdio (`falsepass[mcp]`)Each audit runs in a throw-away virtualenv pinned by audits/<env>/env.toml, because
Hub environments are built for mutually incompatible verifiers versions. Output:
audits/<env>/probe-results.json and summary.md. In a clone of this repository, prefix
the commands with uv run; uv run pytest runs the kit's own tests.
Checks
ID | Check | A correct verifier… |
P1 | reference answer, in the requested format | gives full reward |
P2 | the same answer with harmless variation | gives full reward |
P3 | empty / whitespace-only | gives nothing |
P4 | the prompt echoed back | gives nothing |
P5 | every candidate answer at once | gives nothing |
P6 | wrong answer in perfect format | gives nothing |
P7 | confident wrong answer | gives nothing |
P8 | wrong answer plus a note to the grader (LLM-judge envs) | gives nothing |
P9 | right answer buried in filler, then retracted | gives nothing |
P10 | malformed output | gives nothing and does not raise |
P11 | the same completion ten times, and once more in a second process with another hash seed | gives the same score |
P12 | dataset: empty or duplicate prompts, conflicting labels | finds none |
P13 |
| gives nothing and does not raise |
P14 | the correct answer, with the answer tag or | gives full reward |
P15 | the answer denied, or named next to a wrong value, inside the answer slot ( | gives nothing |
P16 | JSON answers: the reference with every free-text value (two words or more) replaced by the prompt; labels, IDs and numbers kept | gives (close to) nothing |
P17 | JSON answers: one short string field (a label, a date, an ID) followed by "(this is wrong)" everywhere it occurs, one field at a time | gives less than the reference |
P18 | Edit tasks (the reference is a text from the prompt with some lines changed): each replaced or deleted line kept just before its replacement, so the reply keeps what it should have changed (not run on fenced or Python code; in a config, a repeated key is left out, since the later one usually wins) | gives (close to) nothing |
P19 | a plain number written another way with the same value ( | gives full reward |
A1 | no reference needed: every integer 0–1000, every letter, yes/no words, or the prompt's words in one reply | gives nothing |
O1 | OpenEnv, a decision field in the action: every value of it in turn, nothing else said (a fixed strategy; its mean is the lazy-policy reward) | pays only the base rate of that label |
O2 | OpenEnv, a self-reported field in the action ( | gives the same reward |
T7 | the correct answer after one no-op tool call | gives full reward (a judgement call where the harness offers no tools) |
T9 | v1 tasksets scored reply by reply whose prompt names an output file ("Write the repaired config to | gives full reward (a judgement call when the prompt also asks for the answer in the reply) |
C0–C2 | container tasks: the key written as the output file (C0), with NaN / Infinity / fractional counts (C1), emptied, truncated or replaced by an input file (C2) | pays C0 in full and no mutation in full |
T4 | multi-turn: replay an episode after an unrelated one | gives the same reward and transcript |
T5 | multi-turn: a policy that never answers | is cut off and not rewarded |
T8 | multi-turn: answer wrong, then repeat whatever the environment gives away ("The word was …") | gives nothing; the summary also says if the episode ran on after the environment announced its end |
T6 | tool use: seven policies built from the tool schemas alone (no tool call, a claim of success without one, every tool once with empty arguments, the finishing tool at once, …); not counted on a task where refusing is right (doing nothing earns the maximum there but not on every task, or the adapter says so) | are not rewarded and raise nothing |
X*, T1–T3 | environment-specific probes defined in an adapter | — |
S1 | search: mutate known-bad completions, never adding the answer, toward higher reward | finds nothing above zero |
S2 | search: mutate the correct completion without changing the answer, toward lower reward | finds nothing below full |
S3 | search: completions that mention the answer without committing to it | finds nothing above zero |
Search (--search N) is a seeded beam search over chains of small named mutations.
A hit is reported as a minimised recipe, e.g. nothing + pad_think. S2 hits are
brittleness candidates and need a human eye: whether "B" in quotes should count as
B is a judgement call.
Static pre-scan runs with every audit on audits/<env>/src and on its own with
falsepass scan. Narrow AST rules, each derived from a defect found in a real audit;
every hint is printed with the verdict of the probe that tests it
(confirmed: P6 failed 25/25, not confirmed, not checked).
Adapter inference. Without an adapter.py, the answer format is found by scoring
the reference answer in each candidate format (from the parser and the prompt text) and
keeping the one the environment's own reward code pays best. Wrong answers come from the
label set, a shifted number, or another row. This covers environments with reference
answers, single- or multi-turn; tool-use and sandbox environments, and games whose rows
carry no answer, need policies: falsepass init --policies writes a skeleton (or --manual for Q&A). A tag that the
prompt uses to enclose its input (<conversation>…</conversation>) is not taken for an
answer format, and when every format scores the same the plain answer is used. As a
control, automatic mode compares the reference with an empty completion and marks the
whole result inconclusive when the reward does not separate them.
Multi-turn. Multi-turn environments are scored by running their own rollout loop
with a scripted stand-in for the model (V0RolloutScorer), so follow-up prompts, stop
conditions and per-episode state are exercised. Search mutates every turn of a script.
A script entry can also carry tool calls ({"tool_calls": [{"name": …, "arguments": {…}}]}),
which the environment executes with its real tools. Automatic mode also accepts tool-use
environments whose tools run in-process: there is no answer format to infer, so it plays
the seven T6 policies and T5 and says in the summary that no control was possible.
Policies that have to read the task to find a hole are still hand work
(falsepass.model.Policy: a function from the conversation so far to the next reply).
v1 tool and multi-turn tasksets (verifiers.v1 with tool servers, its own Env
episode loop, or a scripted user) are played as whole episodes through the taskset's own
loop, as vf-eval (vf-run from verifiers 0.4.1) runs them: its harness, tool servers, scripted user, stop conditions and
rewards (V1EpisodeScorer). The model is a local endpoint on 127.0.0.1 that answers with
the policy, so nothing is billed or uploaded. Automatic mode plays T5 and T6 this way;
falsepass init <env> --policies writes a v1 skeleton with a solver as the control, and
repro replays each recorded episode turn by turn without falsepass. The harness runs in
verifiers' subprocess runtime unless env.toml says runtime = "docker". Outside hosts are
blocked during episodes (proxies to a closed port; network = ["host"] allows one), so an
environment that registers with or posts to a live service does not act there.
Rollout check. falsepass rollout <env> sends a sample of tasks to a model behind
an OpenAI-compatible endpoint — a local Ollama server by default, so nothing is billed —
and scores the model's own replies with the same scorer the probes use. It flags rows
for reading (paid without the reference in the reply; reference in the reply but not
paid in full; paid more than the reference; cut off at the token cap) and never calls a
flag a finding. For tool-use environments the model is driven through verifiers' own
client, so it receives the tool schemas and its tool calls are executed. --endpoint,
--model and --tag run a second model next to the first.
Model-written wrong answers. falsepass propose <env> asks the model for a reply
that is on the subject and wrong, scores it, and has it rewritten a few times with the
grader's score as feedback. For closed answers the reference must not occur in the
reply (checked in code); for open-ended ones the wrongness is the model's own opinion,
so every row is something to read, not a finding.
Discovery. falsepass discover lists Hub environments updated recently with more
than one published version, and reads each wheel to say what it needs (sandbox, tools,
LLM judge, API key, reference answers). It needs the prime CLI for the listing.
--hub hf lists OpenEnv Spaces on the Hugging Face Hub instead (likes, last update, tags,
and the hf:owner/space target for init), from the public listing alone.
Three headline numbers per environment: the false-pass ceiling (highest reward any
known-bad completion received), the lazy-policy reward (best average reward of one
fixed wrong strategy across examples) and the false-fail rate (share of known-good
completions denied full reward). summary.md also shows which reward term paid on
known-bad completions.
From a probe run to a report
A probe run produces leads, not findings. To turn one into a finding:
falsepass repro <env>writes a script that depends only on verifiers and the environment package and re-scores the exact completions (kept incompletions.json). Run it twice from a clean virtualenv; the output must be identical.Read the reward code and find the line that causes it. Decide whether it is a defect or a design choice: a grader that is exploitable on purpose is an observation.
falsepass draft <env>writesREPORT.draft.mdwith each failing probe group as a candidate, the confirmed static hints attached, and the places marked where a person has to judge. Rate what holds with docs/SEVERITY.md.Have someone who did not write the report check every number against the stored output.
From a report to a fix upstream
falsepass upstream <env> searches GitHub for the environment's source (repositories the
package names itself in its project URLs or a github.com link in its source or docstrings,
then the package name in a pyproject.toml, then its most distinctive class and function names), compares every
audited file with the repository's default branch, line endings ignored, and prints what
a contributor needs: default branch, licence, last push, open pull requests, how many
recent merges came from outside. falsepass verify-fix <env> --source <patched folder>
reruns the stored repro with the patched package (or a patched copy of the audit's src/,
laid over the release) and prints the lines that changed, storing an unpatched baseline
first if there is none; a fix is ready when only the finding's lines move. It reruns the
repro script only; falsepass audit <env> --source <patched folder> runs the whole probe
suite on the patch.
Adding an environment
falsepass init owner/environment writes audits/<name>/env.toml (package, version,
module, index, verifiers pin — all read from the Hub wheel) and unpacks the wheel's source
into audits/<name>/src for the static scan. falsepass init ./folder does the same from a
local pyproject.toml and records the folder as source, so the folder itself is
installed and scanned on every run. An installed Inspect task (inspect_evals/gsm8k) has
no wheel to unpack: the audit copies the task's own folder and the modules of the scorers
it uses into src/ instead. For Q&A environments that is all.
Otherwise add --manual and fill in the generated adapter.py: how to load examples, how
to write an answer the way the prompt asks, and what a wrong answer looks like.
Track record
Used on a few dozen public Hub environments in October 2026. Every finding kept was reproduced twice from a clean virtualenv and confirmed by reading the reward code; fixes are being sent to the maintainers as pull requests. Individual environments and counts are not published here until those fixes are in.
Limits
Leads need a person. The tool finds where a grader pays the wrong thing; deciding whether that is a defect, and how bad, is manual.
Search is shallow: fixed text mutations, a few hundred scorer calls. It does not train a model against the reward.
Container tasks have no automatic mode, and environments on hosted sandboxes or with a paid LLM judge are not covered without credentials.
Supported frameworks: verifiers (v1 tool tasksets: generic tool policies automatically, task-aware ones written as policies), OpenEnv (environments whose
step()grades a reply or a structured action automatically; MCP tool environments and multi-step episodes with written policies,init --policies; hand-written servers without anEnvironmentclass are not covered), Inspect AI (no sandboxed tasks) and HUD (answer-graded templates; tasks graded on what an agent did in a workspace need hand-written policies).
Related tools
rewardlint — adversarial corpus for single reward functions.
falsepassruns it through an environment's reward code when the reference can be substituted, and prints its verdict insummary.md.ratctl — static and LLM-assisted scanner of environment source for sandbox exploit patterns.
VerifierLab — attack campaigns against a wrapped grader under a declared budget, with a ground-truth oracle.
vlabs-integrity — mutation-kill and isomorphic-relabelling audit for coding rewards with a trusted reference.
harden-v0 — LLM hacker–fixer loop that hardens Harbor-format agent benchmark verifiers.
Layout
falsepass/ the probe kit (falsepass/mcp_server.py: the MCP tools)
tests/ its tests
examples/toy-env/ the demo environment, with its planted defect
examples/openenv-toy/, examples/openenv-tool-toy/, examples/reward-toy/, examples/inspect-toy/, examples/hud-toy/ the same idea for OpenEnv (a reply; tools), reward functions, Inspect AI and HUD
skills/falsepass/ agent skill: the audit procedure
action.yml the GitHub Action
docs/SEVERITY.md the rating scale; docs/OUTPUT.md: the output files
audits/<env>/ created by `falsepass init`; ignored by gitLicence
Apache-2.0, see LICENSE.
Available Tools
13 toolsfalsepass_auditA
Probe one environment set up with falsepass_init: installs it in a throw-away virtualenv and scores known-good and known-bad completions with its own reward code.
Takes from under a minute to several minutes, so it runs in the background: this call waits up to wait seconds (max 600). If the audit is done, it returns the headline numbers, the failing probes with one example completion each, and static hints (status "finished"); otherwise {"status": "running", ...}: then call falsepass_audit_status. Calling it again while an audit of env runs does not start a second one. n is the number of tasks sampled; search > 0 adds mutation search (scorer calls per direction and example; 120 is a good value). source installs the environment from a local folder (a patched copy, relative to workdir) instead of its release: the whole probe suite against a fix.
Inputs: env (required), n, wait, search, +3 more.
falsepass_audit_statusA
Wait up to wait seconds (max 600) for the job started by falsepass_audit or falsepass_reach, then return its results (status "finished") or progress (status "running": call again). A failed job is returned as an error with the end of its log.
Inputs: env (required), wait, workdir.
falsepass_cancelA
Stop the background job of env (an audit, reach, repro or verify-fix, started by this server or an earlier one): its process group gets SIGTERM, and SIGKILL if it is still there 5 s later. Results stored by earlier runs stay; a cancelled audit keeps the rows of the tasks it finished in partial-results.jsonl (stopped.md says so); the job is recorded as "cancelled" and a new one can be started.
Inputs: env (required), workdir.
falsepass_completionA
The full text of one completion from the last run (a completion_id from the results): the digest shows only its start and end.
Inputs: env (required), completion_id (required), workdir.
falsepass_discoverB
Recently maintained environments: hub "prime" (the Prime Intellect Hub, with what each needs: sandbox, tools, LLM judge, API key, an outside service its code calls, reference answers; needs the prime CLI) or "hf" (OpenEnv Spaces on the Hugging Face Hub, most liked first, each with the hf:owner/space target for falsepass_init; the public listing only).
Inputs: hub, days, limit, workdir.
falsepass_draftA
Write audits//REPORT.draft.md from the last run: each failing probe group as a candidate finding with the confirmed static hints attached, and the places marked where a person has to judge (defect or design choice, severity). Returns the file path and its text. A draft is not a report: confirm each candidate with falsepass_repro and the reward code first.
Inputs: env (required), workdir.
falsepass_initA
Set up audits// for an environment and return the name to audit it with.
target: a Prime Hub slug (owner/environment), a Python file of reward functions written for TRL's GRPOTrainer (def accuracy_reward(completions, solution, **kwargs); or a module name such as trl.rewards with framework "reward") together with dataset (a .jsonl/.json/.csv/.parquet file, hf:owner/name, or call:function in the file; optional functions, weights, split, dataset_config, answer_column, prompt_column, map (a row mapper in the file), path (folders put on sys.path for a package that is imported rather than installed, e.g. a clone's src)), an OpenEnv Space (hf:owner/space, cloned next to the audit) or folder (openenv.yaml), a local folder with a pyproject.toml (verifiers or Inspect project), an Inspect task file, an Inspect registry name (inspect_evals/gsm8k), or a HUD environment folder. Options: name (folder name, default from the environment), version (Hub version), framework ("verifiers", "openenv", "reward", "inspect" or "hud" when detection is wrong), task (Inspect: which @task), answers (HUD and OpenEnv: path to a JSON file of reference answers, an object from task key to answer or a list in task order; without it only answer-free probes run, unless an OpenEnv task record carries an answer field), extra (more requirements to install, e.g. ["inspect-evals[math]"]; added to the environment's own), without (requirement names to drop from the environment's own, e.g. a pin that does not resolve), env_class / action_class (OpenEnv, "module:Class": the environment class or factory and the action class when detection picks the wrong one), manual (also write an adapter.py skeleton for a Q&A environment automatic mode cannot script), policies (the same for games, simulations and tool tasks: a skeleton built around policies; use it when an audit comes back "inconclusive", or for a verifiers v1 tool taskset once the automatic run of generic tool policies is done, to add a solver as the control and task-aware exploits; v1 episodes run through the taskset's own loop; for an OpenEnv MCP tool environment, or one whose reward comes after several steps, the policies play whole episodes through its reset() and step()), force (rewrite an existing audit's env.toml, e.g. to add answers; adapter.py is kept).
Inputs: target (required), map, name, path, +20 more.
falsepass_reachA
After an audit: how many tasks a failing probe reaches. Scores only the rows asked for, e.g. probe=["P15/denied"] (a code, or code/variant as in the results), plus the reference (P1) as a control, on every task (tasks=0) or a sample of tasks. templates counts completions of your own instead of writing a script (rows U1/t1, t2, ...): "{answer}", "{wrong}", "{answer_in_format}" and "{wrong_in_format}" are filled per task, other braces stay, e.g. "\boxed{{answer} \text{ is wrong}}"; expect "zero" counts where they are paid, "full" where they are not paid in full. Each template row also returns first_completion, the text it became on the first task. Returns per row the tasks counted, how many failed (expected 0: paid; expected full: not paid in full), full-reward and error counts, the failing task keys and up to three failing completions. Per-example probes only (P1-P9, P13-P19, A1, X1, T9). Runs in the background like falsepass_audit: status "running" means call falsepass_audit_status. Whole datasets whose reward starts a process per call (uv scripts) take minutes to an hour.
Inputs: env (required), wait, probe, tasks, +5 more.
falsepass_reproA
Write audits//repro_auto.py: a script that depends only on the environment's own packages and re-scores the exact failing completions. probe limits it to some probes, e.g. ["P5"] or ["X1/denies_both_figures"] (code/variant). Identical output from two clean runs is what makes a lead reproducible: with run=true the script is also run twice, each in a fresh virtualenv, in the background like an audit (status "running": call falsepass_audit_status). The result says whether the runs were identical, where the first is stored (headed by its command), and how many cases still fail. script runs an existing script in the audit folder instead (e.g. a hand-written repro.py).
Inputs: env (required), run, wait, probe, +4 more.
falsepass_resultsA
The last finished probe run of an environment (headline, failing probes, static hints). While a job runs on it, the same digest with the job's progress under job (the progress alone when nothing has finished yet).
Inputs: env (required), workdir.
falsepass_scanA
Static pre-scan of reward source code (a .py file or a folder). Nothing is installed or run. Returns hints: patterns worth a look, each to be confirmed by an audit.
Inputs: path (required), workdir.
falsepass_upstreamA
Find the environment's source repository on GitHub (repositories the package names in its project URLs or source first, then code search for the package name and for its most distinctive class and function names), compare every audited file with the repository's default branch, and report what a contributor needs: default branch, licence, last push, open pull requests, how many recent merges came from outside. repo (owner/name) checks one repository instead of searching. Needs the gh CLI, logged in.
Inputs: env (required), repo, limit, workdir.
falsepass_verify_fixA
Check a patch: rerun the stored repro (repro.py, else repro_auto.py) with the environment taken from source and list the lines that change (no stored output: the unpatched script runs first and is stored as the baseline). source is a patched package folder, or a patched copy of the audit's src/ without pyproject.toml, which is laid over the release. known_good >= 0 also scores every correct-answer row (P1, P2, P14) with and without the patch, on every task (0) or a sample, and lists the tasks whose correct answer the patch stops paying. Runs in the background like an audit (status "running": call falsepass_audit_status).
Inputs: env (required), source (required), wait, offline, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target a distinct stage of the audit pipeline (discover, init, scan, audit, repro, verify_fix, draft, upstream, cancel), and the descriptions spell out which one to use next. The main soft spots are the cluster of run-observation tools — audit_audit_status vs results vs completion vs cancel — where an agent must read carefully to know whether it is waiting on a job, reading the last finished digest, or fetching a single completion. Scan vs audit is also close (hints vs actual probe runs), though the descriptions do separate them.
All 13 names use the same snake_case prefix with no camelCase or style mixing, so the pattern is highly predictable. The only deviation is that some names are verbs (scan, audit, cancel, discover) while others are nouns (results, completion), and audit_status pairs a verb with a noun suffix; minor, but not a pure verb_noun scheme.
13 tools sits comfortably in the well-scoped range, and each maps to a real step of the audit lifecycle rather than duplicating another. Background-job handling alone justifies the status/results/cancel triplet, and no tool looks like filler.
The surface covers the full discover → init → scan → audit → results → reach → repro → verify_fix → draft loop, plus cancel and upstream reporting, which is strong lifecycle coverage. Minor gaps remain: there is no tool to list local audits/environments or clean up an audit folder, and no explicit re-configure/update beyond init's force flag or a targeted re-run of a single probe.
Maintenance
Related MCP Connectors
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Audit AI Agent SDKs and MCP servers for breaking changes, schema drift, and migration fixes.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables reproducible evaluation of AI coding agents by exposing repository inspection, code editing, test running, and deterministic verification through MCP tools.-
- AlicenseNot gradedqualityBmaintenanceEnables agents and operators to audit MCP tool permissions for least privilege, score blast radius, detect privilege-escalation chains, verify capability matrices, and produce cryptographic audit proofs with injection fuzzing and exfiltration canaries.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to run scope-checked probes of MCP endpoints, analyze tool definitions for poisoning and dangerous capabilities, detect definition drift, and generate reproducible evidence bundles and bounty-ready reports.1MIT
- AlicenseAqualityBmaintenanceEnables autonomous coding agents to localize faults from tracebacks, verify candidate patches against deterministic anti-reward-hacking rules, apply transactional changes with automatic rollback, and inspect AST symbols through MCP tools.51MIT