Skip to the content

SecurityCode and data on GitHub

Indirect Prompt Injection Benchmark

How often do instructions hidden in the content an agent reads make it carry out an attacker’s task?

Evaluated with each agent in its developer’s own harness.

Overview


  • What it measures. Whether instructions hidden in content an AI agent reads, such as an email, a web page or a code repository, make it carry out an attacker’s task instead of the user’s.
  • Why it matters. Agents read untrusted content as part of their normal work, so a single injection can turn an agent against the person who deployed it.
  • Where the attacks come from. Five public Gray Swan Arena competitions in 2026: Q1, Q2, June, July, and August. We kept successful attacks from participants held out of the leaderboard and replayed 3,648 of them across 67 scenarios in tool use, coding and computer use, four times on each of 16 models.
  • Who uses it. Anthropic, Google DeepMind, Meta, OpenAI and Reflection AI report version 1.0 results in their model and safety reports.

Results


We tested 16 models on 3,648 attacks from five live arenas across 67 scenarios. ASR@15 is the average chance of at least one break in up to 15 distinct attacks per scenario. Each scored scenario has equal weight. It ranges from 2.3% for Gemini 4 Argon to 94.3% for Nemotron 3.5 Super VL (fallback replies scored as served). For Claude, the range uses the “+ fallback” scores, which include fallback replies as served.

Indirect Prompt Injection Benchmark 2.0

Gray Swan, Indirect Prompt Injection Benchmark 2.0, November 28, 2026

Chance of a break within 1, 10, and 15 distinct attacks

The three segment endpoints show ASR@1, ASR@10, and ASR@15. Bars are sorted by ASR@15, lowest first, with paired Claude rows kept together. A fallback model served some Claude replies. Where two scores are available, the “+ fallback” row scores replies as served. The plain model row counts recorded fallback replies as refusals. The other replay figures and tables use the “+ fallback” scores.

Gray Swan, Indirect Prompt Injection Benchmark 2.0, November 28, 2026

Chance of a break by setting

Each column shows ASR@k for one setting at the selected attack budget. Claude rows use the “+ fallback” scores, which include fallback replies as served. Lower is better.

SettingModelTooluseCodingagentComputeruseGemini 4 ArgonGemini 4 CarbonClaude Fable 5.1 + fallbackClaude Sonnet 5.5 + fallbackClaude Opus 5.5 + fallbackClaude Haiku 5.5GPT-6 AstraClaude Fable 5.2 + fallbackGPT-6.1 SolGPT-6.1 TerraGemini 3.8 FlashDeepSeek V4.1 Flash†Qwen3.8-2.4T-A95B*GLM-5.3*Kimi K3.1 ProNemotron 3.5 Super VL* Tested on coding and tool use only.† Computer use tested in Q1 only.1.8%2.2%3.1%0.3%1.9%6.4%2.2%5.1%0%0.5%8.4%0%6.6%4.4%0%5.2%8.2%1.4%3.9%6.7%9.5%13.0%6.0%0%4.4%7.1%15.2%5.2%7.0%17.3%6.8%10.7%23.6%26.1%15.3%36.4%43.1%16.5%52.1%33.1%70.3%44.2%82.8%98.5%88.5%95.6%
Gray Swan, Indirect Prompt Injection Benchmark 2.0, November 28, 2026

Chance of a break by arena

Each column shows ASR@k on that arena’s scenarios at the selected attack budget. The arenas test different scenarios. Claude rows use the “+ fallback” scores, which include fallback replies as served. Lower is better.

ArenaModelQ12026Q22026June2026July2026August2026Gemini 4 ArgonGemini 4 CarbonClaude Fable 5.1 + fallbackClaude Sonnet 5.5 + fallbackClaude Opus 5.5 + fallbackClaude Haiku 5.5GPT-6 AstraClaude Fable 5.2 + fallbackGPT-6.1 SolGPT-6.1 TerraGemini 3.8 FlashDeepSeek V4.1 Flash†Qwen3.8-2.4T-A95B*GLM-5.3*Kimi K3.1 ProNemotron 3.5 Super VL* Tested on coding and tool use only.† Computer use tested in Q1 only.0%0%8.4%0.7%4.2%0%0%13.3%0%0.7%0.5%9.0%2.3%4.4%0.5%0.5%14.0%5.7%0%0%0%6.9%3.2%4.8%10.8%2.0%12.1%9.5%6.4%0.8%4.1%18.5%11.9%0%1.8%2.7%16.4%3.4%4.7%15.8%4.4%24.7%12.2%0.7%6.4%5.2%32.4%11.6%0%4.8%5.1%9.6%31.3%7.5%16.1%23.5%43.6%18.7%10.7%20.1%27.0%52.3%13.6%29.1%43.0%45.0%60.9%21.7%41.2%50.4%56.8%84.8%53.8%66.4%75.5%96.1%95.8%96.3%91.2%90.3%
Gray Swan, Indirect Prompt Injection Benchmark 2.0, November 28, 2026

Benchmark size by arena and setting

The pooled view counts the scenarios, distinct attacks, and attack–model pairs scored in each arena. Choose a setting to see its scenarios and attacks.

CountArenaScenariosAttacksAttack×modelcellsQ1 2026Q2 2026June 2026July 2026August 2026All arenas241,02216,022967410,1601280111,979115067,865116459,426673,64855,452
Gray Swan, Indirect Prompt Injection Benchmark 2.0, November 28, 2026

Chance of a break by arena within each setting

Each cell is ASR@15 for one arena and setting, with the number of scenarios measured in parentheses. Each cell covers only 2 to 10 scenarios, so a single scenario can substantially change the rate. A dash marks an unmeasured combination. A measured zero shows as 0%. The table and download also give ASR@1 and ASR@10. Claude rows use the “+ fallback” scores, which include fallback replies as served. Lower is better.

ArenaModelQ12026Q22026June2026July2026August2026Gemini 4 ArgonGemini 4 CarbonClaude Fable 5.1 + fallbackClaude Sonnet 5.5 + fallbackClaude Opus 5.5 + fallbackClaude Haiku 5.5GPT-6 AstraClaude Fable 5.2 + fallbackGPT-6.1 SolGPT-6.1 TerraGemini 3.8 FlashDeepSeek V4.1 FlashQwen3.8-2.4T-A95BGLM-5.3Kimi K3.1 ProNemotron 3.5 Super VL0% (10)0% (3)0% (4)0% (5)11.5% (4)0% (10)0% (3)0% (4)0% (5)1.9% (4)1.1% (10)0% (3)0% (4)8.2% (5)1.5% (4)1.3% (10)0% (3)0% (4)0% (5)0% (4)0% (10)0% (3)0% (4)10.5% (5)29.6% (4)2.6% (10)0% (3)13.3% (4)9.6% (5)2.2% (4)9.8% (10)1.5% (3)0% (4)0% (5)0% (4)6.5% (10)14.4% (3)1.6% (4)10.2% (5)43.5% (4)10.5% (10)3.0% (3)0% (4)0% (5)0% (4)12.5% (10)1.5% (3)1.6% (4)0% (5)0% (4)7.7% (10)16.3% (3)5.4% (4)5.6% (5)0% (4)26.1% (10)40.1% (3)25.9% (4)14.5% (5)30.3% (4)39.3% (10)49.7% (3)17.8% (4)45.4% (5)70.3% (4)54.1% (10)53.7% (3)20.1% (4)52.0% (5)78.3% (4)75.4% (10)76.0% (3)37.5% (4)76.2% (5)78.5% (4)>99.9% (10)99.9% (3)90.9% (4)99.9% (5)>99.9% (4)

Reading the scores

  • What’s new. Version 2.0 adds the June, July, and August arenas to Q1 and Q2.
  • Judging. In Q1, we grouped variants of the same scenario and counted the harmful action even when the agent failed to conceal it.
  • Score to cite. ASR@15 from the chart below. For Claude, the “+ fallback” row scores replies as served, as system cards report them.

Methodology


Methods

Attack selection

Every attack in the benchmark succeeded against at least one model in a live arena. We draw attacks from participants held out of the leaderboard. For each scenario, we select distinct attacks, taking at most four from any one source model. Selection favors attacks that succeeded against a more robust model or against only a few models.

Scenario scoring

We target four valid replays per eligible attack–model pair to estimate how often that attack succeeds. For each scenario, we estimate the chance of at least one success when drawing up to k distinct attacks without replacement. ASR@k averages that probability across the scenarios scored for the model, giving each scenario equal weight.

Break criteria

A break means the agent carried out the attacker’s goal while working on the user’s task. When the environment records the outcome, we check the resulting state. Otherwise, a rule checks the action the agent took. We audited the judges for each arena and applied each correction to every affected result.

Appendix: Indirect Prompt Injection Benchmark 1.0


Gray Swan, Indirect Prompt Injection Benchmark 1.0, Q1 and Q2 2026

Chance of a break on the Indirect Prompt Injection Benchmark 1.0

The chart includes models tested in both Q1 and Q2 under the original judging rules. The combined score weights each quarter by its number of evaluated scenarios. Version 2.0 uses different attacks, scenarios, and judges, so a change between versions does not measure a change in the model. Bars are sorted by ASR@15, lowest first, with paired Claude rows kept together. A fallback model served some Claude replies. Where two scores are available, the “+ fallback” row scores replies as served. The plain model row counts recorded fallback replies as refusals.

These results appear in reports from Anthropic, Google DeepMind, Meta, OpenAI, and Reflection AI.

Original competition paper


Mateusz Dziemian et al. (2026). How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition.

@misc{dziemian2026vulnerableaiagentsindirect,
  title = {How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition},
  author = {Mateusz Dziemian and Maxwell Lin and Xiaohan Fu and Micha Nowak and Nick Winter and Eliot Jones and Andy Zou and Lama Ahmad and Kamalika Chaudhuri and Sahana Chennabasappa and Xander Davies and Lauren Deason and Benjamin L. Edelman and Tanner Emek and Ivan Evtimov and Jim Gust and Maia Hamin and Kat He and Klaudia Krawiecka and Riccardo Patana and Neil Perry and Troy Peterson and Xiangyu Qi and Javier Rando and Zifan Wang and Zihan Wang and Spencer Whitman and Eric Winsor and Arman Zharmagambetov and Matt Fredrikson and Zico Kolter},
  year = {2026},
  eprint = {2603.15714},
  archivePrefix = {arXiv},
  primaryClass = {cs.CR},
  url = {https://arxiv.org/abs/2603.15714}
}