当工具名称并非身份标识:基于MCP的AI智能体中的提供者错误绑定测量
When Tool Names Are Not Identities: Measuring Provider Misbinding in MCP-Based AI Agents
Zeynab Anbiaee, Sajjad Dadkhah, Ali A. Ghorbani
AI 速读 基于摘要
论文研究MCP生态中工具元数据与提供者身份未绑定的问题,即攻击者仅通过注册一个广告特定元数据的MCP服务器,就能让本应发给合法提供者的工具请求被解析到攻击者控制的工具。
cs.CR · cs.AI
查看原文摘要
Large language model (LLM) applications increasingly act as agents that select and invoke external tools. The Model Context Protocol (MCP) standardizes this interaction by allowing clients to compose tools advertised by multiple servers. However, tool metadata used for discovery and selection is not, by itself, necessarily bound to a verified provider identity. This paper studies this gap as tool-provider misbinding: a failure in which a request intended for a legitimate provider is instead resolved to an attacker-controlled tool. The attacker does not compromise the host, LLM, legitimate server, or network channel; it only operates another MCP server that advertises tools with chosen metadata. We formulate tool provider misbinding as an attacker-controlled tool-selection optimization problem and evaluate it in a controlled MCP environment across five LLM-based clients. The results show that interactions drive misbinding. The strongest failures occur when exact-name collision, task-aligned description, and compatible schema reinforce one another, but authority-enhanced descriptions with compatible schema can also cause wrong-provider execution or unresolved provider ambiguity without name collision. Different models expose the same provider-binding weakness differently, including attacker-controlled provider selection, clarification requests, and unstable or inconsistent provider resolution.