PIPETTE: purple-teaming that actually hardens agents against prompt injection
The paper shows that RL-based red-teaming methods such as RL-Hammer and PISmith suffer mode collapse, repeatedly finding similar attacks that add no robustness when used for adversarial training. PIPETTE uses a dictionary-learning reward to broaden attack…
Why it matters
Indirect prompt injection is the top security risk for agents handling untrusted data, and this shows high red-team success rates can be a misleading metric.
What happened
1 min readThe paper shows that RL-based red-teaming methods such as RL-Hammer and PISmith suffer mode collapse, repeatedly finding similar attacks that add no robustness when used for adversarial training. PIPETTE uses a dictionary-learning reward to broaden attack coverage and an on-policy adversarial training pipeline for indirect prompt injection defense. On AgentDojo and ASB it reaches near-zero success for static attacks and resists strong adaptive attacks while keeping benign utility close to baseline.
Our analysis
The core finding, that attack diversity matters more than attack success rate, is a practical lesson for model security teams. The adaptive-attack robustness claim is promising, but evaluations are on known benchmarks and self-reported. It applies to those doing adversarial training on their own models, not to teams that only consume APIs.