GitHub Hosts Fake MCP Servers Packing Crypto-Stealing Malware

Security researchers have uncovered a malware campaign targeting users of AI coding agents like Claude, Cursor, and Cline via deceptive Model Context Protocol (MCP) servers hosted on GitHub. These fake servers—masquerading as tools for the Lighter and Aster crypto exchanges—execute stealer and clipboard hijacker malware on Windows as soon as the coding agent starts them. The campaign, dubbed “MIOU,” does not rely on tricking AI models with malicious prompts; rather, it requires users to clone a compromised repository and configure their agent to use that MCP server. Once initiated, the malware runs even before the first explicit tool invocation, bypassing many standards of user consent.

How the Malware Works

MCP servers allow AI coding agents to execute external tools or access data using the user’s privileges. In this case, the fake servers pose as utilities associated with Lighter and Aster—crypto platforms offering rewards. After a user clones the repository and sets their agent to point to it, a hidden task is triggered before any visible tool action. In Windows testing, the server installs dependencies, fetches an encrypted payload within ~18 seconds (sometimes ~7 seconds), maps it into memory, writes a file disguised as an Edge WebView component, hijacks a Windows COM entry, and enables a clipboard hijacker. This hijacker swaps crypto addresses copied by the user with one of 23 attacker-controlled addresses—these addresses had received nearly $50,000 worth of transfers by November 2026. Some of the attackers’ accounts were also drained shortly afterward, which likely indicates they were self-controlling keys. The exact number of victims is unknown.

Campaign Scale and Detection

Researchers found 36 malicious MCP repositories in active use at the peak of discovery. These projects pretended to be trading bots, wallet-checking tools, and the two MCP servers impersonating the legit exchanges. GitHub removed 17 of them, leaving 19 visible during reporting. New repos mimicking Aster appeared within two days after takedowns, sharing signatures with original ones. As of today, the Lighter impersonating server and branch Aster repositories have been taken down (returning 404s), while one older repository—a bot impersonating Polymarket—remains active.

The threat campaign uses “Beretta”—a new stealer name not previously documented. Though related to a known stealer called StealC, it features distinct cryptographic methods and configuration formats. The malware’s links to earlier campaigns through shared payload builds have enabled researchers to trace its evolution, but its fresh architecture indicates growing sophistication in stealer tools.

What Users Should Do

To safeguard against these attacks, users should check for these telltale signs on Windows systems that have started one of the compromised MCP servers: (1) a file named “msedgeview.dll” in “%LOCALAPPDATA%\Microsoft\EdgeWebView\” where Edge’s WebView components don’t usually reside, (2) a CLSID under “HKCU\Software\Classes” pointing to that file via an InprocServer32 registry key, (3) a running process like “rundll32.exe” launching that DLL, and (4) repository files such as “bundle.pkg,” “embed.pkg,” or “dist.pkg” that are unusually large (11–22 MB) inside a cloned MCP server repo. If any are found, the system should be considered compromised—delete the server, move any crypto assets using a clean device, change credentials, and verify recent transactions as the clipboard hijacker persists beyond simple removal.

This isn’t the first time MCP servers have been weaponized. Earlier trojanized MCP servers mimicked tools like the Oura health app to deliver malware—but they packaged malicious payloads in registry items or external launchers. The new style delivers malware directly from cloned code, sidestepping many package scanning protections.

At its core, the risk lies in trusting open-source tools without thorough vetting. While MCP servers are essential for enabling AI agents to reach beyond their sandbox, unscrutinized sources become attack vectors. This evolution in supply chain attacks combines developer practices—like cloning repositories and running arbitrary servers—with attacker sophistication in operational security and malware persistence.

Why It Matters: For developers, security teams, and crypto users, this campaign underscores the growing threat posed by malicious infrastructure in the AI tooling ecosystem. The urgency is high: tools that connect AI agents to external resources must be treated as potential attack surfaces—especially when repos are obscure, newly created, or starred by suspicious accounts. Going forward, auditing tools, strict source validation, and monitoring agent-server interactions may be the best defense. Watch for shifts in how stealer malware blends with AI models—it may become the new normal in cyber threats.