SIEVE: Selective Integrity Verification and Escalation for Defending LLM Agents against Indirect Prompt Injection

Liang, Zhibo, Hu, Tianze, Chen, Zaiye, Tang, Mingjie

–arXiv.org Artificial Intelligence 

Consider a user who asks an agent to pay a bill. During execution, the agent retrieves a document containing both Large Language Models (LLMs) are increasingly used as thethe legitimate payee account and an injected instruction to core of agentic systems due to their strong reasoning, plan-send an additional "service fee" to an attacker-controlled ning, and tool-use capabilities. The legitimate and maliciousenvironments, LLM agents can execute real-world tasks on behalf of users rather than merely generate text. This expandedpayments use the same authorized tool, follow the same excapability also amplifies the threat of indirect prompt injec-ecution sequence, and draw their arguments from the same tion (IPI), where malicious external content can manipulateexternal document. Consequently, defenses that inspect only agent behavior and trigger unauthorized actions, privacy leak-tool permissions, execution trajectories, or coarse-grained age, or financial loss. Existing defenses generally follow twosource provenance cannot reliably distinguish the two acapproaches. Plan-or rule-based methods constrain agent ex-tions. The challenge is to allow legitimate runtime evidence ecution using predefined plans or execution rules, but mayto guide execution without granting attacker-controlled conblock legitimate actions that arise from dynamic runtime content the same authority. Semantic auditing methods offer greater flexibility, yet repeatedly re-evaluating proposed actions incurs substantial Existing defenses typically emphasize one of two verificatoken and latency overhead. These limitations motivate a se-tion regimes. Structure-based methods constrain agent exelective verification strategy that applies deterministic checkscution through predefined plans, permissions, or control-flow whenever reliable structural evidence is available and esca-rules, enabling efficient and auditable checks but potentially lates only ambiguous cases.