Cybersecurity news

Jessica Doner

Back to the list

AI coding agents are installing MCP servers that will never be patched

Help Net Security,

AI coding agents are installing outdated MCP servers that will never be patched, a pattern researchers call MCPhantom.

Vulnerabilities and patchesAI and security

Overview

AI coding agents are installing outdated software packages that will never receive security updatesA software update released by a developer to fix a bug or close a security flaw. Research from Glow Labs found that in 98% of cases, the agents selected these old packages based on their training data rather than current recommendations. This issue affects developers using tools like Claude Code, Cursor, and Codex CLIA text-based terminal interface where users type commands instead of clicking buttons in a graphical window, as well as models from Anthropic, OpenAI, and xAI. The problem is serious because four high-severity vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend were found in these serversA computer or program on a network that stores data and responds to requests from client devices, including a remote code executionA flaw that lets an attacker run their own code on someone else's computer over a network bug that allows attackers to run any command on a machine. Existing security controls fail to detect this because the software is installed through a method that bypasses standard dependencyAn external code library or package that a software project relies on to do part of its work tracking and lacks official vulnerability identifiers. Since July 2025, these deprecated packages have been downloaded more than 17.3 million times, meaning many developer machines are currently running software that is vulnerable to attack.

Terms in this story

security updates
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
CLI
A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
servers
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
remote code execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
vulnerability
A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
MCP servers
A connector program that gives an AI assistant access to a specific database, file system, or web API. When a developer connects an AI agent to an MCP server, a bug or malicious prompt in that connector can let the agent run unintended shell commands or read private files.
MCP
An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
sessions
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
prompt injection
Hiding instructions inside text or data so an AI model ignores its rules and obeys the attacker. An attacker might hide invisible text on a web page or inside an email so that when an AI assistant summarizes it, the assistant forwards private data to the attacker.
harness
A small wrapper program written to feed test inputs into a software library and watch for crashes. Security researchers write a test harness around a file parser or network library so a fuzzing tool can feed it millions of mutated inputs per hour.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related