TL;DR: AI coding agents are choosing deprecated MCP servers from training data, with Glow reporting that some of the installs expose high-severity flaws. Developer endpoints now need policy at approval time, because post-install scanning will miss local servers launched outside normal dependency files.
Editorial analysis by NHI Mgmt Group, based on content published by Glow: “McPhantom: AI Coding Agents Are Installing Vulnerable Deprecated MCP Servers from Training Data”.
Key questions
Q: Why do AI coding agents keep picking old MCP server packages?
A: AI coding agents often pick old MCP server packages because their model priors and retrieved examples still favour familiar package names, while dependency search may surface stale code first.
Q: How should teams govern MCP server installation in developer environments?
A: Treat MCP server installation as a controlled enrollment step, not a convenience action.
Q: What signs suggest a deprecated MCP server has been installed by an AI agent?
A: Look for local MCP configs, npm-launched servers, or runtime processes that reference archived or deprecated package names rather than current service-owned servers.
Practitioner guidance
- Audit agent-selected MCP installs Search developer machines for MCP configs that reference deprecated servers, then map each install to the service owner’s current server where one exists.
- Approve one server per service Create a single approved MCP server choice for each service so agents do not fall back to older names remembered from training data.
- Add deprecation status to approval checks Block any MCP server from approval when its npm record is deprecated or when the maintainers no longer support security fixes.
Bottom line: AI coding agents can create security exposure by selecting software from stale training data instead of current package state.
Glossary terms: Model Context Protocol, Deprecated Package, AI Coding Agent, Prompt Injection (Agentic)
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
McPhantom is a governance failure, not just a supply chain oddity. The core problem is that an AI coding agent can choose software based on stale memory instead of current approval state. That moves control failure upstream of the install event and makes package freshness part of agent governance, not just dependency hygiene. Security teams should treat model-recommended tool selection as a governed action, not an implementation convenience.
A few things that frame the scale:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: How do prompt injections turn MCP browser access into code execution?
A: Prompt injections can steer an agent to use MCP browser capabilities to visit attacker-controlled content, read hidden instructions, and then invoke tools or page actions that expose browser or automation authority to malicious code. The failure mode is untrusted text influencing delegated runtime decisions, so browser isolation, strict tool scoping, and command approval boundaries are critical.
👉 Read our full editorial: AI coding agents install deprecated MCP servers with high-risk flaws