TL;DR
AutoPI is a training-free, black-box red teaming framework that uses a structured taxonomy (PIAtlas) to systematically discover diverse prompt injection vulnerabilities in LLM agents. Unlike previous methods that over-optimize for a high Attack Success Rate (ASR) using a few repetitive tricks, AutoPI prioritizes technique coverage, uncovering significantly more unique ways to break models while remaining more cost-effective than state-of-the-art reinforcement learning attackers.
What Problem Does This Paper Address?
Prompt injection—where malicious instructions are hidden in data (like emails or web pages) to hijack an LLM agent's behavior—remains a critical, unsolved security risk. While the research community has moved toward "adaptive" red teaming (attackers that change their strategy based on the target), most current tools focus solely on maximizing the Attack Success Rate (ASR).
The authors argue that ASR is a misleading metric. An attacker can achieve 90% ASR by repeatedly using one or two "tricks" that happen to work, leaving dozens of other potential attack vectors untested. This creates a false sense of security and provides poor training data for hardening models. To truly measure and improve robustness, we need to know not just if a model breaks, but in how many different ways it can be broken. This concept is what the authors call technique coverage.
Methods
AutoPI introduces a taxonomy-guided approach to red teaming. It operates as a black-box attacker, requiring no access to the target model's internal weights or gradients.
1. The PIAtlas Taxonomy
The core of AutoPI is PIAtlas, a taxonomy that categorizes prompt injections into 6 classes, 34 techniques, and 132 sub-techniques (e.g., "Structural Spoofing," "Social Engineering," "Output Coercion"). This provides a "map" of the attack space.
2. The Explore/Exploit Loop
AutoPI attacks each scenario using a three-phase strategy:
- Initialize: It starts with an optional fixed "seed" injection.
- Explore: A "Generator LLM" writes a unique injection for every single sub-technique in the taxonomy, specialized for the specific user task and attack goal. This ensures the search covers the entire "map" rather than clustering in one spot.
- Exploit: For injections that fail, a "Judge LLM" provides feedback on why they failed (e.g., "ignored as data"). The Generator then reworks these failed attempts into variants of the same technique to find a "near miss" that works.
3. Architecture
The system is benchmark-agnostic. A thin Adapter connects the AutoPI Engine to a target environment. The Engine manages the search state, while separate LLM roles act as the Generator (writing attacks) and the Judge (diagnosing failures).
Datasets
The authors evaluated AutoPI on two major agent benchmarks:
- AgentDojo: A standard research benchmark featuring multi-step tool-use agents in domains like banking, Slack, and travel.
- IPI Arena: An open-source benchmark used by frontier labs (Anthropic, Google, OpenAI) to evaluate their own models.
They tested these against Qwen3.6-35B (an open-weight model) and Claude Haiku 5.5 (a proprietary frontier model).
Key Insights and Ideas
- Coverage is a Robustness Metric: Robustness is a "worst-case" property. If an evaluation misses a specific technique, it overstates the model's safety. AutoPI treats coverage as a first-class metric alongside ASR.
- Training-Free Adaptivity: Most high-performing red teamers require expensive training (Reinforcement Learning) on the target model. AutoPI achieves comparable or better results simply by using a structured search guided by a taxonomy and a judge.
- The "Exploit-Only" Trap: The authors show that attackers focused only on success tend to "collapse" onto a narrow set of strategies (e.g., 99% of one baseline's successes used "authority claims"). AutoPI avoids this by design, forcing the search to stay diverse.
- Efficiency Matters: Because it uses short, targeted injections and no training phase, AutoPI is significantly cheaper (0.6 GPU-seconds per attempt) than baselines like PIMiner or Climbing the Hill (CtH).
Key Results
- Superior Coverage: On AgentDojo against Qwen, AutoPI covered 31 out of 34 techniques. The best baseline only managed 22.
- High Effectiveness: AutoPI achieved an 86.9% ASR at equal cost on AgentDojo, outperforming most baselines.
- Breaking Robust Models: Against Claude Haiku 5.5—the most robust model tested—AutoPI achieved 20% to 50% higher ASR and 25% to 400% higher class-level coverage than state-of-the-art adaptive red teamers.
- Generalization: AutoPI ran on the IPI Arena benchmark with zero changes to its engine or training, whereas some baselines are tightly coupled to specific benchmarks or require retraining for new targets.
Limitations and Future Work
- Single-Technique Focus: Currently, AutoPI generates injections using one sub-technique at a time. Real-world attacks are often "compositions" of multiple techniques (e.g., obfuscation + social engineering). The authors plan to explore multi-technique "Ln sweeps" in the future.
- Taxonomy Dependency: The results are tied to the PIAtlas taxonomy. While AutoPI can use other taxonomies, its performance depends on the quality and granularity of the underlying classification.
- Defense Adaptation: While AutoPI was tested against system-level defenses (like Progent or DRIFT) in a replay mode, it does not yet dynamically adapt its search strategy during the run to bypass specific defensive layers. This is a primary direction for future work.
Summary updated