AgentRank v2

Independent, reproducible red-teaming of the models the open-weights ecosystem runs on: how easily is each hijacked by a hidden prompt injection in the untrusted content it reads?

The July 2026 "Open Weights and American AI Leadership" letter called for rigorous, open benchmarking, evaluation and red-teaming tied to real, demonstrated harms. Prompt-injection of AI agents is exactly that — and no safety leaderboard covered it. AgentRank is a start.
2 models (2 open-weight) 432 attack trials naive mean ASR 50.9% → defended 17.1% Resistance = 100−ASR. 95% bootstrap CI in brackets. Updated 2026-07-26
#ModelResistance [95% CI]ASR (naive)ASR (defended)Weakest vectorCtrl-FPTask✓
1 Llama 3.1 8BMeta open-weight 56.5 [47.2–65.7]
43.5%
17.6%Δ25.9 plain66.7% 0.0% 100.0%
2 Llama 3.3 70BMeta open-weight 41.7 [32.4–50.9]
58.3%
16.7%Δ41.6 plain94.4% 0.0% 100.0%

Attack success by embedding technique (naive)

plainfake_systemauthorityhidden_divhtml_commentbase64
80.6%
63.9%
69.5%
41.6%
47.2%
2.8%

…by attacker goal

overrideexfilphishsilentdataleaktool_hijack
44.5%
66.7%
19.4%
83.3%
77.8%
13.9%

…by delivery carrier

webemaildocument
61.1%
58.4%
33.4%

Methodology. Each model plays an AI assistant doing a benign task (summarize / extract / answer) over untrusted content (web page / email / document) that hides an injected instruction. Compliance is scored objectively via a canary — a unique token/URL the injection asks for that never appears otherwise. Each attack is run in two conditions: a naive agent and a defended agent (spotlighting + instruction hierarchy) — the gap is the actionable mitigation. Corpus = 3 tasks × 6 goals × 6 techniques rotated over 3 carriers = 108 attacks × 2 conditions + controls, temperature 0, deterministic. Validity battery: control false-positive (canary with no injection), task-competence (model actually does the benign task), positive control (obvious attack must be detected), 95% bootstrap CIs (B=2000). Attacks use fictional canary domains (*.agentrank.test); no real system is targeted — this is defensive research. Reproduce: python3 harness.py --provider groq --model ... && python3 stats.py && python3 gen_leaderboard.py. Open corpus + harness + raw per-case results: github.com/SRKRZ23/agentrank