Agent Tool Selection Hijack
A vulnerability exists in the tool selection mechanism of Large Language Model (LLM) agents that utilize a retrieval-then-selection pipeline (RAG) for identifying executable tools. The vulnerability, known as "ToolHijacker," allows a remote attacker to manipulate the agent's decision-making process by injecting a malicious tool document into the accessible tool library (e.g., via third-party tool hubs or plugins). The attack employs a two-phase optimization strategy to craft a malicious tool…
Evaluated models: Llama 2 7B Chat, Llama 3 8B Instruct, Llama 3 70B Instruct+5 more
- Llama 2 7B Chat
- Llama 3 8B Instruct
- Llama 3 70B Instruct
- Llama 3.3 70B Instruct
- Claude 3 Haiku
- Claude 3.5 Sonnet
- GPT-3.5
- GPT-4o