MCPhantom: AI Coding Agents Install Vulnerable Deprecated MCP Servers Based on Training Data
MCPhantom: AI Coding Agents Are Installing Vulnerable Deprecated MCP Servers From Training Data
The Glow Labs research team found that AI coding agents autonomously install archived MCP servers that no longer receive security updates, based on training data, and named this pattern MCPhantom. In sessions where agents deployed deprecated servers, 98% of the choices appeared to stem from model training data, while the remaining 2% were explicitly requested by users; the pattern spans tools such as Claude Code, Cursor, and Codex CLI and models from Anthropic, OpenAI, and xAI. The researchers found 4 high-severity vulnerabilities in these deprecated Anthropic reference servers, including a remote code execution vulnerability in the Puppeteer server, through which an attacker could use prompt injection to make an agent launch arbitrary processes and run arbitrary commands; the related packages have accumulated more than 17 million downloads on npm since July 2025, and the maintainers confirmed that no fix will be provided. Such installations do not enter dependency manifests, making them difficult for existing controls such as EDR and SCA to detect. Glow Labs stated that it has not yet found these vulnerabilities to have been exploited in practice.