GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
arXiv preprint

The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against LLM Jailbreaks and Prompt Injections

Researchers from OpenAI, Anthropic and Google DeepMind re-tested 12 published LLM defenses against attackers who adapt. Most had reported near-zero attack success; most fell above 90%.

Breakdown by FDE Interviews · 11 min read · Updated

About the original · 2025
AUTHORS
Nasr, Carlini, Sitawarin, Schulhoff, et al.
FROM
OpenAI, Anthropic, Google DeepMind, HackAPrompt, Northeastern University, ETH Zürich, AI Sequrity Company, MATS
PUBLISHED
Oct 2025 · arXiv preprint
IN THIS BREAKDOWN · 10 SECTIONS

You can read 18% of this breakdown.

01

The paper in one minute

Papers proposing defenses against jailbreaks (users extracting harmful content) and prompt injection (third-party content hijacking an agent) usually report near-zero attack success. They get there by testing against a fixed public set of known attack strings, or by running a generic optimizer with a modest budget that wasn't designed for the defense.

The authors, from OpenAI, Anthropic, Google DeepMind, ETH Zürich and others, argue this repeats a mistake adversarial machine learning made a decade ago. In security, a defense is judged against an attacker who knows how it works (Kerckhoffs's principle) and has real resources. They describe adaptive attacks as one loop (propose inputs, score them against the defended system, keep the best, update) and run it four ways: gradient methods, reinforcement learning, search guided by a language model, and a public human red-teaming competition with over 500 participants and $20,000 in prizes.

They re-evaluated 12 defenses in four families: prompting (Spotlighting, Prompt Sandwiching, RPO), adversarial training (Circuit Breakers, StruQ, MetaSecAlign), detector models (Protect AI, PromptGuard, PIGuard, Model Armor) and secret-knowledge checks (Data Sentinel, MELON). Most fell to attack success above 90%. Humans, collectively, succeeded on every scenario they tried.

The lesson isn't that defenses are useless. It's that an evaluation can't prove robustness; it can only fail to break a defense after trying hard.

THE IDEA, VISUALLY
HOW DEFENSES ARE USUALLY EVALUATED Static: replay a public set of known attack strings Weak: run a generic optimizer, small budget, not adapted → near-zero attack success reported WHAT THE PAPER ARGUES FOR (SECTIONS 3-4) propose score select update Attacker knows the defense (Kerckhoffs) and has real compute. Run by gradients, RL, search, or people; a defense that fails any adaptive instance of the loop is not robust. 12 DEFENSES, FOUR FAMILIES (SECTION 5) prompting Spotlighting, Sandwiching, RPO training Circuit Breakers, StruQ, MetaSecAlign filter models Protect AI, PromptGuard, PIGuard, Model Armor secret knowledge Data Sentinel, MELON Plan-then-execute designs (CaMeL, tool filters) were skipped: control flow fixed before reading data fails these attacks in most scenarios. AGENTDOJO, STATIC vs ADAPTIVE (TABLE 7) no defense 17.5 92.8 Spotlighting 14.2 86.0 Sandwiching 12.5 90.8 PromptGuard 16.2 90.8 Model Armor 16.2 77.5 PIGuard 0.2 61.2 MELON 5.8 84.8 static attack adaptive search % attack success, mean of 4 target models COSTS AND PEOPLE Detectors cost utility: Protect AI -33 pts, PIGuard -29 (the paper notes their higher false-positive rates). 500+ people, $20,000 in prizes: humans together beat every scenario; one search run reached 69%, the best single person 75% on the same 29 scenarios.
Static evaluations replay known attacks; adaptive ones assume the attacker knows the defense and keeps trying. On AgentDojo, the gap was 17.5% versus 92.8% attack success even before adding a defense.
Research notes: the problem, approach and results
12

defenses re-evaluated: prompting, adversarial training, detector models and secret-knowledge checks

17.5% → 92.8%

mean AgentDojo attack success with no defense, static template attack vs adaptive search (Table 7)

100%

share of scenarios where at least one human red-teamer succeeded; a single automated search run reached 69%

THE PROBLEM

Defenses against jailbreaks and prompt injection are usually evaluated on fixed sets of known attack strings, or against generic optimizers run with small budgets, and report near-zero attack success.

THE IDEA

Evaluate the way security fields do: assume the attacker knows the defense and spends real resources. The authors adapted gradient, reinforcement-learning, search and human red-teaming attacks to each of 12 recent defenses.

THE RESULT

Most defenses fell to attack success above 90%; the majority had originally reported near-zero. A human competition with over 500 participants succeeded on every scenario tested. Defenses whose control flow is fixed before untrusted data is read were left out because these attacks mostly can't move them.

02

Why it matters to an FDE

When a customer's security team asks whether your agent is protected against prompt injection, the honest answer depends on how the protection was tested. This paper is the reference for asking that question well.

Ask who the attacker was. A number measured against yesterday's public attack strings says little about someone who studies your specific defense. Ask for results under an explicit threat model: what the attacker knows, what access they have, how much effort they spent.

Budget for red teaming by people. Automated attacks were strong, but humans still found every hole. A small, motivated internal red team with full knowledge of the defense is cheap compared with an incident.

Prefer designs over filters for high-stakes actions. The authors skipped defenses that fix an agent's plan before it reads untrusted content (such as CaMeL), because these attacks mostly can't change what such an agent does. Detectors and prompts are still useful layers, but they shouldn't be the only thing between untrusted text and a consequential action.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 157 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
  • ▦2 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The threat model, four attack families, results per defense type, lessons, three misreadings

    Free account
  2. 04How it works

    Threat models, the general adaptive loop, the evaluation settings and the human competition

    Premium
  3. 05The numbers that matter

    Table 7 per defense and model, the human-versus-automation comparison, and costs

    Premium
  4. 06Try it yourself

    Summarize Table 7, see why many attempts beat one, and bound what a 0% static result means

    Premium
  5. 07Where it breaks

    Non-comparable setups, plan-first designs left out, compute assumptions and reporting details

    Premium
  6. 08Using it on a deployment

    Threat models, adaptive and human testing, design-level controls, and what to tell the customer

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →