Skip to content
IAM Insights

Briefing · Paper · source · updated · Boston Identity

An MCP privilege study says obscure servers are riskier; its own table points the other way

Six Shandong University researchers scanned the code of 2,562 servers listed on MCP Market and found network APIs in 1,438 and system APIs such as subprocess in 1,237. They argue the Model Context Protocol needs privilege management, because servers typically run on the user's machine with few if any isolation boundaries. The scan records which APIs the code calls, with no test of what an attacker could reach, and the table behind its popularity claim counts servers where the paper says calls.

arXiv · Zhihao Li, Kun Li, Boyang Ma, Minghui Xu, Yue Zhang, Xiuzhen Cheng · July 5, 2025 · read

share
3 findings5 sectionsAI trustAgentic identity
5,165 words. With Zhihao Li, author, Shandong University; Kun Li, author, Shandong University; Boyang Ma, author, Shandong University; Minghui Xu, author, Shandong University; Yue Zhang, author, Shandong University; Xiuzhen Cheng, author, Shandong University.
01

What's happening

Finding3
BI-FIND-2025-0120Lead finding

The 1,837 figure for servers with 0–10 stars in the authors' Table III counts servers, so it says little about whether less popular servers are more dangerous.

The authors conclude that less popular MCP servers carry more dangerous code, because servers with 0–10 GitHub stars account for 1,837 of the "API calls" in their Table III. That table counts servers, not calls: its totals add up to the 2,562 servers scanned and its columns to the server counts in Figure 2, so 1,837 is simply how many servers have ten stars or fewer. Read as shares, the table points the other way. 45% of servers with 0–10 stars call system-resource APIs such as subprocess or exec, against 68% at 101–1,000 stars and 43 of 47 at 1,001–10,000. Our reading is that larger, more used projects hold more code for a presence scan to match, so the table says little about which servers are more dangerous. Table II has the same shape, so Developer Tools' 626 is most likely the number of servers in that category.

medium confidencebest source: independent researchobserved Jul 2025EvidenceMeasurement of 2,562 MCP servers
flag a problem with BI-FIND-2025-0120
Fig. 1

Read as server counts, the paper's own table shows popular servers calling system APIs more often than obscure ones.

Recomputed from the paper's Table IIISource dated July 5, 2025Passage: Measurement of 2,562 MCP servers

Swipe for the full figure →

BI-FIND-2025-0121

The paper's static scan found network APIs in 1,438 of 2,562 MCP servers' code, with no false-positive rate and no check that a tool can reach the call.

The paper's headline numbers measure what server code calls. A static scan matched each server's source against a curated list of API signatures, using syntax-tree parsers with a regex fallback, and found network APIs in 1,438 of 2,562 MCP Market servers, system APIs in 1,237, file APIs in 613 and memory APIs in 25. The paper gives no false-positive rate and no check that a matched call can be reached from a tool. Its three case studies, blog-publisher, twitter-mcp and web-research, describe from the code what attackers could do; no exploit run and no disclosure to maintainers is reported. The risk argument rests on the authors' premise that MCP servers "typically run natively on local machines with few, if any, isolation boundaries," so whatever the code calls, the host allows.

medium confidencebest source: independent researchobserved Jul 2025EvidenceTaxonomy and static-analysis methodMeasurement of 2,562 MCP serversCase studies+1
flag a problem with BI-FIND-2025-0121
BI-FIND-2025-0122

The authors pose their remedy for server privileges, such as permissions granted just in time, as three open questions and build or test none of it.

The authors pose their remedy as three open questions. They ask for a privilege-management framework for servers whose general-purpose role makes boundaries hard to set in advance, for use of each platform's own controls (Windows UAC, macOS sandboxing, Linux namespace isolation), and for permissions granted just in time, based on actual use and on what a natural-language request needs. They build and test none of these. The paper's subject is what a server process may touch on the host; it does not take up how servers or users are authenticated, OAuth, or agent identity.

medium confidencebest source: independent researchobserved Jul 2025EvidenceOpen questions: privilege management for MCPTaxonomy and static-analysis method
flag a problem with BI-FIND-2025-0122
02

Section by section

5

showing 5 of 5

[1]

Premise: MCP servers run with implicit trust

Zhihao Li, Shandong University · Kun Li, Shandong University · Boyang Ma, Shandong University · Minghui Xu, Shandong University · Yue Zhang, Shandong University · Xiuzhen Cheng, Shandong University

AI trustAgentic identity

Authors argue MCP servers typically run natively with few isolation boundaries, unlike mobile platforms with runtime permission checks, so any installed plugin inherits file, process and network primitives. Describes the Host/Client/Server/LLM flow (Fig. 1). Premise is asserted, with Android permission literature as contrast; no MCP-specific incident data here.

opinionfrom published text + figures

[2]

Taxonomy and static-analysis method

Zhihao Li, Shandong University · Kun Li, Shandong University · Boyang Ma, Shandong University · Minghui Xu, Shandong University · Yue Zhang, Shandong University · Xiuzhen Cheng, Shandong University

AI trust

Defines four resource classes (file, memory, network, system) mapped to API calls such as open(), subprocess.call(), socket connect and ctypes.CDLL (Table I). Pipeline crawls MCP Market, downloads repos, parses Python/JS/Java ASTs with regex fallback and matches a curated API signature database. Detects API presence, not exploitability; no dynamic or taint analysis.

technical artifactfrom published text + figures

[3]

Measurement of 2,562 MCP servers

Zhihao Li, Shandong University · Kun Li, Shandong University · Boyang Ma, Shandong University · Minghui Xu, Shandong University · Yue Zhang, Shandong University · Xiuzhen Cheng, Shandong University

AI trust

Static scan of 2,562 MCP Market servers: network APIs in 1,438 servers, system in 1,237, file 613, memory 25 (Fig. 2). Tables II and III are labelled as API calls by category and by GitHub stars, but their totals add up to server counts, so Developer Tools' 626 and the 1,837 servers with 0-10 stars are group sizes. The authors read Table III as showing that less popular servers are riskier.

technical artifactfrom published text + figures

[4]

Case studies: blog-publisher, twitter-mcp, web-research

Zhihao Li, Shandong University · Kun Li, Shandong University · Boyang Ma, Shandong University · Minghui Xu, Shandong University · Yue Zhang, Shandong University · Xiuzhen Cheng, Shandong University

AI trust

Three servers assessed by code reading: blog-publisher (subprocess.run plus shutil.copy, unsanitized input, command injection), twitter-mcp (content manipulation before posting), web-research (result injection, query logging, load_dotenv key exposure). Risks are described as what malicious operators could do; no exploit demonstrated, no disclosure or CVE, selection criteria unstated.

technical artifactfrom published text

[5]

Open questions: privilege management for MCP

Zhihao Li, Shandong University · Kun Li, Shandong University · Boyang Ma, Shandong University · Minghui Xu, Shandong University · Yue Zhang, Shandong University · Xiuzhen Cheng, Shandong University

AI trustAgentic identity

Calls for least-privilege API usage and auditing, and poses three open questions: a privilege management framework given general-purpose servers, platform-specific adaptations (UAC, macOS sandboxing, Linux namespaces), and dynamic just-in-time permission models tied to natural-language intent. No design or prototype is offered. Related work: MCP Guardian, Narajala and Habler enterprise framework.

opinionfrom published text

Terms used

Model Context Protocol
Model Context Protocol: an open standard, originated by Anthropic, for connecting AI assistants to tools and data.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
MCP server
The tool-providing side of the Model Context Protocol (MCP): exposes tools, resources and prompts to an MCP client, often running locally with the user's privileges.
Sandboxed execution
Running agent-generated code inside an isolated, disposable environment so a malicious script cannot reach the host's files, network or processes.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
Agent identity
A unique, verifiable identifier assigned to an AI agent itself, distinct from the human or system it acts for, so the agent can authenticate, be tied to an accountable owner, and have its actions tracked and revoked like any other identity.
LLM
The text-predicting AI model behind chatbots and agents. It follows instructions statistically, which is why an instruction hidden in its input can redirect it.
Command injection
Untrusted input reaches a shell or command line and runs as a command.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity