Fake GitHub MCP Servers Target AI Coding Tools for Crypto Theft
Malicious MCP servers hosted on GitHub are tricking users of AI coding assistants like Claude and Cursor into running stealer and clipboard hijacking malware, leading to cryptocurrency theft.

Cybercriminals are leveraging GitHub to distribute malicious "MCP servers" designed to compromise users of popular AI coding assistants. These fake servers, posing as tools for cryptocurrency exchanges like Lighter and Aster, execute stealer and clipboard hijacking malware on Windows systems as soon as they are cloned and pointed at an AI agent.
An MCP server is a crucial component that allows coding agents to interact with external tools and data, operating with the user's permissions. The attackers exploit this by creating repositories that mimic legitimate cryptocurrency exchange utilities, offering to check trading volumes or token eligibility. A hidden task is initiated by a decorator on the server's main function, running malicious code before the AI agent even makes its first tool call, bypassing any potential approval prompts.
Once initiated on a Windows system, the malware quickly installs its dependencies, downloads an encrypted payload, and maps it into memory. A file disguised as a Microsoft Edge WebView component is then written to disk, hijacking a Windows COM entry to establish persistence as a clipboard hijacker. This process can occur rapidly, with initial stages completing in as little as seven seconds in some observed instances.
The attack does not rely on exploiting vulnerabilities within the AI coding agents themselves or tricking the AI model. Instead, it requires a user to manually find, clone, and direct an AI agent to one of these malicious repositories. The code then runs autonomously on the user's machine, highlighting a social engineering vector rather than a direct software flaw.
The clipboard hijacker is particularly insidious, capable of swapping a user's copied cryptocurrency address with one of the attacker's 23 pre-defined addresses. Analysis of cryptocurrency wallets associated with this operation revealed approximately $49,900 in November prices, with early transactions dating back to February. Some wallets were emptied within minutes of receiving funds, suggesting the attackers had immediate control over the stolen assets.
This operation, dubbed "MIOU" by researchers, achieved visibility on GitHub by manipulating search results. In a significant portion of relevant searches, these malicious repositories appeared at the top. Furthermore, the repositories showed signs of artificial inflation, with a large number of "starred," "forked," or "posted on" accounts appearing to be bot-created, and the vast majority of code commits originating from automated scripts to maintain an illusion of activity.
The stealer component, named "Beretta," is a new variant that differs from previously identified malware like StealC in its cryptography and configuration format. However, researchers link it to earlier campaigns through a shared loader that unpacks to the same Beretta build. This evolution demonstrates a pattern of adapting malware to evade detection and attribution.
Researchers have provided specific indicators of compromise for affected Windows machines, including the presence of a specific DLL file (msedgeview.dll) in an unusual location, a corresponding registry key, and suspicious rundll32.exe processes. The presence of specific package files (.pkg) within cloned repositories also serves as a strong indicator. The operation had 36 repositories live at the time of reporting, though GitHub has since taken action to remove many of them.