DefenseComposer: Knowledge-guided defense stacking against indirect prompt injectionDefenseComposer: Knowledge-Guided Defense Stacking Against Indirect Prompt Injection
Production-grade LLM agent systems increasingly compose multiple defenses to mitigate indirect prompt injection (IPI), but existing defenses are mostly designed and evaluated individually, and their compositional behavior is insufficiently understood. The authors propose DefenseComposer to measure the effectiveness of defense stacks and identify inter-defense interactions that break agent tasks, implementing 13 representative defenses and evaluating 66 single-defense and multi-defense stacks on more than 26,000 agent trajectories. After auditing failed execution trajectories, they induce three failure modes caused by improper stacking, namely cross-defense information loss, incompatible execution order, and overly broad mitigation scope; based on these, the authors design targeted manual repairs and distill them into reusable rules, forming an automated stack selection and repair workflow. On stacks containing previously unseen defenses, this workflow improves task completion rate under IPI attacks by 15.3% over the baseline, with an attack success rate of 0.0%.
Related events and news
1 events · 0 news mentions
- This event's paper
DefenseComposer 修复防御堆叠