mlsanityData to 24 Nov 2026

PIPETTE: Prompt Injection Purple-Teaming for Robust LLM Agents

arXiv 2611.24362 ↗Submitted 18 Nov 2026Announced 19 Nov 2026cs.CR cs.AIcited by 0

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

also in 1 more
Abstract (arXiv)

Large language model (LLM) agents routinely interact with untrusted external data, exposing them to indirect prompt injection (IPI) attacks that hijack agents into executing attacker-chosen tasks. To uncover these vulnerabilities at scale, automated red-teaming methods often leverage reinforcement learning (RL) to generate attacks that achieve high attack success rates (ASR). Model developers use the attacks discovered during internal red-teaming to harden agents through adversarial training before deployment, a collaborative offensive-defensive process known in cybersecurity as purple-teaming. However, we show that achieving high ASR during red-teaming does not guarantee robustness gains from subsequent adversarial training. Specifically, we find that two state-of-the-art RL-based red-teaming methods, RL-Hammer and PISmith, suffer from mode collapse, repeatedly discovering similar attack strategies whose additional successes add no additional robustness improvements to adversarial training. To address this gap, we introduce PIPETTE, a unified prompt injection purple-teaming framework that effectively converts red-teaming discoveries into defender robustness improvements. PIPETTE employs a dictionary learning-based reward that encourages broader coverage of attack strategies during red-teaming. It also integrates an on-policy adversarial training pipeline tailored to IPI defense, enabling agents to resist attacks while completing legitimate user tasks. Extensive evaluations across agentic benchmarks (AgentDojo and ASB) demonstrate that PIPETTE produces defenders that achieve near-zero attack success rates on static attacks and can withstand strong adaptive attacks, while maintaining benign task utility close to that of the undefended baseline.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 50 of its 69 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.

Builds on

50 of 69 references.

Closest ancestors · 13

Same direction, newest first

  1. 2026Learning to Inject: Automated Prompt Injection via Reinforcement Learning5 Feb
  2. 2025ObliInjection: Order-Oblivious Prompt Injection Attack to LLM Agents with Multi-source Data10 Dec
  3. 2025Adversarial Reinforcement Learning for Large Language Model Agent Safety6 Oct
  4. 2025RL Is a Hammer and LLMs Are Nails: A Simple Reinforcement Learning Recipe for Strong Prompt Injection6 Oct
  5. 2025ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents26 Sep
  6. 2025Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks3 Jul
  7. 2025LlamaFirewall: An open source guardrail system for building secure AI agents6 May
  8. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  9. 2025Defeating Prompt Injections by Design24 Mar
  10. 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
  11. 2024The Task Shield: Enforcing Task Alignment to Defend Against Indirect Prompt Injection in LLM Agents21 Dec
  12. 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents3 Oct
1 more
  1. 2024Automated Red Teaming with GOAT: the Generative Offensive Agent Tester2 Oct

Other references · 37

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,616
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,374
  7. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
  8. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
  9. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,584
  10. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,542
  11. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 889
  12. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 724
25 more
  1. 2020On Adaptive Attacks to Adversarial Example Defensescited by 577
  2. 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 573
  3. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 568
  4. 2019On Evaluating Adversarial Robustnesscited by 475
  5. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
  6. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 415
  7. 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 352
  8. 2024Improving Alignment and Robustness with Circuit Breakerscited by 350
  9. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 319
  10. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
  11. 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 240
  12. 2026GDPO: Group reward-Decoupled Normalization Policy Optimization for Multi-reward RL Optimizationcited by 225
  13. 2025The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against Llm Jailbreaks and Prompt Injectionscited by 164
  14. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 157
  15. 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 154
  16. 2026Privileged Information Distillation for Language Modelscited by 121
  17. 2024Curiosity-driven Red-teaming for Large Language Modelscited by 101
  18. 2026AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?cited by 81
  19. 2024Learning diverse attacks on large language models for robust red-teaming and safety tuningcited by 63
  20. 2025Lessons from Defending Gemini Against Indirect Prompt Injectionscited by 48
  21. 2026PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defensescited by 23
  22. 2026PIArena: A Platform for Prompt Injection Evaluationcited by 17
  23. 2025Adversarial D'ej`a Vu: Jailbreak Dictionary Learning for Stronger Generalization to Unseen Attackscited by 12
  24. 2024Purple-teaming LLMs with Adversarial Defender Trainingcited by 9
  25. 2026SecOPD: Mitigating Adaptive Prompt Injections by On-Policy Distillationcited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Black-Box Red-Teaming of Multi-Agent Systems via Reinforcement Learning
  2. 2026Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
  3. 2025Automatic LLM Red Teaming
  4. 2026GPT-Red: Automated Red Teaming via Self-Play at Scale
  5. 2026CHASE: Adversarial Red-Blue Teaming for Improving LLM Safety using Reinforcement Learning
  6. 2026AutoPI: Taxonomy-Guided Adaptive Red Teaming for Prompt Injection in LLM Agents
  7. 2026Climbing the Hill: Prompt Injection Red-Teaming Against Frontier Models with Curriculum Reinforcement Learning
  8. 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning