FakeGit Campaign Floods GitHub with 7,600 Fake Repositories to Distribute SmartLoader Malware

The FakeGit operation has created or repurposed approximately 7,600 repositories on GitHub to trick users and automated agents into downloading SmartLoader, a loader that installs additional malware including the StealC infostealer. Attackers clone legitimate projects, replicate documentation and developer profiles, and host malicious ZIP files in GitHub Releases that have already accumulated over 14 million downloads across roughly 200 repositories. A notable tactic called AgentBaiting targets AI systems by disguising more than 800 repositories as AI Skills or MCP servers, leading tools from Anthropic, Google, and OpenAI to recommend malicious packages. The infection chain uses LuaJIT to execute obfuscated Lua scripts that deploy SmartLoader, which establishes persistence via scheduled tasks and resolves command-and-control infrastructure through a blockchain dead drop on Polygon. Over 600 listings linked to the campaign have also appeared on public directories such as LobeHub, Glama, and MCP Market, extending the reach beyond GitHub. Defenders are advised to maintain approved catalogs of AI components, apply application control policies, and monitor for LuaJIT execution and anomalous outbound traffic.

HispasecTranslated from Spanish

Read at source

The FakeGit campaign has turned GitHub into a massive storefront of deceptive repositories aimed at distributing SmartLoader, a loader designed to install follow-on malware such as the StealC infostealer. The operation, active at least until July 2026, has created or repurposed nearly 7,600 repositories and employs a sophisticated mix of cloned legitimate projects, realistic documentation, and fake developer profiles to appear trustworthy.

Visitors are guided to download ZIP archives from GitHub Releases, a channel often perceived as more reliable. Approximately 200 of these repositories have recorded more than 14 million downloads, demonstrating the campaign’s significant reach. In roughly 800 cases the repositories masquerade as AI-related utilities, specifically presented as Skills or MCP (Model Context Protocol) servers.

This approach enables the AgentBaiting technique, in which attackers do not need to send direct links; instead, they rely on AI agents searching for free skills or MCP servers and subsequently following installation instructions that execute malicious code. Internal tests have shown that systems including Anthropic Claude Code, Google Gemini, and OpenAI ChatGPT can surface malicious repositories during discovery.

The infection chain begins with the downloaded ZIP, which triggers a staged payload executed through LuaJIT and culminating in an obfuscated Lua script that installs SmartLoader. The loader maintains persistence on Windows via scheduled tasks and resolves its command-and-control infrastructure dynamically using a blockchain-based dead drop referencing a smart contract on Polygon.

Exposure is further amplified by more than 600 listings appearing on public directories such as LobeHub, Glama, MCP.so, and MCP Market. Organizations are recommended to avoid executing unverified ZIP files or scripts, maintain internal catalogs of approved AI components, apply application control policies, and monitor for LuaJIT execution and anomalous network activity including direct IP connections or Polygon RPC endpoints.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Supply Chain & Open Source

Passwordless Kubernetes Image Pulling with Artifact Keeper via ServiceAccount Tokens
Malicious Code Injected into LiteLLM Open Source AI Package via Supply Chain Attack
GhostAction Campaign Compromises 790 GitHub Repositories via Malicious Workflows