Skip to content

Threat Actors

Apiiro says malicious GitHub MCP servers install Windows stealer

The MIOU operation impersonated Lighter and Aster crypto exchanges, and its clipboard hijacker stored 23 addresses, Apiiro said.

https://breach-signal.com/threat-actors/apiiro-malicious-github-mcp-servers-windows-stealer/

Share

Key facts

  • Application-security firm Apiiro reported last week that malicious MCP servers hosted on GitHub deploy a Windows stealer and clipboard hijacker as soon as an AI coding agent launches them.
  • These servers present themselves as support tools tied to the Lighter and Aster crypto exchanges.
  • Apiiro's technical analysis shows the intrusion is not a defect in the coding agents and does not rely on a planted instruction.
  • After excluding attacker-to-attacker transfers, Apiiro found the addresses received about $49,900 at November 16 prices, with initial payments in February.

Application-security firm Apiiro said last week that malicious MCP servers hosted on GitHub, small programs that reach outside tools and data using the user’s own permissions, install a Windows stealer and clipboard hijacker the moment an AI coding agent runs them. The servers pose as support tools connected to the Lighter and Aster crypto exchanges. A person has to clone a server from GitHub and direct an agent such as Claude, Cursor or Cline toward it, and the code runs automatically. The disclosure describes an active campaign abusing MCP servers to compromise AI coding agent users, including those using Claude, Cursor and Cline.

Apiiro‘s technical analysis indicates the intrusion is not a flaw in the coding agents and does not depend on a planted instruction. The firm calls the operation MIOU. MIOU manipulated GitHub search so that a repository appeared first in 18 of 54 searches, using search visibility to reach potential victims and surface the malicious repositories to users browsing GitHub. Among 1,319 accounts measured, 1,222 seemed to be batch-created, while automated scripts wrote 26,407 of the 26,511 commits, evidence of artificial activity around the malicious repositories.

Key figures, MIOU's GitHub presence was overwhelmingly automated. Accounts measured: 1,319; Batch-created accounts: 1,222; Automated commits: 26,407; Total commits: 26,511.

Earlier threat feeds and an April write-up linked the operation to StealC, but Apiiro says Beretta relies on different cryptography and a different configuration format; the April write-up predates the current disclosure. The dispute over whether the operation should be labeled StealC hinges on those technical differences, which Apiiro detailed in its analysis. Beretta is the name the stealer uses for itself. The clipboard hijacker replaces a copied crypto address with one of 23 addresses stored inside it.

Apiiro found that at Nov. 16 prices, the addresses received about $49,900, with initial payments in February, after excluding attacker-to-attacker transfers. The funds sat in attacker-controlled addresses. According to Apiiro, three additional wallets were drained within three minutes after receiving only enough to cover fees, which indicates the attackers held the keys.

The company said last week that 36 live repositories were active, presented as trading bots, wallet tools and two MCP servers. GitHub took down 17 repositories and left 19 online by publication time. Two more Aster repositories appeared two days later, using the same server and signing key. As of reporting, the Lighter server and both added repositories returned a 404 error, while an original Polymarket bot repository remained live, and GitHub’s removal of 17 repositories constituted a partial takedown after Apiiro’s disclosure.

When a coding agent launches one, the server runs with those same permissions. In the MIOU servers, the main function contains a decorator that starts a hidden task ahead of any tool call from the agent, causing the malicious code to run automatically when the server is used without waiting for user input. In a Windows test, the server fetched an encrypted payload about 18 seconds after startup and mapped it into memory; on a later launch, it reached the same stage in roughly 7 seconds, showing faster repeat execution.

The payload saved a file that impersonated an Edge WebView component to disk, took over a Windows COM entry, and ran as the clipboard hijacker, Apiiro said. Indicators of compromise include %LOCALAPPDATA%\Microsoft\EdgeWebView\msedgeview.dll, a registry CLSID key pointing to that file, and a rundll32.exe process executing it. Apiiro advises checking a cloned server for bundle.pkg, embed.pkg or dist.pkg files, each ranging from 11 to 22 megabytes, and says that if any indicator appears the machine should be treated as compromised, with crypto funds transferred from a separate clean device and passwords and keys changed. Deleting the server does not undo the theft, and the clipboard hijacker remains after the server is removed.

FakeGit resumed on Oct. 4 with 17,610 GitHub repositories, and more than 13,000 repos were pushed within 34 hours, Apiiro said, demonstrating the scale of the earlier operation. A July report from Island described 7,600 fake GitHub repositories distributing SmartLoader and said 800 posed as AI skills or MCP servers. Apiiro recommends that users get AI skills and MCP servers from official registries or vendor repositories.

Was this helpful?

Join the discussion

Please read our Comment Policy before commenting. First-time comments are held for moderation. By posting a comment you agree to our Terms of Use and Privacy Policy, which explain how your name, email address and comment are used.

Your email address will not be published. Required fields are marked *