Fake MCP servers on GitHub target Claude and Cursor users with cryptocurrency-stealing malware
Fake MCP Servers on GitHub Target Claude and Cursor Users with Crypto-Stealing Malware
Application security firm Apiiro reports that malicious MCP servers on GitHub impersonating tools for the Lighter and Aster crypto exchanges run the infostealer Beretta and a clipboard hijacker on Windows when coding agents launch them. Users must clone the repository themselves and point Claude, Cursor or Cline at it; the malicious code runs before the agent calls any tool, so post-hoc tool approval prompts cannot stop it; the attack does not involve a flaw in the agent itself, nor does it rely on injected instructions to mislead the model. The clipboard hijacker replaces copied cryptocurrency addresses with one of 23 built-in addresses; these addresses received about $49,900 at November 16 prices, with the first deposit in February, and that figure counts the amount flowing into the wallets.
The malicious MCP server runs before the agent calls any tool, so post-hoc approval prompts cannot stop it; developers who clone servers from GitHub can check themselves against the indicators in the article.