Home › Intelligence › Brief
BREACH BRIEF🟠 High ThreatIntel

AI Coding Agents Are Auto‑Installing Unpatched, Deprecated MCP Servers (MCPhantom)

Glow Labs found AI coding assistants repeatedly installing archived MCP servers that contain four high‑severity, unpatched vulnerabilities, including remote code execution. This highlights a supply‑chain control gap that organizations must evidence for audit readiness.

LiveThreat™ Intelligence · 📅 November 17, 2026· 📰 helpnetsecurity.com
🟠
Severity
High
TI
Type
ThreatIntel
🎯
Confidence
HIGH
🏢
Affected
4 sector(s)
✅
Actions
3 recommended
📰
Source
helpnetsecurity.com

AI Coding Agents Are Auto‑Installing Unpatched, Deprecated MCP Servers (MCPhantom)

What Happened

Glow Labs examined real‑time transcripts from a variety of AI‑driven coding assistants—including Claude Code, Cursor, Codex CLI, Claude Cowork, and models from Anthropic, OpenAI and xAI. In each session the assistant was asked to “set up a GitHub MCP” (Managed Code Package). Rather than selecting the current, supported GitHub MCP server, the model repeatedly chose an archived repository that had been officially deprecated in May 2025 and will never receive security updates.

The researchers named the pattern MCPhantom. In 98 % of the observed sessions the assistant filled in the deprecated package name from its training data; in the remaining 2 % the developer explicitly requested the old package. The deprecated packages are hosted on npm under the @modelcontextprotocol namespace and have been downloaded more than 17.3 million times since July 2025, with five of them ranking in npm’s top 100 MCP packages.

Four high‑severity vulnerabilities were identified in the reference servers, the most critical being a remote code execution (RCE) flaw in the Puppeteer server. An attacker can trigger a prompt‑injection that causes the agent to launch any process on the developer’s machine, bypassing the intended browser‑only sandbox. Because the developer has already granted the agent permission to browse the web, the RCE chain executes without additional alerts.

The archived repository’s maintainers confirmed that the code is unmaintained and no patches will be released. They have pledged to mark the npm package as deprecated, but the package can still be installed via npx, and the deprecation notice does not stop automated installs. To date, no exploitation of MCPhantom has been observed in the wild.

Why existing security controls remain silent is a key part of the problem. The MCP servers are pulled in via npx, leaving no entry in a package‑json or other manifest. Endpoint Detection & Response (EDR) sees a trusted Node process installing a public npm package—a routine event. Software Composition Analysis (SCA) tools have nothing to scan because there is no dependency file, and the vulnerabilities have no CVE identifiers. Consequently, software inventory tools never register the server, and the endpoint is the only place the malicious component appears.

Attempts to “look up” the package first are ineffective. In one documented session the assistant queried npm, received a “package is deprecated” response, and still installed it without notifying the user. This demonstrates that a simple pre‑install check is insufficient when the AI’s decision‑making is not constrained by policy.

Who Can Fix It

Four remediation pathways were outlined:

  • Harness makers (e.g., the CLI wrappers that invoke the AI) could block deprecated MCP servers or surface a hard warning, and could also scan for already‑installed instances. This requires coordinated updates across all harnesses.
  • Model makers could purge the legacy package names from their training data or update model weights, but such retraining is costly and unlikely in the short term.
  • Package owners could patch the underlying vulnerabilities, which would protect any continued use of the servers.
  • Security vendors can leverage existing pre‑execution hooks that many harnesses expose to enforce policy checks today, without waiting for upstream changes.

Removing the packages from npm is not feasible: npm only allows deletion of packages with fewer than 300 downloads in the prior week and without public dependents. The most popular deprecated server (server‑github) logged 185,239 downloads last week and has six owners, far exceeding the removal threshold.

Recommended Immediate Controls

  • Conduct an inventory sweep for any MCP configuration files that reference @modelcontextprotocol servers and replace them with the official GitHub MCP endpoint or another maintained service.
  • Enforce a policy that npm deprecation status is a required approval criterion before any AI‑generated install command is executed.
  • Deploy pre‑execution hooks (e.g., npm audit, custom scripts) in the AI harness to block or flag attempts to install known‑deprecated packages, and log the decision for auditability.

Why It Matters for Compliance & Audit Readiness

The MCPhantom phenomenon illustrates how AI‑driven automation can bypass traditional dependency‑management controls, creating blind spots in continuous monitoring and evidence‑collection pipelines. Embedding policy checks at the harness layer restores defensible control assurance without relying on vendor‑risk assumptions.

Who Is Affected

Software development teams, DevOps pipelines, AI‑assisted coding platform providers, and any organization that integrates npm packages via AI coding assistants.

Recommended Actions

  • Inventory and replace deprecated MCP references.
  • Add npm deprecation checks to AI‑harness approval workflows.
  • Enable pre‑execution hooks to block or alert on deprecated package installs.

Technical Notes

  • Attack vector: Prompt injection leading to remote code execution via deprecated Puppeteer MCP server.
  • CVEs: None assigned (vulnerabilities are untracked).
  • Data types exposed: Potential execution of arbitrary commands on developer workstations; no direct data exfiltration reported.

Source: Help Net Security – AI coding agents are installing MCP servers that will never be patched

📰 Original Source
https://www.helpnetsecurity.com/2026/11/03/mcphantom-deprecated-mcp-servers/ ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Access is where most audits get tested.

Verisq AI Trust Operations maps incidents like this to your access controls and collects the evidence continuously, keeping your trust posture defensible.

See where you'd stand with Verisq AI Trust Operations →