Skip to content
InfoResearchPreprintLLM-specific

DefenseComposer: Knowledge-Guided Defense Stacking Against Indirect Prompt Injection

Published
Record updated
View JSON

Summary

DefenseComposer measures how stacked defenses against indirect prompt injection in LLM agents interact, testing 66 single- and multi-defense stacks built from 13 defenses on over 26,000 agent trajectories. Auditing failed traces revealed three failure modes: cross-defense information loss, incompatible execution order, and over-broad mitigation scopes. Distilled repair rules, applied in an automated stack-selection workflow, improved task completion by 15.3% over baselines on unseen defense stacks under attack, with 0.0% attack success rate.

Mitigation

The paper proposes targeted manual repairs for the three failure modes and reusable rules distilled into an automated stack-selection and repair workflow. No further fix or configuration change is specified in the source.