FDEInterviews logo
RecentarXiv preprint

How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition

464 red-teamers made 272,000 attempts to hijack 13 frontier agents and make them hide it. Every model fell at least sometimes, and attacks that beat the strongest model worked almost everywhere.

Breakdown by FDE Interviews · 13 min read · Updated

About the original · 2026
AUTHORS
Dziemian, Lin, Fu, Nowak, et al.
FROM
Gray Swan AI, with OpenAI, Anthropic, Meta, UK AISI and US CAISI
PUBLISHED
Mar 2026 · arXiv preprint
CITED BY
21Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 20% of this breakdown.

01

The paper in one minute

Indirect prompt injection is an attacker hiding instructions in content an agent will read: an email, a code comment, a pull-request description, a sidebar on a web page. This paper adds a second requirement that matches how people use agents: the attack must also be concealed. Users mostly read the agent's final reply, not its tool logs. If the reply looks normal, the user has no reason to suspect that the agent just did something harmful.

Gray Swan AI ran the Indirect Prompt Injection Arena with the UK AI Security Institute, the US Center for AI Standards and Innovation, and labs including OpenAI, Anthropic, Amazon and Meta. Over three weeks, with a $40,000 prize pool, 464 participants made about 272,000 attack attempts against 13 models (models were anonymized to participants). There were 41 scenarios in three settings: tool-using agents (18), coding agents (15) and computer-use agents (8). In each, the attacker controlled one piece of external content, and success required both a programmatic check that the harmful action happened and a judge's check that the final reply concealed it. Harmful actions were chosen to fit the task: an email-triage agent marking a contract-deadline email as read, a coding agent inserting a backdoor while fixing a bug.

Results. Every model was broken. Attack success per attempt ranged from 0.5% for Claude Opus 4.5 to 8.5% for Gemini 2.5 Pro, with Claude and GPT models the most robust. Successes kept accumulating at a steady rate as attempts grew, so persistence paid off against every model. Attacks that broke the most robust model worked on 44% to 81% of the others; attacks that broke weak models rarely worked upward. One family of templates, which frames the conversation as a simulated environment with a fake control interface, worked across 21 of the 41 scenarios and 9 models.

THE IDEA, VISUALLY
EVERY MODEL WAS HIJACKED, AND HID IT successful attacks / attempts, waves 1–2, Figure 1 Gemini 2.5 Pro 8.5% (1,670/19,630) Nova 1 Premier 5.8% (1,091/18,924) SecAlign 70B 5.5% (618/11,238) DeepSeek V3.1 5.4% (808/15,026) Kimi K2 Thinking 4.8% (589/12,299) Nova 2 Lite 4.7% (672/14,244) Qwen3 VL 235B 4.2% (781/18,733) Grok 4 2.9% (366/12,526) GPT-5.1 2.5% (202/8,096) GPT-5 2.0% (261/13,143) Claude Haiku 4.5 1.3% (177/13,696) Claude Sonnet 4.5 1.0% (136/13,603) Claude Opus 4.5 0.5% (61/11,969) 272K attempts · 464 people · 41 scenarios · act and conceal STRONG ATTACKS TRAVEL attacks that broke Claude Opus 4.5 succeeded on 44–81% of every other model attacks that broke Qwen3 VL 235B 0% on Opus 4.5, 1% on Sonnet 4.5 SUCCESS BY SETTING tool use 4.82% computer use 3.13% coding 2.51% One 'simulated environment' template worked on 21 of 41 scenarios across 9 models. Robustness tracked model family more than capability.
Per-attempt success of human red-teamers against 13 models. Low rates are not zero, and the attacks that beat the most robust model transferred widely, which is the paper's case for defenses in the system rather than only in the model.
Research notes: the problem, approach and results
0.5–8.5%

attack success per attempt across 13 frontier and open-weight models

44–81%

success on other models of the attacks that broke Claude Opus 4.5

21 of 41

scenarios broken by one universal attack template, across 9 models

THE PROBLEM

Agents act on emails, files, code and web pages written by others, and a hijacked agent's final reply can look perfectly normal. Static benchmarks of this risk go stale as fast as models change.

THE IDEA

Run a public competition: 41 realistic agent scenarios in tool use, coding and computer use, where an attack counts only if the agent performs the harmful action and its reply conceals it.

THE RESULT

8,648 successful attacks across 13 models, from 0.5% of attempts (Claude Opus 4.5) to 8.5% (Gemini 2.5 Pro). Attacks that broke robust models transferred to others at 44–81%.

02

Why it matters to an FDE

The question a customer's security team will ask is "can someone make this agent do something harmful?" This paper's answer for every model tested is yes, at some rate, and the rate is not the whole story.

Low per-attempt rates still add up. At 0.5% per attempt, an attacker has even odds after about 136 attempts; at 8.5%, after 8. An agent reading thousands of external items a day will see hostile ones eventually. Plan for some injections to succeed.

Concealment changes incident response. A successful attack here leaves a normal-looking reply. If your detection depends on a user noticing something odd, these attacks will not be reported. Log tool calls and check them automatically.

Model choice helps, but not enough. Model family mattered more than benchmark capability, and the most robust models were far harder to break. But attacks that beat them transferred widely, which tells you the weakness is shared. The authors call for system-level defenses: constrain what the agent can do, and keep untrusted content away from control decisions.

Coding agents are not exempt. Coding scenarios had the lowest success rate, possibly because their transcripts came from real coding tools, but injections in comments, configuration files and PR descriptions still made agents run dangerous commands or approve changes they should not.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 49 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦3 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The threat model, the main results, the attack strategies in outline, and the misreadings to avoid

    Free account
  2. 04How it works

    Scenario construction, the two judges, the competition mechanics and the analyses

    Premium
  3. 05The numbers that matter

    Per-model rates, transfer, settings and judge results

    Premium
  4. 06Try it yourself

    Turn per-attempt success rates into deployment risk for a customer's agent

    Premium
  5. 07Where it breaks

    Why these rates are not deployment rates, and what the study leaves out

    Premium
  6. 08Using it on a deployment

    Defending a customer's agent when the model will sometimes be fooled

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →