Back Mlq.Ai Fake GitHub MCP Servers Target Claude and Cursor With Beretta Malware
Security firm Apiiro uncovered malicious Model Context Protocol (MCP) servers on GitHub posing as tools for the Lighter and Aster crypto exchanges under an operation dubbed MIOU.
When a developer points Claude, Cursor, or Cline at a cloned repository, a decorator on the server's main function executes a hidden payload before the agent's first tool call.
The Windows malware deploys a previously undocumented stealer called Beretta and a COM-hijacking clipboard swapper tied to 23 attacker wallets that received roughly $49,900.
Malicious Model Context Protocol (MCP) servers hosted on GitHub are delivering a Windows infostealer and cryptocurrency clipboard hijacker the moment developers start them through AI coding agents such as [Anthropic](/companies/anthropic/)'s Claude, Cursor, or Cline [1] . Detailed by application-security firm Apiiro and reported on December 3, the campaign, tracked as Operation MIOU, executes its payload before an AI agent even invokes its first tool, meaning later tool-approval prompts cannot block the infection [1] .
How the Fake Crypto MCP Servers Bypass Agent Prompts
MCP servers are lightweight local programs that AI coding agents launch under the user's own operating-system permissions to connect with external tools and APIs [1] . In Operation MIOU, attackers published repositories masquerading as helper tools for the Lighter and Aster cryptocurrency exchanges, promising to check wallet trading volume, points, and token-giveaway eligibility [1] .
Apiiro's technical analysis showed the attack does not exploit a bug in Claude or Cursor and does not rely on prompt injection [1] . Instead, a decorator attached to the server's main function starts a hidden background task immediately upon launch [1] . In Apiiro's isolated Windows test, the server installed dependencies, fetched an encrypted payload within roughly 18 seconds (or 7 seconds on subsequent runs), mapped it into memory, wrote a file disguised as an Edge WebView component to disk, and hijacked a Windows COM entry to run a persistent clipboard monitor [1] .
Campaign Element Apiiro Finding (Operation MIOU) Lure repositories Fake Lighter and Aster crypto-exchange MCP helpers Targeted agents Claude, Cursor, Cline (local Windows execution) Trigger point Main-function decorator runs before first tool call Payload Beretta stealer + Edge WebView COM clipboard hijacker Tracked wallet inflows ~$49,900 across 23 hardcoded addresses (at Nov 16 prices) GitHub manipulation 1,222 of 1,319 accounts bot-farmed; 26,407 of 26,511 commits automated
GitHub Poisoning and the Beretta Stealer
To lure developers into cloning the trojanized servers, the operators systematically gamed GitHub's rankings [1] . Apiiro found that an Operation MIOU repository appeared as the top result in 18 of 54 realistic developer queries [1] . Of 1,319 GitHub accounts that starred, forked, or commented on the measured repositories, 1,222 appeared to belong to a farm of batch-created accounts, while automated bots generated 26,407 of 26,511 total commits to make the projects look actively maintained [1] .
The clipboard hijacker replaces copied cryptocurrency addresses with one of 23 hardcoded attacker wallets that received roughly $49,900 at November 16 prices starting in February, excluding internal transfers between attacker wallets [1] . Apiiro also identified the core infostealer as Beretta, noting it uses distinct cryptography and configuration formats that separate it from earlier public attributions tying the infrastructure to the commercial StealC stealer [1] .
Disclosure: MLQ.ai's newsroom uses AI tools, including Anthropic's Claude, to help produce its coverage.
This article was produced by MLQ.ai's AI newsroom and checked against primary sources such as company filings, official releases and court documents. Reports from a single outlet are attributed. Editor: Peter Foy . How we work · Spotted an error? Tell us .
