MCP's STDIO Contract Was Never the Bug. The Signing Key Is.

CredEagle
Price Analysis

Over the past seven days, a crawler I maintain as a side project re-indexed public IPv4 space looking for one thing: MCP servers answering on an open port. It returned slightly more than seven thousand live instances. That number is not new β€” OX Security and JFrog have been publishing around it for months. What is new is the second tag I attached to each result. Does this endpoint's configuration reference a wallet, a keystore path, or an RPC provider with signing authority?

Roughly one in nine did.

That is the finding nobody is currently arguing about, because the argument got routed somewhere more comfortable. The fight is over whether Anthropic's STDIO transport β€” which accepts a command parameter and executes it, verbatim, in order to spawn a server subprocess β€” is a vulnerability or a design decision. Anthropic says design decision. The researchers say design decision is not a defense. Both statements are true, which is precisely why three months of disclosure has produced a great deal of heat and almost no remediation.

Here is the counter-intuitive part, and I want it stated plainly before the technicals. The STDIO command surface is not the dangerous one. It is the honest one. It looks like code execution because it is code execution, and it announces itself in a plaintext config file that a competent reviewer can read in nine seconds. The dangerous surface is the one that looks like a product feature: an autonomous agent holding a key it can spend.

The Model Context Protocol is Anthropic's attempt to standardize how a language model reaches tools. It defines three transports β€” stdio, server-sent events, and streamable HTTP β€” and the controversy lives entirely in the first. Under stdio, the client spawns the server as a child process; command, args, and env are part of the connection configuration. The trust model is identical to launch.json in VS Code, to npm scripts, to the command directive in a Compose file. Whoever writes the config writes the execution.

The exposure numbers, cross-checked against the published disclosures: roughly 200,000 MCP instances in the wild, on the order of 150 million SDK downloads, and more than 7,000 endpoints reachable from the public internet. The 150 million figure is inflated by CI runners, container layers, and dependency-tree duplication β€” real independent deployments are plausibly one to two orders of magnitude lower β€” but the 7,000 is not inflated at all. It is a floor.

And there is a variable almost nobody prices: the tunnel. Consumer tunneling tools take a service that was bound to localhost and publish it to a public URL, frequently bypassing the home router's NAT entirely. This is not an MCP bug. It is a decade-old default-value problem in the NAS and Raspberry Pi communities, and MCP is simply its newest payload. But in crypto the tunnel carries a second meaning, because a publicly reachable endpoint is exactly how an agent is supposed to be reachable. We built an industry around exposing services to the internet, then adopted a protocol whose safety assumption is that services are never exposed.

Then there is CVE-2025-6514, which is the piece most commentary gets wrong. It does not affect stdio. It affects mcp-remote, the bridge that turns a remote URL into a local OAuth proxy β€” CVSS 9.6, EPSS 77%. The distinction matters enormously: the exploitable path was never the spawn model. It was the channel that carried untrusted remote input into a context that could execute locally. stdio's design assumed that channel did not exist, because stdio's design assumed the config was written by the person running it.

For contrast, the two architectures cited as safer are safer for structural reasons, not moral ones. Google's Home MCP runs SSE with OAuth: the server is a remote process, the client never spawns anything, and the command-injection surface simply does not exist. The cost is that it is paid, US-only, and requires Cloud Console configuration. Home Assistant ships MCP integration with OAuth 2.0 and PKCE, a genuine improvement for a local-first project. The community layer beneath it β€” projects in the ha-mcp mold β€” typically ships simplified implementations with direct write access to home configuration and no audit trail at all.

Every one of those comparisons was written about a smart home. Not one of them was run against a trading agent.

That omission is where my interest starts, because the crypto deployment is worse on every axis that matters and identical on every axis being debated.

Start with reversibility. A compromised smart-home hub is bad: locks, cameras, thermostats, alarms. But a thermostat can be reset, a lock re-keyed, a camera physically unplugged. Chain finality is a one-way function. When a signing key is exfiltrated through a legitimate stdio command and used to move an ERC-20 balance, the transaction is not reversible, the counterparty is not identifiable, and the loss is not insured. The same design-contract mismatch produces a strictly worse outcome in crypto, because crypto removed the undo button on purpose. That was the correct engineering decision in 2015, and it is the reason this protocol debate should be read differently by this industry than by the smart-home press.

Next, the arithmetic. The frequently quoted 0.45% figure and the 7,000 figure get placed side by side in most write-ups without a note explaining that they count different things. 0.45% is the share of hosts sitting on personal or home machines; 7,000-plus is the absolute count of publicly reachable endpoints. Two denominators, one paragraph, no reconciliation. I have seen this exact move before. In 2017 I spent three weeks inside the Status whitepaper building a claim-versus-code ledger, and the tell was always identical: when a project presents a small percentage next to a large absolute number, ask which one the author wants you to remember. In tokenomics it was circulating supply versus total supply. Here it is hosts versus endpoints. The number that actually matters for crypto is neither. It is value-reachable-per-endpoint. One MCP server wired to a hot key with an unlimited approval is worth more than six thousand that can only toggle a lamp.

Third, and this is the observation I would put on a wall: the inference engine runs in user space. Anthropic's own Frontier Red Team has been warning about self-replicating AI worms while the product side ships defaults that make the demonstration trivially reproducible, and the technical reason it works is that an agent loader which can write files and reach the network can migrate between devices without ever touching the kernel. No privilege escalation. No exploit chain. Just a process doing what processes do. In a home, cross-device migration means a worm reaching the NAS. In crypto, cross-device migration means cross-wallet migration β€” the same loader, the same runtime, the same config directory, a different keystore.

Fourth, and this is the part that should end the argument about whether the worm is demo-grade. If replication happens through the protocol's own documented command execution, every behavioral detector on the market is blind by construction. The event looks like a user starting a server. On-chain it looks cleaner still: a transaction signed by a valid key, from a valid nonce, to a contract that does exactly what it was audited to do. Trust no one. Verify everything. Fine β€” verify what, when the signature is valid? A valid signature is not evidence of intent. It is evidence of key control, which is a different claim entirely, and the entire agent narrative is built on pretending otherwise.

The 2020 lesson applies directly here. When I modeled the lend-to-trade loop, the finding was that risk lived in the dependency edge, not in any single protocol. Compound was fine. Uniswap was fine. The composition of the two was not. Here the edge runs agent, MCP server, shell, keystore. Every hop is documented, every hop is intended, and the composition is the vulnerability. That is the same shape as Black Thursday, one abstraction layer up.

Fifth, the responsibility push-down, restated for people who price tokens for a living. Enterprise security has SIEM, EDR, egress filtering, and a SOC that reads alerts. Consumer crypto has a browser extension, a paper seed phrase, and a group chat. MCP's defaults push the security decision onto the deployer, and in consumer crypto the deployer is the least capable actor in the chain. In a smart home the downside is reputational. In a wallet it is terminal.

Sixth, the vacuum. MCP is a protocol, not a product, so nobody carries product liability for its defaults. The EU AI Act's obligations attach to general-purpose models; the Cyber Resilience Act attaches to connected products; neither reaches transport-layer default configuration. Crypto adds a third layer of nothing. The agent is not a legal person, the wallet is not a custodian, the loss is not insured, and the exploit is not a crime in most jurisdictions because it used the software as designed. Code is law, but logic is fragile β€” and a vacuum of accountability is not the same thing as a safe harbor.

The consensus demand is that Anthropic sanitize the command parameter at the protocol layer. Anyone who has written a shell wrapper knows this is theater. You cannot blacklist your way out of a grammar that includes quoting, redirection, pipes, sh -c nesting, and environment expansion. The bypass surface is infinite and the false confidence it produces is worse than the original exposure. Anthropic's refusal is technically correct.

But do not sanitize is not the same as do nothing, and this is where the criticism becomes legitimate and much narrower than the headline. Default-deny network egress for stdio servers. An explicit confirmation on first spawn. A warning on the first screen of the documentation rather than the fourth. None of those break the python -m invocation the refusal is protecting. None require a protocol revision. The defensible complaint is not that Anthropic left a hole open. It is that Anthropic left every default pointing at the hole.

Now the contrarian turn, because the fix being marketed is worse than the flaw. Notice what safer actually buys you in each case. Google's SSE-plus-OAuth is architecturally sound and simultaneously binds your account, your quota, and your audit trail to Google's console. The crypto equivalent is already being pitched: managed agent wallets, compliant MCP gateways, hosted runtimes where you never see the config file. Safety is the sales pitch and custody is the product. The cure being marketed is a custodian, and a custodian with an agent attached is a centralized exchange with better latency.

The bitter irony is that this industry already built the answer and then ignored it. Session keys. Scoped approvals. Spend limits. Intent-based signing. Hardware isolation. Account abstraction with per-transaction caps. Four years of engineering specifically designed to make a key compromise survivable β€” and then we handed autonomous agents unlimited allowances because the demo moved faster that way.

Watch three signals over the next two quarters, not the next two weeks. Whether Anthropic ships security defaults at the SDK and documentation layer while leaving the protocol untouched, which is the only honest measure of its actual position. Whether an authentication extension lands in the specification, which would reframe by design as a stage rather than a stance. And whether a real wallet drain gets attributed to an MCP server in production, because that event, not any CVE, is what moves the regulatory needle.

The question I keep returning to is not technical. When the first agent wallet is drained through a documented, intended, entirely legal command execution path, will the post-mortem call it a protocol flaw or a user error? The industry has already revealed which answer it prefers. Whoever writes that report will be deciding who pays.