Beyond Prompt Injection: The Tool Update Gap in LLM Agent Security
Shiyu Kan (Shanghai Jiao Tong University, Shanghai, China), Yue Qi (Shanghai Jiao Tong University, Shanghai, China), Yufei Han (Inria, Rennes,
Key points
From the paper's conclusion- These findings expose a fundamental blind spot in current agent security practices: trust established for a tool does not necessarily remain valid after its implementation updates.
Abstract
Large language model based agents increasingly rely on external tools to invoke services and interact with web resources. These tools can evolve through software updates, yet agentic frameworks may continue trusting them without re-verifying their safety after implementation changes. This tool update gap creates a supply-chain vulnerability in agentic systems: because updated tool code executes outside the LLM's context window, malicious functionality embedded in tool updates can bypass defenses centered on model-visible interactions, leaving agents exposed to stealthy, persistent threats that existing in-context defenses can hardly address. To thoroughly investigate this threat, we introduce ETUDE (Exploiting Tool Updates for Direct Execution), an attack that embeds malicious functionality into updates of initially benign tools to produce compromised tools, while preserving their legitimate tool functionality. Unlike prompt-based attacks, ETUDE operates entirely outside the LLM's context and requires no adversarial instructions, thereby bypassing defenses restricted to model-visible content. We evaluate ETUDE across three representative attack workloads and seven widely used commercial and open-source agentic frameworks, including Gemini CLI, Codex CLI, and Claude Code. The results show that ETUDE achieves a 97.6% ASR while maintaining a 95.9% legitimate task completion rate. We further examine existing defenses and find that they provide insufficient protection against this threat. These findings expose a fundamental blind spot in current agent security practices: trust established for a tool does not necessarily remain valid after its implementation updates.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Datura: Progressive Red Teaming Testing for Tool Invocation Chain in LLM AgentsProceedings of the ACM on Software Engineering · 2026
- Log-To-Leak: Prompt Injection Attacks on Tool-Using LLM Agents via the Model Context ProtocolarXiv · 2026
- AgentLens: Graph-guided Security Auditing for LLM-based AgentsarXiv · 2026
- APEX: Active Protection at Execution Boundaries for LLM AgentsarXiv · 2026
- Package Hallucination Attacks on Coding Agents through Prompt Injection in Rule FilesarXiv · 2026
- ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM AgentsarXiv · 2026