mlsanityData to 14 Oct 2026

Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming

arXiv 2608.05108 ↗First posted 5 Aug 2026cs.CRcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Prompt injection poses significant security risks to LLM agents. Efficient and effective red-teaming is therefore critical, both for evaluating these risks and for collecting training data to improve defenses. Existing state-of-the-art prompt injection red-teaming methods primarily rely on reinforcement learning (RL), producing attacker models that often generalize poorly to new target LLMs. In this work, we develop PIMiner, an agentic system for prompt injection red-teaming. During training, PIMiner is trained on a sequence of (dataset, target model) pairs and builds a strategy library from scratch. At test time, the learned strategy library can be directly transferred to a previously unseen target LLM without additional training. PIMiner requires only a small number of queries to a target agent (e.g., 10) per test sample. Experimental results demonstrate that PIMiner achieves strong performance. On IPIArena, it attains a 76.2% ASR against Gemini-2.5-Pro, 61.9% ASR against GPT-5.1, and 42.9% ASR against Claude-Sonnet-4.5. On AgentDojo, it achieves an 86.7% ASR against Gemini-2.5-Pro, 53.3% ASR against GPT-5.1, and 40.0% ASR against Claude-Sonnet-4.5.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 34 of its 50 references that are in the map. First posted on arXiv 5 Aug 2026.

Builds on

34 of 50 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026How Vulnerable Are AI Agents to Indirect Prompt Injections? Insights from a Large-Scale Public Competition16 Mar
  2. 2026MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks9 Feb
  3. 2026Learning to Inject: Automated Prompt Injection via Reinforcement Learning5 Feb
  4. 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection6 Oct
  5. 2025PromptArmor: Simple yet Effective Prompt Injection Defenses21 Jul
  6. 2025DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agents13 Jun
  7. 2025Defeating Prompt Injections by Design24 Mar
  8. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar

Other references · 26

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  4. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  5. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
  6. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  7. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  8. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  9. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  10. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  11. 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 199
  12. 2025Multi-agent Architecture Search via Agentic Supernetcited by 179
14 more
  1. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
  2. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 129
  3. 2024Attention Tracker: Detecting Prompt Injection Attacks in LLMscited by 95
  4. 2026AutoHarness: improving LLM agents by automatically synthesizing a code harnesscited by 76
  5. 2025Defending Against Prompt Injection with DataFiltercited by 35
  6. 2025PIShield: Detecting Prompt Injection Attacks via Intrinsic LLM Featurescited by 20
  7. 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 16
  8. 2025PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitizationcited by 13
  9. 2026DecodingTrust-Agent Platform (DTap): A Controllable and Interactive Red-Teaming Platform for AI Agentscited by 13
  10. 2026PIArena: A Platform for Prompt Injection Evaluationcited by 11
  11. 2026GPT-Red: Automated Red Teaming via Self-Play at Scalecited by 8
  12. 2024Purple-teaming LLMs with Adversarial Defender Trainingcited by 6
  13. 2026AgentWatcher: A Rule-based Prompt Injection Monitorcited by 6
  14. 2026Muse Spark Safety & Preparedness Reportcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections
  2. 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents
  3. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
  4. 2026Adaptive Instruction Composition for Automated LLM Red-Teaming
  5. 2026AgenticRed: Evolving Agentic Systems for Red-Teaming
  6. 2025Automatic LLM Red Teaming
  7. 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning
  8. 2026JailbreakSkill: Scaling Automated Red-Teaming with Reusable and Ever-Evolving Skills