Malicious MCP servers on GitHub run a stealer and a clipboard hijacker on Windows the moment an AI coding agent starts them, the application-security firm Apiiro reported last week.
The servers pose as tools for the Lighter and Aster crypto exchanges, and a user has to clone one from GitHub and point an agent such as Claude, Cursor, or Cline at it before it runs. In an isolated test, the malware launched before the agent's first tool call, so an approval prompt for a later tool would not have stopped it.
An MCP server is a small program that a coding agent starts to reach outside tools and data, and it runs with the user's own permissions.
The two servers posed as helpers for Lighter and Aster, crypto exchanges whose traders earn points toward token giveaways, and offered to check a wallet's trading volume, points, and eligibility. A decorator on the server's main function starts a hidden task before the agent calls any tool.
In the Windows test, the server installed its dependencies, pulled an encrypted payload about 18 seconds in, and mapped it into memory. A file disguised as an Edge WebView component was written to disk, hijacked a Windows COM entry, and ran as the clipboard hijacker. A later start reached the same point in about 7 seconds.
The attack is not a flaw in the coding agents, and it does not depend on tricking the model with a planted instruction, the firm's technical analysis shows. A user has to find one of these servers, clone it from GitHub, and point an agent at it; then the code runs on its own.
The clipboard hijacker swaps a copied crypto address for one of 23 addresses built into it. Those addresses received about $49,900 at November 16 prices, the firm found, after setting aside transfers between the attackers' own wallets, with the first payments arriving in February.
Three other wallets were emptied within three minutes of receiving just enough to cover fees, which the firm reads as a sign the attackers held the keys. The figure counts money into the wallets, not victim losses, and no victim count was published.
Journalistic Attribution: Reported via The Hacker News for public informational purposes under Fair Use. Read the original primary report →
Copyright of original reporting belongs to The Hacker News. Contact support@cubiqinfotech.com for DMCA inquiries.