Skip to content
IAM Insights

Briefing · Paper · source · published · Boston Identity

An MCP sandbox blocked every test attack that reached for the host; a poisoned tool that only redirected the agent got through

Four University of St. Gallen researchers propose AgentBound: each MCP server ships a permission list, the user approves it, and a Docker container enforces it. In their tests it stopped a server stealing an SSH key and servers calling swapped hosts. It did not stop a poisoned tool description that sent the agent's crypto transfer to a permitted endpoint, and its headline manifest accuracy rests on 21 maintainer verdicts.

arXiv · Christoph Bühler, Matteo Biagiola, Luca Di Grazia, Guido Salvaneschi · October 24, 2025 · read

share
3 findings4 sectionsAI trustAgentic identityNon-human identity
11,826 words.
01

What's happening

Finding3
BI-FIND-2025-0173Lead finding

A Docker container per MCP server blocked all nine environment attacks in the authors' tests but not a tool description that redirected crypto transfers.

Bühler, Biagiola, Di Grazia and Salvaneschi run each MCP server in a Docker container that gets only what the server's permission manifest declares and the user approves: mounted folders, an outbound allow-list enforced with iptables, and a whitelist of environment variables. They tested it on one server they wrote to steal an SSH key, four servers from Song et al.'s dataset and ten from a public security challenge. It blocked all nine attacks the authors class as targeting the environment, including swapped API hosts and a rug pull. It did not stop a puppet attack, where one server's tool description told the agent to route crypto transfers made through another server to a proxy address, because the attack "only alters parameters while still targeting a permitted endpoint." An SQL injection and two prompt injections also got through. The authors wrote or checked by hand every manifest used in these tests.

high confidencebest source: independent researchobserved Oct 2025EvidenceRQ2 and RQ3: attacks blocked, overheadDesign: AgentManifest and AgentBox
flag a problem with BI-FIND-2025-0173
Fig. 1

AgentBox stops a server reaching a file or host its manifest does not grant; the puppet attack works on the agent instead, and the transfer it causes goes to an endpoint the wallet server is allowed to call.

Drawn from the paper's attack tests A, B.1 and B.2Source dated October 24, 2025Passage: RQ2 and RQ3: attacks blocked, overhead

Swipe for the full figure →

BI-FIND-2025-0174

The 80.9% manifest accuracy in the abstract rests on few replies: 74% of the 96 servers sent generated manifests gave no response.

The abstract says permission manifests can be generated from source code "with 80.9% accuracy", and that figure rests on few replies. The authors filed generated manifests for 96 servers as GitHub issues. 74% got no response, 17.7% were accepted as correct, 4.2% were rejected and 4.2% were still under discussion. The paper does not show how it reaches 80.9%; by our arithmetic it is 17 accepted out of the 21 accepted or rejected. Maintainers who did reply pointed to over-granting, such as blanket environment access or file access a server never used. A second check, against 48 manifests two of the authors wrote by hand, is firmer but narrower: the generated ones matched on 787 of 816 permission decisions, and most misses were permissions the generator left out.

high confidencebest source: independent researchobserved Oct 2025EvidenceSection 3
flag a problem with BI-FIND-2025-0174
BI-FIND-2025-0175

AgentBound's permissions limit what an MCP server may touch on the machine, and the paper does not say which user or agent a call is made for.

We read AgentBound as least privilege for the server process, not authorization for whoever the server acts for. Its permissions name what a server may touch on the machine (folders, hosts, environment variables, devices), and the user grants them when the server starts. The paper does not mention OAuth or say which user or agent a call is made for. Its premise, that MCP servers "typically execute natively on host systems with few or no restrictions", matches the scan of 2,562 servers by Li et al. that the paper cites. The authors expect the manifest to ship with the server, so in our reading its publisher writes the request and the protection depends on the user reading the consent prompt.

medium confidencebest source: independent researchobserved Jul 2025 – Oct 2025EvidenceDesign: AgentManifest and AgentBoxSection 1
Also reported in +1 briefing
flag a problem with BI-FIND-2025-0175
02

Section by section

4

showing 4 of 4

[1]

Problem: MCP servers run with full host trust

AI trustAgentic identity

The authors argue that MCP servers usually run as local sub-processes with the agent's own operating-system privileges and no isolation. They support it with cited incidents and earlier studies rather than new measurement, and take their threat model from Song et al.: tool poisoning, puppet attacks, rug pulls and malicious external resources.

technical artifactfrom published text

[2]

Design: AgentManifest and AgentBox

AI trustAgentic identity

AgentBound pairs AgentManifest, a JSON permission list modelled on Android's with 18 permissions for files, system access, network, devices and a few others, with AgentBox, a Docker sandbox that enforces it through folder mounts, an iptables allow-list and a whitelist of environment variables. Servers need no changes. The user approves each permission at launch, and AgentManifestGen drafts manifests with five gpt-5-mini runs that gpt-5 merges.

technical artifactfrom published text + figures

[3]

RQ1: vocabulary coverage and manifest accuracy

AI trustNon-human identity

The authors generated manifests for the 296 most-starred servers on PulseMCP. Outbound network access appears in 83.1% of them, reading environment variables in 79.6% and reading files in 74.1%. Of 96 manifests filed as GitHub issues, 74% drew no reply, 17.7% were accepted and 4.2% rejected, and the 80.9% accuracy figure comes from those replies. Against 48 manifests the authors wrote by hand, 787 of 816 permissions matched.

technical artifactfrom published text + figures

[4]

RQ2 and RQ3: attacks blocked, overhead

AI trustAgentic identity

The attack tests use one server the authors wrote to steal an SSH key, four servers from Song et al.'s dataset and ten from a public challenge repository. AgentBox blocked all nine attacks aimed at the environment, while a puppet attack (B.2), an SQL injection and two prompt injections got through. Starting a server in the sandbox added roughly 150 to 400 ms, and each operation about 0.6 ms on macOS and 0.29 ms on Debian.

technical artifactfrom published text

Terms used

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.
Docker
A container runtime that runs software in isolated environments that can be started, used and destroyed.
SSH
The protocol administrators and automated jobs use to log in to servers; its long-lived keys are a common unmanaged machine credential.
Tool poisoning
Hiding malicious instructions in the description or parameters of a tool an AI agent can call, so the model is steered into leaking data or taking actions its user never intended.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
Rug pull attack
A tool or MCP server is benign at install, then updated to carry malicious behavior or descriptions.
SQL injection
An attack that slips database commands into an input field so the application runs them. It is the classic example of untrusted input being treated as instructions, the same flaw behind prompt injection.
Prompt injection
Hiding instructions in text an AI model reads, such as an email or a web page, so the model does something its operator never asked for.

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