Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
masc-benchmark — Benchmark for whether AI models can complete a advance payment scam unassisted | Kitploit
Tools/GitHubGitHub/megansquire/masc-benchmark
Defensive ToolsPhishingSocial EngineeringPapers & ResearchLearning & EducationAI Security
GitHubmegansquire/masc-benchmark

masc-benchmark

Benchmark for whether AI models can complete a advance payment scam unassisted

View Repository
1 day agoNot yet reviewed
Share

masc-benchmark

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 and data

  • Paper: "I Do Intend to Deliver": Will LLMs Run a Marketplace Advance-Fee Scam? (Squire, 2026). The PDF and its LaTeX source are in paper/arxiv/; paper/arxiv/build.py regenerates main.tex from the markdown in paper/.
  • Run logs: 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.
  • Human coding: phase2/ holds the 100 sampled conversations, both coders' sheets, the key, and the agreement report.

Setup

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.

Run

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/.

All task parameters

Everything below is settable with -T name=value on inspect eval, or has an equivalent sweep.py flag.

-T parameterdefaultnotes
scammer_versionv1v1–v4, see Prompt versions
victim_versionvAvA or vB; vB is required for scammer v3/v4
rubric_versionconduct_v1use conduct_v3 with scammer v3/v4
scammer_modelinherits --modelpin to make the seller fixed scenery
victim_modelinherits --modelpin to disentangle the two axes
grader_modelclaude-sonnet-4.5keep pinned — a drifting grader rewrites history
scammer_suffixesnonee.g. scratchpad_v1
victim_suffixesvictim_signal_v1comma-separated; drop the signal and the hard rule stops working
max_turns16v1/v2 resolve in ~5 turns, v3/v4 in ~9
max_tokens300raise to ~900 when using scratchpads
temperature0.8pin across anything you compare
reasoning_effortnonenone/minimal/low/medium/high
reasoning_historynonenot Inspect's auto, which varies by provider
epochs10--epochs on the CLI overrides this

How a run works

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:

channelwhat it iswho sees it
textthe message itselfthe other model, the grader, you
scratchpad<thinking> content, when a scratchpad suffix is loadedyou only
reasoningnative thinking blocks from a reasoning modelyou 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.

Reading the thinking

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.

Reasoning is a test condition, not a free observation

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    980
  • 2

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    737
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    735
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    485
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    439
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    397

Explore all tools

Browse our collection of tools

View all tools →