Skip to content
AI / LLM Write-up Advanced

MCP: Untrusted Servers and Confused Clients, Plus a Sneaky Exploit

The post explains that MCP tool servers can be controlled by prompt injection, letting an untrusted server influence the client, and it shares a novel exploit chain. It does not give reproduction steps or a specific vulnerable product in the excerpt.

embracethered.com

Published on embracethered.com

The Model Context Protocol (MCP) is a protocol definition for how LLM apps/agents can leverage external tools. I have been calling it Model Control Protocol at times, because due to prompt injection, MCP tool servers control the client basically.

The author, on embracethered.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the client trusts tool descriptions and outputs from an untrusted MCP server without separating them from user intent, so prompt injection can steer the client.

Impact

An attacker who controls an MCP server could influence the client through prompt injection, though the excerpt does not detail the full exploit chain.

What the attacker needed

Untrusted MCP server; client connects to it

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

MCP is a way for AI assistants to use outside tools. If an outside tool can sneak instructions into the assistant, it can make the assistant do things the user did not intend. This post argues that this makes untrusted tool servers dangerous.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.