VIGIL: Defending LLM Agents Against Tool Stream Injection via Verify-Before-Commit
Junda Lin, Zhaomeng Zhou, Zhi Zheng, Shuochen Liu, Tong Xu, Yong Chen, Enhong Chen

TL;DR
VIGIL is a novel framework that enhances the security of LLM agents against tool stream injection attacks by verifying actions before commitment, maintaining reasoning flexibility and significantly reducing attack success.
Contribution
The paper introduces VIGIL, a verify-before-commit protocol for LLM agents, and SIREN, a comprehensive benchmark for tool stream injection threats, advancing defenses against prompt injection.
Findings
VIGIL reduces attack success rate by over 22%.
VIGIL more than doubles utility under attack compared to static defenses.
SIREN benchmark includes 959 diverse injection cases.
Abstract
LLM agents operating in open environments face escalating risks from indirect prompt injection, particularly within the tool stream where manipulated metadata and runtime feedback hijack execution flow. Existing defenses encounter a critical dilemma as advanced models prioritize injected rules due to strict alignment while static protection mechanisms sever the feedback loop required for adaptive reasoning. To reconcile this conflict, we propose \textbf{VIGIL}, a framework that shifts the paradigm from restrictive isolation to a verify-before-commit protocol. By facilitating speculative hypothesis generation and enforcing safety through intent-grounded verification, \textbf{VIGIL} preserves reasoning flexibility while ensuring robust control. We further introduce \textbf{SIREN}, a benchmark comprising 959 tool stream injection cases designed to simulate pervasive threats characterized…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Adversarial Robustness in Machine Learning
