AI Coding Agents Install Unpatchable Deprecated MCP Servers (MCPhantom)
Glow Labs found AI coding agents installing deprecated MCP servers from archived, never-to-be-patched repositories—a pattern called MCPhantom. In 98% of affected sessions the agent pulled the package name from model training data; only 2% came from users naming it. The issue spans Claude Code, Cursor, Codex CLI, Claude Cowork and chat, and models from Anthropic, OpenAI and xAI. In one case the agent skipped GitHub's own MCP server for an archived Anthropic reference server. Four high-severity flaws exist in these servers, worst being remote code execution in the Puppeteer server via prompt injection. The report was closed as out of scope; no patch is coming. Deprecated packages were downloaded over 17.3 million times from npm since July 2025, with five in npm's top MCP 100. Existing controls miss them: no dependency manifest, no CVEs, and EDR sees routine installs—even an agent that saw "deprecated" installed anyway. Possible fixes: harness-level blocking (only works if universal), model weight updates (unlikely), package owner fixes, or pre-execution hooks (workable today). Teams should find and replace deprecated @modelcontextprotocol servers, approve one server per service, and add deprecation status to approval criteria.
https://www.helpnetsecurity.com/2026/11/03/mcphantom-deprecated-mcp-servers
Comments
Post a Comment