Field NotesJuly 2025
MCP consent binds a name, but the model reads content: nine design findings of April to July 2025 are one weakness
A tool description is model input that the server controls and can change after the user agreed, and a tool result does not exist until after the call; going by the specification and client documentation (untested), trust is decided once, on a name. We place 19 public findings at seven entry points, read two specification revisions against them, and give a checklist to pin, diff, isolate and log.
In this piece
On 1 April 2025 Invariant Labs published an addition tool called add. Its description field carried instructions for the model: read the user's MCP configuration file and SSH private key, then pass the contents in an extra parameter. On Cursor the agent complied. The confirmation dialog showed the user a simplified tool name and did not show the full arguments1. Invariant named the technique tool poisoning.
In less than four months the public reports on the Model Context Protocol (MCP) piled up under a series of names: rug pull, shadowing, line jumping, toxic agent flow, Full-Schema Poisoning2345. The same period brought four CVEs and several measurements67. The names overlap: Trail of Bits says line jumping is what other researchers call tool poisoning3.
We think 9 of the 19 findings in the table below are two channels of one weakness. The client makes its trust decision once, on a name, and the model reads the text behind that name. The first channel is the tool description: it is model input that the server controls and can change after the user consented. The second is the tool result: it does not exist until after the call and may carry third-party content. The other 10 are ordinary implementation or configuration bugs: command injection, path traversal, a local port with no authentication. The claim can be refuted by one design-class case in which the client pinned the full description the model read, asked again after a change, kept tool results away from private data and outbound channels, and the attack still worked.
01Four months on the public record#
The labels in the right column of the timeline are ours.
MCP revision 2025-03-26 adds tool annotations and an authorization framework based on OAuth 2.115
SpecInvariant Labs publishes tool poisoning, rug pulls and shadowing1
DesignInvariant shows a second server's description making the agent send WhatsApp chat history out through WhatsApp itself; on 04-09 it adds a variant that needs one message2
DesignMicrosoft previews an MCP security architecture for Windows 1117
PlatformInvariant publishes a data-flow attack on the GitHub MCP server4
DesignCyberArk publishes Full-Schema Poisoning and ATPA5
DesignCVE-2025-49596 advisory: MCP Inspector fixed in 0.14.118
ImplementationAsana's MCP server returns after nearly two weeks offline19
ImplementationMCP revision 2025-06-1820
SpecGeneral Analysis's Supabase MCP demonstration reaches Hacker News; a self-described Supabase engineer replies the same day25
DesignCVE-2025-6514 published:
Implementationmcp-remotefixed in 0.1.1613Knostic publishes its count of internet-exposed servers7
Measurement
Simon Willison's round-up of 9 April already separated implementation errors that are easy to fix from others he called much more insidious. He also wrote that these problems are not inherent to the MCP protocol itself: they appear whenever tools are given to a model that can be exposed to untrusted input26. In June he named one combination the lethal trifecta: an agent that can read private data, is exposed to untrusted content, and can communicate externally27.
02Seven entry points: where content comes in, and what consent was bound to#
We sort each finding with two questions. Where does untrusted content enter the model or the local machine? What did the user consent to at that moment? The seven entry points are:
- E1: the tool description at install.
- E2: the description after a change.
- E3: the tool result.
- E4: another server's tools in the same context.
- E5: server identity and transport.
- E6: authorization, including authorization metadata and the server's own access decisions.
- E7: local developer tooling and server code.
The column "Consent was bound to" is our reading of how each source describes the interface. "None stated" in the last column means the source gives no remedy. "Class" has two values. Design means the weakness remains when server and client both follow the specification; it does not mean the problem exists only in MCP. Implementation means code or configuration breaks an established security rule.
| Entry | Finding | How untrusted content gets in | Consent was bound to | Class | Remedy or response |
|---|---|---|---|---|---|
| E1 | Tool poisoning, Invariant, 2025-04-01 | Instructions in the description tell the model to read local files and pass them in an extra parameter1 | The tool name; the dialog did not show the full arguments | Design | Researchers advise: show full descriptions, pin, isolate servers |
| E1 | Line jumping, Trail of Bits, 2025-04-21 | The description enters the context with the tools/list response and acts before any tool is called3 | Only the act of adding the server; no per-call confirmation has appeared yet | Design | Researchers advise: trust on first use, alert on changed descriptions |
| E1 | Invisible characters, Trail of Bits and Embrace The Red, 2025-04-29 and 05-02 | ANSI escape sequences or Unicode Tag characters in a description, unseen by a person and read by the model2829 | The text rendered on screen, not the bytes | Implementation (display) | No fix mentioned; Trail of Bits tested Claude Code 0.2.76 |
| E1 | Full-Schema Poisoning, CyberArk, 2025-05-30 | The whole schema is model input. In four tests on Cursor a parameter name and an added field worked, required worked in part, and client validation blocked the type field5 | Not stated; the demonstration ran on Cursor | Design | Researchers advise: inspect the whole schema |
| E2 | Rug pull and sleeper, Invariant, 2025-04-01 and 04-07 | The server offers a harmless description first and a malicious one on its second launch2 | The description seen first; Invariant observed that some clients do not announce changes | Design | Microsoft preview: the Windows server registry will require that tool definitions not change at runtime17 |
| E4 | Shadowing, Invariant, 2025-04-01 and 04-07 | A malicious server's description rewrites how a trusted server's email or messaging tool behaves; the malicious tool is never called12 | The trusted tool's name and the arguments shown | Design | Researchers advise: data-flow controls across servers |
| E3 | WhatsApp Experiment 2, Invariant, 2025-04-09 | A message sent by the attacker enters the context in the list_chats result2 | The name of the read tool; the post does not describe the dialog at this step | Design | None stated |
| E3 | GitHub MCP, Invariant, 2025-05-26 | An issue in a public repository carries instructions; the agent reads private repositories and opens a pull request in the public one4 | Per-call confirmation, or the user's Always Allow | Design | Invariant: not a flaw in the server code; a server-side patch alone cannot resolve it |
| E3 | Supabase MCP, General Analysis, 2025-07 | Support-ticket text carries instructions; the agent reads private tables as service_role and writes them back to the ticket8 | Not stated; the post says the queries look like ordinary tool calls unless manually expanded | Design | A Supabase engineer says read-only advice, wrapped SQL responses and tests were added, and calls them mitigations25 |
| E3 | ATPA, CyberArk, 2025-05-30 | A malicious server asks the model for sensitive data inside tool output, such as an error message5 | Not stated; the description itself is harmless | Design | Researchers advise: treat tool output as untrusted input |
| E3 | Reference SQLite server, Trend Micro, 2025-06-24 | SQL injection stores a prompt in the database; it later enters the context in a query result21 | Not applicable | Implementation | Per Trend Micro, Anthropic replied: an archived demo implementation, out of scope |
| E3 | Reference Slack server, Embrace The Red, 2025-06-24 | The server posts without disabling link unfurling, so a posted URL becomes an outbound channel22 | Not applicable | Implementation | Server archived on 2025-05-29; the author gives a self-applied change |
| E5 | NeighborJack, Backslash, 2025-06-25 | Servers bound to 0.0.0.0 are reachable by anyone on the local network30 | Not applicable | Implementation or configuration | None stated |
| E5 | Exposed servers, Knostic, 2025-07-17 | Internet-facing servers answer tools/list without authentication7 | Not applicable | Configuration | Knostic says this is more than a configuration oversight: the specification does not require authentication by default |
| E6 | CVE-2025-6514, mcp-remote 0.0.5 to 0.1.15, JFrog, 2025-07-09 | The server's authorization_endpoint value is passed to the function that opens a browser, giving OS command injection13 | The server URL the user wrote in the configuration | Implementation, CWE-786 | 0.1.1613 |
| E6 (presumed) | Asana's MCP server, 2025-06 | Mechanism not published; the customer notice quoted in the press says some information from the customer's Asana domain could have been exposed to other Asana MCP users31 | Not applicable | Implementation (server side); Asana calls it a bug | Disabled 2025-06-05 to 06-17, fixed, all connections reset19 |
| E7 | CVE-2025-49596, MCP Inspector before 0.14.1, advisory of 2025-06-13, mechanism per Oligo | The Inspector proxy did not authenticate requests; a web page could reach the local port through 0.0.0.0 or DNS rebinding and make it launch a command32 | Not applicable | Implementation, CWE-306 | 0.14.118; session token by default, origin checks32 |
| E7 | CVE-2025-53109 and CVE-2025-53110, Filesystem server, Cymulate, 2025-07-02 | Allowed directories were checked by string prefix; a symlink could point outside them33 | The allowed directories in the configuration | Implementation, CWE-59 and CWE-22 | 2025.7.12324 |
| E7 | Plaintext credentials, Trail of Bits, 2025-04-30 | Long-lived API keys stored in plaintext locally with loose file permissions16 | Not applicable | Implementation | None stated |
On our classification the table shows two distributions. All nine design cases sit at E1 to E4, which is the model's context. Seven of the ten implementation or configuration cases sit at E5 to E7, which is network, authorization and the local machine.
In six of the nine design rows the fourth column names an object: a tool name, the act of adding a server, the description seen first, the arguments shown on screen, or one Always Allow. In the other three the source does not describe the interface. No row holds the content the model read.
Keep design problems and implementation bugs apart#
Protocol-design problems
- What comes in is text: descriptions, schemas, tool results.
- There is no fixed version to install; the remedy lies in the client and in how you deploy.
Implementation and configuration bugs
- What comes in is program input: a URL, a path, an SQL string, an HTTP request.
- Maintained code gets a fixed version, and upgrading closes that bug.
First, the remedies differ. A single list of "MCP vulnerabilities" invites a team to upgrade its packages and consider the work done.
Second, the two classes amplify each other. In Trend Micro's case an implementation bug, SQL injection, has a design-class result: the stored prompt later reaches the model as a tool result21. The mcp-remote case runs the other way. Connecting to a server you do not control is routine in MCP, so one piece of client-side code that treats server data as trusted input becomes code execution13.
Third, a fixed version exists only while someone maintains the code. The reference SQLite and Slack servers were archived on 2025-05-29; according to the two reports they will get no fix2122.
What each measurement measured#
1,862 / 119
Knostic, 2025-07-17: 1,862 internet-exposed MCP servers identified with Shodan and custom tools; 119 checked by hand, all of which returned their tool list without authentication7
43% / 22% / 30%
Equixly, 2025-03-29: share of the popular MCP server implementations it tested with command injection, path traversal or arbitrary file read, and SSRF; the post gives no sample size34
hundreds / dozens
Backslash, 2025-06-25: among thousands of public MCP servers analysed, hundreds bound to 0.0.0.0 and dozens allowing arbitrary command execution; the post gives no exact counts30
5,000+
Trend Micro: forks or copies of the reference SQLite server with the SQL injection before it was archived on 2025-05-29; not a count of running deployments21
These four numbers measure different things and cannot be added or converted into one another. None of them counts malicious servers; Backslash states that its analysis found no obviously malicious server30.
03The weakness model: trust is decided once, on a name#
Take what the design cases have in common and you get one fixed sequence. Of its five steps, two involve a human decision.
- 01
Add the server
The user writes a name and a launch command or URL into the configuration
Consent binds a name and a location - 02
List tools
The client calls
No consenttools/list; descriptions and schemas enter the model's context - 03
Call a tool
The model picks a tool; the client may show its name and arguments for confirmation
Consent binds a name and the arguments shown - 04
Result returns
The tool result enters the context and may carry third-party content
No consent - 05
List changes
The server signals a change and the client fetches the list again
The spec does not require asking again
The status column is our assessment from the specification and the sources, not a test of any client.
Consent is bound to a name#
The protocol settles this first. A tools/call request carries a tool name and arguments. The fields of Tool are name, title, description, inputSchema, outputSchema, annotations and a free-form _meta; the specification defines no version field and no content digest. A server's identity is the name and version it reports about itself in the initialize response9.
Client documentation matches. In the Claude Code documentation archived on 20 July 2025, permission rules match mcp__server or mcp__server__tool, where the server name is the one the user configured35. The VS Code documentation archived the same day says a user can have a specific tool confirmed automatically for the session, the workspace, or all future invocations36. Invariant also notes that Claude Desktop confirms each call by default, but many users choose Always Allow and stop watching individual actions4. At the server level, Claude Code's documentation says it asks for approval before using project-scoped servers from .mcp.json37; that decision is about a configuration entry.
Our inference, read from documentation, is that the consent a client stores is keyed on a name. Neither document says whether a stored approval still holds after a description changes, and we did not test what these clients do in that case.
Content changes after the decision#
The specification puts no limit on when the tool list may change. A server that declared listChanged SHOULD send a notification, and the message flow shows the client fetching the list again10. Invariant's sleeper server does not even need the notification: it serves the malicious description on its second launch, which, the authors say, avoids a new approval by the user2.
The code can change too. The sample configuration in JFrog's post starts mcp-remote with npx and no version13. As we understand it, the registry's state at launch time decides which version runs.
Every server shares one context#
A design principle in the specification says servers should not be able to read the whole conversation or see into other servers, and that the host enforces the boundaries38. But every server's descriptions and results end up in one model context. Trail of Bits puts it this way: servers do not need a direct channel, because they can instruct the model to relay for them3.
A description can be read and digested at consent time. A tool result does not exist until after the call, so nobody can consent to it in advance. In the GitHub and Supabase cases one server supplied private data, untrusted content and an outbound channel together39.
The model therefore yields three kinds of remedy. Pin and diff what can be pinned: code, descriptions, schemas. Isolate what cannot be pinned: tool results. Log both.
04What the two specification revisions say#
On 2025-07-24 the latest revision was 2025-06-18 and the one before it was 2025-03-2620.
Tools, descriptions and consent#
The overview has a section called Security and Trust & Safety with four principles. One says hosts must obtain explicit user consent before invoking any tool. That must is lowercase, and the same page says normative keywords apply as in BCP 14 only when they appear in capitals. The normative sentence comes at the end of the section: MCP cannot enforce these principles at the protocol level, and implementors SHOULD build consent and authorization flows into their applications. The Tool Safety principle in the same section has one more lowercase should: descriptions of tool behaviour such as annotations should be considered untrusted unless they come from a trusted server40. The section is word for word the same in both revisions41.
The tools page says the following, in both revisions1011.
- There SHOULD always be a human in the loop who can deny tool invocations. The protocol mandates no particular user interaction model.
- Applications SHOULD make clear which tools are exposed to the model and present confirmation prompts for operations.
- Clients MUST treat tool annotations as untrusted unless they come from trusted servers.
- Servers MUST validate inputs, implement proper access controls, rate limit calls and sanitize outputs. Clients SHOULD ask for confirmation on sensitive operations, show tool inputs to the user before calling the server, and validate results before passing them to the model.
There are three gaps here. First, the MUST covers annotations, the readOnlyHint kind of field, and the schema says annotations are hints that are not guaranteed to be faithful9. No MUST covers description; the nearest text is that lowercase should in the overview. The schema comment calls it a human-readable description that clients can use to improve the model's understanding of the tool, like a hint to the model9. Second, we searched every specification file of both revisions and found no definition of a trusted server and no account of how a server becomes one. Third, the section on list changes covers the notification and the re-fetch and does not mention the user. The security best practices page mentions list changes only under session hijacking: a client could end up with tools it was not aware were enabled12.
Revision 2025-06-18 adds a title field for display and structured output that clients SHOULD validate against a schema2010. Neither changes the standing of the description.
Authorization and transport#
In revision 2025-03-26 the client discovered authorization endpoints from the MCP server's own domain and fell back to default paths such as /authorize when the server had no metadata42. Revision 2025-06-18 reclassifies the MCP server as an OAuth resource server. Servers MUST implement RFC 9728 protected resource metadata and clients MUST implement the RFC 8707 resource parameter; servers MUST validate that a token was issued for them and MUST NOT pass received tokens downstream14. The changelog gives the purpose of the resource parameter: to prevent malicious servers from obtaining access tokens20.
These rules bind a token to a server. They have two limits.
- Authorization is OPTIONAL in both revisions, and implementations on the STDIO transport SHOULD NOT follow this specification and take credentials from the environment instead14. The 119 servers Knostic checked by hand ask for no authentication7. On our reading that breaks no rule on the authorization page; the tools page says servers MUST implement proper access controls and does not define them10.
- The authorization page says authorization server endpoints MUST be served over HTTPS14; we found no rule there or on the security best practices page that tells the client to check the endpoint URL before opening it12. That is the input CVE-2025-6514 used13.
The transports page sets three requirements for Streamable HTTP: servers MUST validate the Origin header, SHOULD bind only to 127.0.0.1 when running locally, and SHOULD authenticate all connections43. Backslash and Knostic measured what happens when the last two are not followed307. The MCP Inspector proxy is a developer tool, which we read as outside those requirements, but what it lacked is the same kind of check32.
What the specification leaves to the client#
| Question | Wording in the specification | Who carries it |
|---|---|---|
| Ask the user before a tool call? | SHOULD; no interaction model is mandated10 | Client |
| Show the full description? | SHOULD make clear which tools are exposed to the model; the full description text is not mentioned10 | Client |
| Ask again after a description or schema changes? | We found no rule | Client |
| Which server counts as trusted? | We found no definition40 | Client and deployer |
| What to do with a tool result before the model sees it? | Clients SHOULD validate, servers MUST sanitize; no method is defined10 | Both ends |
| How to keep several servers' content apart? | Design principle: the host enforces boundaries38 | Host |
Our reading is that the specification puts the description into the model's input and consent into the application, with nothing at the protocol level linking the two. The remedies we read about come from outside the protocol. Invariant's scanner tracks changes to descriptions by hashing them44. Microsoft's preview of the Windows registry (see the case table) says its requirements may still change17.
05Before you connect an MCP server: pin, diff, isolate, log#
The checklist follows from the model above. We have not tested it on any client. The entry point each item addresses is in brackets.
Pin and diff#
- (E1, E2) Pin the code. Install local servers at an exact version with an integrity hash, and use a digest for containers. Leave no launch command without a version in the configuration. Use only https for remote servers and fix the host name; JFrog's second attack scenario is http plus a man in the middle on the local network13.
- (E1) On first connection read the complete
tools/listresponse, not the summary in the interface. Inspect the whole schema5. Render control characters and invisible Unicode characters visibly, or reject them2829. - (E2) Compute a digest for each tool over
name,title,description,inputSchema,outputSchemaandannotations, and one for theinstructionsfield of theinitializeresponse9. Store the digests where the agent's tools cannot write. - (E2) Recompute on every connection and on every
notifications/tools/list_changed. On a mismatch, disable that server's tools, show the difference and wait for a person to approve it344. - (E6, E7) Check fixed versions:
mcp-remote0.1.16, MCP Inspector 0.14.1, Filesystem server 2025.7.1131823. Patch your own fork of the archived SQLite and Slack reference servers2122.
field content
server_name the name in the configuration; a label, not a basis for trust
launch package name, exact version and integrity hash; or image digest; or https URL
server_info name and version from the initialize response (self-reported)
instructions_sha256 hash of the instructions field in the initialize response
tools[].name tool name
tools[].sha256 hash of the canonicalised title, description, inputSchema, outputSchema, annotations
reviewed_by, at who read the full descriptions and when, including the invisible-character check
capabilities which of the three this server has: private data, untrusted content, outbound channel
on_mismatch disable the server's tools, show the difference, wait for human approvalIsolate and log#
- (E3, E4) Mark which of the three trifecta capabilities each server has27. Do not assemble all three in one session.
- (E3) When one server has all three, remove one: read-only mode, project-scoped configuration, or one repository per session43925.
- (E3) Give no permanent auto-approval to tools that write, send or post. The confirmation must show the full arguments; Invariant's demonstration pushed the exfiltrated content beyond the visible width of the dialog2.
- (E5, E7) Bind local servers and developer tools to 127.0.0.1 only. Authenticate local ports as well, and check
Origin4332. An internet-facing server should not answer an unauthenticatedtools/list7. - (E6, E7) Keep credentials out of plaintext configuration files that every local user can read16. Scope each token to what that server needs, and send the
resourceparameter when requesting tokens for a remote server14. - Write one record per tool call to storage the agent cannot reach. The specification asks clients to log tool usage only with a SHOULD10.
time, session, user
server name and the manifest digest in force at that moment
tool name and full arguments (or their hash and length)
approval: a person, per call; or an automatic rule (its key and creation time)
size and hash of the result; whether it carries content from an outside source
list-change events: digests before and after, and who approvedThe second line records the digest: with only a name on record, nobody can tell afterwards which description the model read.