# MCP server scan shows harmless-looking tools can chain into attacks

A scanner run over 10,121 public Model Context Protocol servers flags tool combinations as a major source of risk. Hand checks on a 100-server sample confirmed about four in five of its reports.

- Category: Safety & evaluation
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-11-30
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/mcp-server-scan-shows-harmless-looking-tools-can-chain-into-attacks

## The study

Agent Smith in Action: Internet-scale, Automated Security Analysis of MCP Tools (preprint, not peer reviewed). arXiv 2611.36552. https://arxiv.org/abs/2611.36552

## At a glance

- What it shows: AI assistants increasingly plug into outside tools that can write files, run commands or browse the web. This study shows that two tools which each look safe can be combined into an attack. It also shows that a new scanner can find such combinations with good accuracy on a hand-checked sample.
- What it does not show: It does not show how many real security holes exist across all public tool servers, because only 150 of about 27,000 reports were checked by hand. It also does not measure how many flaws the scanner misses.
- Why it matters: Checking each tool on its own, as most current reviews do, can miss dangerous cases. Anyone running AI agents with several tools needs to think about how those tools interact.

## What the study shows

The Model Context Protocol (MCP) is a common standard that lets AI assistants and agents connect to outside tools. An MCP server is a small program that offers a set of these tools, such as reading files, running shell commands or controlling a browser. Thousands of such servers are listed in public marketplaces.

The authors, from Indiana University, UCLA and Nanyang Technological University, built a scanner called SCAN-MCP. It reads a server's source code and looks for two kinds of flaw. One is a weakness inside a single tool. The other is a tool chain: a sequence where one tool's output or side effect lets a later tool do something harmful.

Their main example is simple. A command tool blocks the word 'rm', the delete command. A second tool writes files. An attacker writes a script containing 'rm' with the file tool, then runs the script with the command tool. Neither tool looks dangerous alone, but together they bypass the block.

The scanner works in three stages. First it finds each tool and the code behind it, and cuts out the relevant code. Then a large language model proposes risky data flows, within tools and between pairs of tools, and fixed rule-based checks discard proposals that do not fit. Finally, a human tries selected reports in an isolated virtual machine.

Run over 10,121 public servers with about 90,000 tools, the scanner produced about 27,000 unconfirmed reports. Just under a third involved chains of tools. The authors stress these are risk signals, not counts of confirmed vulnerabilities.

To measure accuracy, analysts took a 100-server sample and tested every report by hand. They confirmed 124 of 150, about 83%. That included 19 of 20 tool-chain reports. On the same sample, the authors report lower precision for the comparison tools: about half for a plain language model reading the code, and well below that for Semgrep, Tencent's AI-Infra-Guard and Cisco's mcp-scanner.

For each of the 19 confirmed chains, running only the final tool from a clean start never reproduced the harm. The authors read this as evidence that these flaws really depend on the sequence. The work is an arXiv preprint. The PDF states acceptance at the ICSE 2027 software engineering conference, which we could not verify.

## Our reading

In our reading, the strongest contribution is the framing, backed by a careful test. Security reviews of agent tools usually ask whether each tool is safe. This paper shows, with sandbox evidence, that the right question is often whether the set of tools on one server is safe together. The sink-only control, where the last tool alone caused no harm in any of the 19 cases, makes that point cleanly.

The precision result is credible but narrow. It rests on 150 reports from 100 servers, and the tool-chain figure rests on just 20 reports, with the 19 confirmed ones spread across nine servers. The headline count of about 27,000 reports is not a measure of how insecure the ecosystem is. The authors say so themselves, and readers should not repeat it as a vulnerability count.

A concrete case shows why this matters in practice. A widely used browser-automation server had separate tools to open a page, click a button and upload a file. Together, they could send a private local file to a page an attacker controls. The vendor first called the report out of scope, then changed its file-upload handling about two weeks later.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/mcp-server-scan-shows-harmless-looking-tools-can-chain-into-attacks

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
