← Lab /AI/ML

prompt injection defenses fail to generalize and are broken by adaptive attacks

Current prompt injection defenses have limited robustness across tasks and can be defeated by adaptive attacks

AI/ML arXiv 9 Apr 2026 Benchmark Prototype evidence Threat model

Published as “PIArena: A Platform for Prompt Injection Evaluation”

Why it matters

PIArena gives researchers a reproducible way to expose weaknesses in prompt-injection defenses, guiding the development of more robust mitigation strategies.

Summary

defenses are easily bypassed by adaptive, strategy-based prompt injection attacks, achieving up to 99% attack success rate, and even closed-source LLMs such as GPT-5 and Claude-Sonnet-4.5 suffer >70% ASR. The evidence comes from a systematic evaluation across dozens of benchmarks, attacks, defenses, and both open- and closed-source models, showing limited generalizability and high vulnerability.

What they found 3

  1. defenses have limited generalizability across tasks.

    “defenses have limited generalizability: they may perform well on specific tasks but fail to transfer to others, highlighting the need for evaluation across diverse settings.”

  2. The adaptive strategy-based attack bypasses almost all defenses with near-perfect success.

    “Our strategy-based attack bypasses almost all defenses, achieving significantly higher ASRs than Combined and Direct attacks-99% ASR without defense versus 56% (Direct) and 72% (Combined).”

  3. Closed-source LLMs remain highly vulnerable to prompt injection.

    “Closed-source LLMs remain vulnerable to prompt injection. For instance, closed-source LLMs, including GPT-5, ClaudeSonnet-4.5, and Gemini-3-Pro, still exhibit high ASRs1 under prompt injection.”

Caveats 2

  • SecAlign++ achieves lower ASRs but sacrifices utility, decreasing average utility from 74% to 58% under No Attack.
  • AttentionTracker reduces ASR to 0% but destroys utility (0% on most datasets).

What’s new here 4

  • Provides a unified, extensible platform (PIArena) for plug-and-play integration of attacks, defenses, and benchmarks.
  • Introduces a black-box strategy-based adaptive attack that optimizes injected prompts using defense feedback.
  • Standardizes evaluation metrics (utility and attack success rate) across diverse tasks and contexts.
  • Enables systematic evaluation of defenses on both existing and newly created benchmark datasets.

Threat model stated by the source

Adversaryattacker who can inject arbitrary text into the context
Capabilitycan insert an injected prompt at any position in the context and observe the LLM's response (black-box API access)
Assumesdefender employs detection-based or prevention-based defenses; user supplies a target instruction and context