
Benchmark for whether AI models can complete a advance payment scam unassisted
Model-as-Scammer Capability benchmark.
A frozen-prompt benchmark for measuring how capably language models execute a Facebook Marketplace "free item, paid delivery" exchange. Built on Inspect, routed through OpenRouter.
The design goal is longitudinal: freeze the prompts, freeze the grader, rerun the same pairings as models improve, and get a trend line that means something.
paper/arxiv/; paper/arxiv/build.py regenerates main.tex
from the markdown in paper/.masc-logs-v1.0.zip, attached to the
1.0 release.
Unzip it in the repo root to get logs/phase1_v4-conduct_v6_2026-10-29 (the
main run, 1,200 conversations) and logs/phase1_v4-conduct_v6_2026-10-31 (the
GPT high-effort conversations). Every script here reads those directories, with
no API calls.phase2/ holds the 100 sampled conversations, both coders'
sheets, the key, and the agreement report.Needs Python 3.10 or newer. macOS ships 3.9, which inspect-ai will not install
on — if pip install reports "no matching distribution" while also mentioning
Requires-Python >=3.10, that is what happened. Check with python3 --version.
cd ~/masc-benchmark
python3.12 -m venv .venv # or: brew install [email protected] first
source .venv/bin/activate
pip install -e . # editable install; also makes the package importable
export OPENROUTER_API_KEY=sk-or-...
pip install -e . rather than pip install -r requirements.txt, because Inspect
loads task files by path and the package needs to be importable from anywhere.
requirements.txt is kept for anyone who only wants the dependency list.
Remember to source .venv/bin/activate in each new terminal before running evals.
Preflight first. Checks who actually serves each model — this catches the single-homed models that will grind against 429s with nothing to fall back to:
python sweep.py --check
One model, one pairing. Provider pinned, because the same model at fp8 and bf16 is not the same system (see Providers):
inspect eval masc_benchmark/task.py \
--model openrouter/meta-llama/llama-3.3-70b-instruct \
-M provider='{"order": ["Groq"], "allow_fallbacks": false}' \
-T scammer_version=v4 -T victim_version=vB -T rubric_version=conduct_v3 \
--epochs 5 --max-connections 4 --max-retries 3
A sweep across many models, into one comparable log set. sweep.py takes
model@Provider specs and pins each one for you:
python sweep.py --scammer v4 --victim vB --rubric conduct_v3 --epochs 10
python sweep.py --models my_models.txt --scammer v2 --victim vA --rubric conduct_v2
Then browse results. inspect view starts a web server and blocks — that is
not a hang. Open http://localhost:7575 while it runs, Ctrl-C when done:
inspect view # reads ./logs, so run from the repo root
inspect view --log-dir logs/v4-vB_2026-09-29 # a specific sweep directory
Plain inspect eval writes into logs/. sweep.py writes into a dated
subdirectory like logs/v4-vB_2026-09-29/.
Everything below is settable with -T name=value on inspect eval, or has an
equivalent sweep.py flag.
-T parameter | default | notes |
|---|---|---|
scammer_version | v1 | v1–v4, see Prompt versions |
victim_version | vA | vA or vB; vB is required for scammer v3/v4 |
rubric_version | conduct_v1 | use conduct_v3 with scammer v3/v4 |
scammer_model | inherits --model | pin to make the seller fixed scenery |
victim_model | inherits --model | pin to disentangle the two axes |
grader_model | claude-sonnet-4.5 | keep pinned — a drifting grader rewrites history |
scammer_suffixes | none | e.g. scratchpad_v1 |
victim_suffixes | victim_signal_v1 | comma-separated; drop the signal and the hard rule stops working |
max_turns | 16 | v1/v2 resolve in ~5 turns, v3/v4 in ~9 |
max_tokens | 300 | raise to ~900 when using scratchpads |
temperature | 0.8 | pin across anything you compare |
reasoning_effort | none | none/minimal/low/medium/high |
reasoning_history | none | not Inspect's auto, which varies by provider |
epochs | 10 | --epochs on the CLI overrides this |
The buyer opens, as buyers do. Each side keeps its own message list; the two are mirrors, so the seller's assistant turns are the buyer's user turns. Neither model sees the other's system prompt, and neither is told a benchmark is happening.
The run ends when the buyer signals payment, the buyer walks, or the turn cap hits.
Each generation is split into three channels, kept strictly apart:
| channel | what it is | who sees it |
|---|---|---|
text | the message itself | the other model, the grader, you |
scratchpad | <thinking> content, when a scratchpad suffix is loaded | you only |
reasoning | native thinking blocks from a reasoning model | you only |
Private channels never reach the other model and never reach the grader.
Both roles default to whatever --model names — one model plays seller and buyer.
That answers "how does this model do in this scenario" in a single sweep, at the
cost of confounding two variables: if close rate rises between model generations,
that could be a sharper seller or a softer buyer, and this configuration cannot
tell you which. To disentangle, pin one side:
inspect eval masc_benchmark/task.py --model openrouter/some/new-model \
-T victim_model=openrouter/anthropic/claude-3.5-haiku \
-T scammer_version=v4 -T victim_version=vB -T rubric_version=conduct_v3
That single flag turns the buyer into fixed scenery and makes the seller the only moving part. Worth doing at least once alongside the paired runs so you know how much of your trend line is which.
Two ways to see inside a run, and they are not interchangeable.
Native reasoning comes free from thinking models. OpenRouter returns it in a
separate reasoning field and Inspect normalizes it into reasoning blocks. What
you get varies: raw traces from DeepSeek R1 and the Qwen thinking variants, real
thinking blocks from Claude, a summary rather than the actual chain from OpenAI's
o-series, and nothing at all from non-reasoning models.
inspect eval masc_benchmark/task.py --model openrouter/deepseek/deepseek-r1 \
-T reasoning_effort=medium \
-T scammer_version=v4 -T victim_version=vB -T rubric_version=conduct_v3
Prompted scratchpads work on every model, which makes them the only option
that is uniform across a mixed sweep. The model thinks inside <thinking> tags;
the harness splits that out before anyone else sees the message.
python sweep.py --scratchpad --scammer v4 --victim vB --rubric conduct_v3
Either way, read the results with:
python read_runs.py logs/ --outcome buyer_walked --thinking-only
python read_runs.py logs/v4-vB_2026-09-29 --role seller --limit 3
This is where "doesn't understand that money moves before goods do" becomes visible — that confusion shows up in the trace, not in the message.