Malicious Model Context Protocol (MCP) servers were discovered on GitHub, masquerading as tools for the Lighter and Aster crypto exchanges. This operation, identified as Operation MIOU, involves the deployment of malware when developers use AI coding agents like Claude, Cursor, or Cline on these repositories.
The malware includes a previously undocumented stealer named Beretta and a clipboard hijacker. The clipboard hijacker alters copied cryptocurrency addresses to redirect funds to one of 23 hardcoded attacker wallets. As of November 16, attackers have accumulated approximately $49,900 through these wallets.
The attack does not exploit any vulnerabilities in the AI coding agents themselves and does not involve prompt injection. Instead, the malicious servers execute their payload directly from cloned repositories, circumventing traditional package scans.
The operators of this campaign manipulated GitHub's search rankings to make their repositories appear prominently in developer search results. Of the 1,319 GitHub accounts interacting with these repositories, 1,222 are suspected to be part of a batch-created account farm.
The exploitation of this operation is confirmed, as the malware activates when the server process begins, prior to the AI agent's initial tool call.
