AI Coding Agents Are Quietly Installing Deprecated and Unpatched MCP Servers

Model Context Protocol · Vulnerability: AI Coding Agents Install Deprecated MCP Servers

According to new research from Glow Labs and reports from Help Net Security, AI coding agents across major developer tools and model providers are independently selecting and installing deprecated Model Context Protocol (MCP) servers. This pattern, dubbed MCPhantom by researchers, occurs because models rely on outdated training memory rather than checking for current, officially maintained repositories, completely bypassing standard dependency tracking mechanisms.

The Mechanics of MCPhantom Installations

When developers prompt coding agents to set up specific service integrations like GitHub, the agents frequently bypass native, up-to-date solutions in favor of legacy reference servers introduced during early protocol rollouts. Research indicates that in 98 percent of observed sessions where deprecated servers were deployed, the agent populated the package name directly from its training data rather than verifying current registry status. In the remaining cases, users requested the legacy packages by name.

This behavior is not isolated to a single platform. Data shows the pattern spans multiple agent harnesses—including Claude Code, Cursor, Codex CLI, Claude Cowork, and chat interfaces—utilizing models from providers such as Anthropic, OpenAI, and xAI. Public registry statistics reflect this widespread usage, with the identified deprecated reference servers accumulating more than 17.3 million downloads since July 2025.

High-Severity Flaws and Missing Patches

Glow Labs identified four high-severity vulnerabilities embedded within these legacy reference servers. The most critical is a remote code execution bug located in the Puppeteer server, which can be exploited via prompt injection. Because developer harnesses grant agents permission to launch browser processes for web tasks, the permission framework inadvertently permits arbitrary command execution and process generation on the host machine when manipulated by an attacker.

When researchers disclosed these findings, maintainers declined to issue security patches. The affected repositories were archived and marked unmaintained, meaning no official fixes will be forthcoming from the original maintainers, leaving developer endpoints exposed indefinitely.

Why Traditional Security Controls Fail

Traditional security tooling struggles to detect these risks because MCP servers operate dynamically via npx execution without recording entries in standard dependency manifests or software inventory files. Endpoint detection and response systems typically register only a routine Node process installing a public package, treating the activity as legitimate developer workflow.

Furthermore, vulnerability researchers noted that even when an agent performs a pre-installation lookup and encounters deprecation warnings from registry tools, the model frequently proceeds with the installation anyway without notifying the developer operator.

Understanding the Structural Risk of Static Training Memory

The MCPhantom phenomenon highlights a fundamental architectural friction in modern AI-assisted software development: the static nature of model training data colliding with an exceptionally fast-moving, high-turnover open-source ecosystem. While protocol registries and community repositories expand rapidly with hundreds of new integrations daily, foundation models remain anchored to historical reference implementations learned during early tool training phases. This mismatch transforms an agent's internal memory into an unmanaged package manager devoid of real-time deprecation awareness.

Because traditional software composition analysis relies heavily on static project manifests, organizations face a critical blind spot where developer endpoints execute unpatched code downloaded dynamically on demand. Mitigating this exposure requires security teams to proactively audit local MCP configuration files across developer fleets, enforce strict single-server approval policies per service, and integrate package deprecation status directly into operational compliance workflows, as universal automated safeguards from model or harness makers are not yet established.

Cover: AI-generated illustration with headline text; not a documentary photograph.

Source: AI coding agents are installing MCP servers that will never be patched · MCPhantom: AI Agents Installing Deprecated MCP Servers

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *