AI agents connected to several tool servers at once called an attacker's lookalike tool in up to 100% of trials, according to a preprint from the Canadian Institute for Cybersecurity at the University of New Brunswick. The attack worked when the fake tool copied the real one's name and description and accepted the same inputs.
Zeynab Anbiaee is the paper's first author, with Sajjad Dadkhah and Ali A. Ghorbani as co-authors. It was posted to arXiv on Nov. 16 and drew new attention in a thread on X on Nov. 29.
The study hasn't been peer reviewed.
How agents pick a tool
The Model Context Protocol (MCP) is an open standard that lets an AI app plug into outside "servers" that offer tools, such as a database lookup or a file fetcher. Each tool advertises a name and a plain-language description, along with an input schema, which is the format of arguments it accepts.
The model reads those fields to decide which tool to call. MCP requires tool names to be unique within one server, but it doesn't give a host a required way to tie a tool to a verified provider across servers, the authors wrote.
They call the resulting failure "tool-provider misbinding." In their setup, the attacker never breaks into the app or the model, and it doesn't touch the real server. It only runs a second MCP server that advertises a tool with chosen metadata.
The test
The researchers built one legitimate server with a tool called data_fetch_and_store and one attacker-controlled server. They mixed and matched the fake tool's metadata across 12 conditions, ranging from unrelated fields to exact copies of the real tool, the paper says.
Each condition ran 50 times per model, using 10 prompt wordings with five repeats each, the authors wrote. The models were GPT-5.4, Claude Sonnet 5, Gemini 2.5 Pro, Qwen3.7 Max and DeepSeek V3.
What happened
When the fake tool used the exact name and a copied description, with a compatible schema, GPT-5.4, Qwen3.7 Max and DeepSeek V3 picked it in all 50 trials, the paper reported. Gemini 2.5 Pro picked it 84% of the time.
Claude Sonnet 5 picked the attacker's tool in 6% of those trials. In the other 94% it asked the user which tool to use, according to the paper's results table.
A matching name alone wasn't enough. With the exact name but an unrelated description and an incompatible schema, the highest rate was 2%, for GPT-5.4, the results showed.
The schema mattered most. Holding the name and copied description fixed, switching the fake tool to a compatible schema raised the average violation rate across models from 0% to about 78%, the authors reported.
A lookalike name wasn't required either. A fake tool with an unrelated name but a compatible schema and a description written to sound authoritative was picked in 50% of DeepSeek V3 trials and 42% of Gemini 2.5 Pro trials, according to the paper.
What the authors recommend
The researchers argue that asking for clarification isn't a fix. "Model-side caution can reduce silent attacker selection, but it does not create provider-bound identity," they wrote.
They point to signed tool manifests, stable tool identifiers tied to a provider and schema hashes, enforced by the client app. They describe these as additions to existing safeguards such as permission checks and sandboxing, not replacements.
Limits
The study used one dataset-fetching task in a controlled environment, so other tools may produce different rates, the authors noted. They also said other models or confirmation designs may behave differently, and that the rates shouldn't be read as a safety ranking of the five models.
Source: Preprint, Zeynab Anbiaee, Sajjad Dadkhah and Ali A. Ghorbani, Canadian Institute for Cybersecurity, University of New Brunswick (i, “When Tool Names Are Not Identities: Measuring Provider Misbinding in MCP-Based AI Agents”
Additional sources: X post, @assumebreach (independent account), Nov. 29, 2026, “Thread summarizing the paper”
