# Fake MCP Servers on GitHub Hit Claude and Cursor Users: How the Attack Works and How to Vet Any MCP Server

By [Eoin Villarin](https://amvprosox.com/about). Published 2026-12-05. Canonical: https://amvprosox.com/blog/fake-mcp-servers-github-claude-cursor-how-to-check

> Apiiro found fake Lighter and Aster DEX MCP servers on GitHub that install the Beretta stealer and a clipboard hijacker the moment Claude Desktop, Cursor or Cline launches them. Here is the attack step by step, the indicators to check on your PC, and an eight-point checklist for vetting any MCP server.

## How do fake MCP servers on GitHub steal crypto from Claude and Cursor users?

The repositories pose as MCP helper servers for the Lighter and Aster DEX exchanges. When Claude Desktop, Cursor or Cline launches one, a decorator in the entry point starts a hidden task that installs dependencies, downloads an encrypted 10 MB payload and runs the Beretta stealer in memory, all before the first tool call or approval prompt. It steals browser data, MetaMask and Phantom wallets, Telegram, Discord and KeePass data, and drops a persistent clipboard hijacker that swaps copied crypto addresses. It is a supply-chain attack, not a flaw in the agents.

**Key takeaways**

- Apiiro's MIOU campaign used 36 GitHub repos, including three fake Lighter and Aster DEX MCP servers, boosted by 1,222 batch-created accounts and 26,407 bot commits.
- The payload runs at server launch, before any tool call, so approval prompts in Claude Desktop, Cursor or Cline cannot stop it; the attack needs no bug in the agents.
- Beretta steals data from 49 Chromium and 4 Gecko browser profiles, MetaMask, Phantom, Telegram, Discord, FileZilla, PuTTY, RDP, Steam and KeePass, and a clipper swaps copied addresses within 3 seconds.
- Check for msedgeview.dll under LOCALAPPDATA EdgeWebView, the CLSID InprocServer32 key, rundll32 with ordinal #3, and run Apiiro's YARA and Semgrep rules; removing the server does not remove the clipper.
- Vet every MCP server: prefer vendor-published servers, read commit history, grep startup code and install scripts, pin a commit, and first-run in a VM with no wallets or keys.

Fake MCP servers on GitHub are stealing crypto, passwords and browser sessions from developers who use Claude Desktop, Cursor and Cline. The campaign, which the application security firm Apiiro calls MIOU, published repositories posing as helper servers for the Lighter and Aster DEX crypto exchanges. The moment a coding agent launched one of them, the server installed a Windows stealer called Beretta and a clipboard hijacker, before the agent made its first tool call and before any approval prompt appeared. Apiiro published its research on November 26, 2026 and The Hacker News covered it on December 3. This guide explains how the attack works, how to check whether you ran one of these servers, and a vetting checklist you can apply to any MCP server before you add it to your config.

The key point up front: this is not a bug in Claude, Cursor or Cline, and it does not use prompt injection. It is a supply-chain attack. You cloned a repository and told your agent to run it, and the code ran with your permissions. Every defense below follows from that.

## What MCP servers are, in one paragraph

The Model Context Protocol lets an AI coding agent call outside tools: a database, a browser, an exchange API, your file system. An MCP server is a small program, often Python or Node, that the agent starts as a child process and talks to over stdin and stdout. You install one by cloning a repo or installing a package and pasting a config snippet into a JSON file. That last step is the problem: the agent will start whatever the config points at, and the server's startup code runs immediately, with no sandbox and no approval, because approvals only cover tool calls, not process launch.

![A computer monitor filled with colorful lines of JavaScript code, photographed at an angle so the text blurs toward the edges](https://amvprosox.com/api/img/1796405490199-jt6itj)
*The malicious servers looked like ordinary open-source code; the payload hid behind a decorator and an encrypted blob. Photo: Markus Spiske, CC0, via Wikimedia Commons*

## How the MIOU attack works, step by step

- **Discovery.** A developer searches GitHub for something like an Aster DEX MCP server. In Apiiro's test, a MIOU repository ranked first in 18 of 54 realistic developer searches. The repos had no npm or PyPI package, so registry scanners never saw them.

- **Fake credibility.** The repos carried stars, forks and comments from 1,319 accounts, of which 1,222 looked batch-created. A bot wrote 26,407 of the 26,511 commits, most with the message "Auto commit" and the author name "Lucas".

- **Install.** The README told the developer to clone the repo and paste a config block into Claude Desktop, Cursor or Cline.

- **Launch.** On first start the server's entry point ran a decorator (names like bootstrap and ensure_env) that spawned a hidden background task, installed its Python dependencies with pip, and after about 18 seconds fetched an encrypted payload of about 10 MB through Cloudflare.

- **Execution in memory.** The loader mapped the payload into memory and fed a hidden Python child process over stdin. Later launches took about 7 seconds. All of this finished before the agent's first tool call, so clicking Deny on a later approval changed nothing.

- **Theft.** The Beretta stealer (build "Beretta Private build 2.1") collected data from 49 Chromium browser profiles and four Gecko browsers, the MetaMask and Phantom wallet extensions, Telegram, Discord, FileZilla, PuTTY, RDP credentials, Steam and KeePass, and searched Desktop, Documents and Downloads for files named like seed, wallet or mnemonic. It bypassed Chrome's app-bound cookie encryption.

- **Persistence.** The only file written to disk was a clipboard hijacker, msedgeview.dll, dropped in a folder disguised as an Edge WebView component and registered through a hijacked COM entry so it survives reboots. It swaps any copied crypto address for one of 23 attacker addresses within about three seconds. Removing the MCP server from your config does not remove it.

## Scale and timeline

| Item | Figure |
| --- | --- |
| Repositories live when reported (Nov 18, 2026) | 36, including trading bots, wallet tools, drainers and three MCP servers |
| Named MCP server repos | isabelpapaya/MCP-Server-Lighter, trinity1994/MCP-Server-Aster-DEX, blessedberserker/MCP-Server-Aster-DEX (all removed) |
| Removed by GitHub at publication | 17 of 36; two more Aster repos appeared two days later with the same server and signing key |
| Accounts engaging with the repos | 1,319, about 92.6% apparently batch-created |
| Attacker clipper wallets | 23 addresses, about $49,900 received at Nov 16 prices, first payments in February 2026 |
| Platforms | Windows only in every source; macOS and Linux not reported, not confirmed safe |
| Earlier wave | 19 repos documented in April 2026 by researcher Oliver Zehentleitner under the same backend domain |

The $49,900 figure is money that reached the clipper wallets, not a count of victims or total losses. Apiiro published no victim count, and three other wallets were emptied within three minutes of receiving funds, which The Hacker News reads as the attackers holding those keys too.

## Check your machine now

If you installed any MCP server for Lighter, Aster DEX or another crypto exchange from GitHub in 2026, especially on Windows, check these indicators from Apiiro's detection repository:

```
Config files to inspect
%APPDATA%\Claude\claude_desktop_config.json
%USERPROFILE%\.cursor\mcp.json  and any project .cursor\mcp.json
cline_mcp_settings.json

Clipper file
%LOCALAPPDATA%\Microsoft\EdgeWebView\msedgeview.dll  (44,544 bytes)
sha256 b6abbfece488080e23f5498ecf006ec02de9fa98b74ce3c385c53a0696ec0e0c

Persistence
HKCU\Software\Classes\CLSID\{AAA288BA-9A4C-45B0-95D7-94D524869DB5}\InprocServer32
rundll32.exe "",#3 running in Task Manager

Repo markers inside a cloned server
base/data/bundle.pkg, runtime/data/embed.pkg or kernel/data/dist.pkg (11 to 22 MB)
base/carrier.py, base/relay.py, base/packing.py, base/machine.py, base/audit.py

Network
api.failproxy.space, api.nailproxy.space, spellmarketplace.club, 62.60.226.113:6673
```

Apiiro also published YARA and Semgrep rules you can run against any cloned server, plus Sigma rules and KQL queries for Microsoft Defender:

```
yara -r yara/
semgrep --config semgrep/
```

If you find any of it, treat the Windows machine as compromised: move crypto funds from a clean device, rotate passwords, API keys and SSH keys, revoke browser sessions, and check the destination of every recent transfer. Deleting the server does not undo what was already taken.

![Close-up of a backlit laptop keyboard glowing in a dark room with a blue screen above it](https://amvprosox.com/api/img/1796405491072-v6zx2e)
*The clipboard hijacker watches what you copy and swaps crypto addresses within about three seconds. Photo: Markus Petritz, CC0, via Wikimedia Commons*

## How to vet any MCP server before you run it

These rules come from Apiiro's findings and from how I run agents in my own work. None of them require special tools.

- **Prefer servers published by the vendor.** If an exchange, database or SaaS has an official MCP server, use that. A directory listing or a high GitHub search rank is not a review; directories that auto-index GitHub inherit GitHub's ranking, and Glama had to remove these listings on November 18.

- **Read the commit history, not the star count.** Thousands of "Auto commit" messages, a burst of stars in a few days and a brand-new author account are the MIOU signature. Real projects have messy, human commit messages and issues with replies.

- **Grep the code before the first launch.** Search for decorators or imports that start threads at import time, python -c children fed through stdin, ctypes or mmap calls, base64 or encrypted blobs, pip or npm installs triggered from inside the code, and any binary file over a few megabytes. A legitimate exchange helper is a few hundred lines of HTTP calls.

- **Check what runs at install.** For Node servers read package.json for preinstall and postinstall scripts. For Python read setup.py, pyproject.toml and anything imported from __init__.py.

- **Pin and freeze.** Install a specific commit or tag, not a branch, and keep a lockfile. If the repo is later replaced with malicious code, your pinned version does not change.

- **First run in a disposable environment.** Start new servers in a container or VM with no wallets, no browser profiles, no SSH keys and no cloud credentials. Watch the process list and outbound network for a minute. Tool approval prompts do not protect you here because the payload runs before any tool call.

- **Least privilege for the agent.** Run your coding agent as a user that cannot read your main browser profile or password manager, and keep crypto on hardware wallets, which the clipper can still target through address swapping, so verify every address on the device screen.

- **Keep an allowlist.** Maintain a short list of MCP servers your team is allowed to run, with the commit hash for each, and review additions the same way you review a dependency upgrade.

## Why this matters beyond crypto

This wave targeted crypto because it pays fast, but the technique is general. Any MCP server can run arbitrary code at launch, and coding agents are now installed on the same laptops that hold production credentials, customer databases and deploy keys. Apiiro's own canary test found that Beretta took a wallet seed, a KeePass database, FileZilla and Discord data, while an SSH key, AWS credentials and a project .env file were not touched this time. Next build may be different. The same supply-chain pattern showed up in [the Optimizely third-party script attack](https://amvprosox.com/blog/optimizely-hack-cyber-attack-third-party-scripts) and in the AI-driven campaigns in [Google's GTIG threat tracker](https://amvprosox.com/blog/autonomous-cyber-attacks-google-gtig-ai-threat-tracker): trusted code paths, not clever exploits.

If your team uses coding agents, my [website maintenance service](https://amvprosox.com/website-maintenance) includes dependency and integration reviews, and a [free website audit](https://amvprosox.com/website-audit) checks your public surface for leaked keys and risky third-party scripts. Related guides on this blog: [Cursor is now Grok Build](https://amvprosox.com/blog/cursor-is-now-grok-build-what-changes-claude-ship), [how I use AI coding agents as a freelancer](https://amvprosox.com/blog/ai-coding-agents-freelance-developer-workflow) and [making a website agent-ready with llms.txt and MCP](https://amvprosox.com/blog/agent-ready-website-structured-data-llms-txt-mcp).

## Frequently asked questions

### What are the fake MCP servers on GitHub?

Repositories in a campaign Apiiro calls MIOU that posed as MCP helper servers for the Lighter and Aster DEX crypto exchanges. When Claude Desktop, Cursor or Cline launched them, they installed the Beretta stealer and a clipboard hijacker on Windows.

### Is this a vulnerability in Claude, Cursor or Cline?

No. The attack does not exploit a flaw in any of the three tools and does not use prompt injection. The risk comes from running a cloned repository, whose code runs with the user's permissions as soon as the agent starts it.

### How do I know if I was affected?

Check your MCP config files for the named repositories, look for msedgeview.dll under the EdgeWebView folder in LOCALAPPDATA, check the CLSID registry key listed above, and run Apiiro's YARA and Semgrep rules against any cloned server. A rundll32.exe process running a DLL with ordinal #3 is another sign.

### Does removing the MCP server fix it?

No. The clipboard hijacker persists through a COM hijack and survives reboots, and anything already stolen is gone. Treat the machine as compromised, move funds from a clean device and rotate credentials.

### Are macOS and Linux users safe?

Every published source describes Windows only, and the persistence method is Windows-specific. Nobody has confirmed macOS or Linux as unaffected, so apply the same vetting rules.

### How much did the attackers steal?

About $49,900 reached the 23 clipper wallets by mid-November 2026, excluding transfers between the attackers' own wallets. That is inflow, not a confirmed total of victim losses, and no victim count was published.

### How can I safely test a new MCP server?

Run it first in a container or VM with no wallets, browser profiles or keys, pin a specific commit, read the startup code and install scripts, and watch processes and network traffic for the first minute. Tool approval prompts do not cover code that runs at launch.

### Where are Apiiro's detection rules?

In the public repository github.com/apiiro/miou-detection, which includes YARA, Semgrep and Sigma rules, KQL queries and the full indicator list.

## Sources

- [The Hacker News: Fake MCP servers on GitHub target Claude and Cursor users with crypto-stealing malware (Dec 3, 2026)](https://thehackernews.com/2026/12/fake-mcp-servers-on-github-target.html)

- [Apiiro: Your coding agent started the MCP server. The server started a stealer (Nov 26, 2026)](https://apiiro.com/blog/malicious-mcp-servers-miou)

- [Apiiro: miou-detection rules and indicators of compromise](https://github.com/apiiro/miou-detection)

- [i10x: Claude, Cursor and Cline users targeted by fake MCP servers that steal crypto](https://i10x.ai/news/fake-mcp-servers-github-claude-cursor-cline-beretta-stealer-miou)

- [Pivot News: Apiiro ties fake crypto MCP servers on GitHub to a Windows stealer](https://pivotnews.ai/security/apiiro-ties-fake-crypto-mcp-servers-on-github-to-a-windows)

- [Chip Dispatch: Malicious MCP servers target Claude and Cursor users](https://chipdispatch.com/articles/fake-mcp-servers-on-github-deliver-beretta-stealer-to-claude-and-cursor-users)
