The FakeGit campaign, active since March 2025, used 7,600 malicious GitHub repos (800+ disguised as AI Skills/MCP servers) to trick AI coding agents like Claude Code, Gemini, and ChatGPT into autonomously recommending... Researchers attribute the campaign to a single Vietnamese speaking operator and recommend enterp...

Create a landscape editorial hero image for this Studio Global article: Search & fact-check with cited sources for What was the FakeGit campaign, how did it use nearly 7,600 fake GitHub repositories to trick AI c. Article summary: Here is a comprehensive, source-cited breakdown of the FakeGit campaign.. Topic tags: general, general web, user generated. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks, charts with fake numbers, clickbait thumbnails, icons, and tiny thumbnail layouts. Make it useful as an illustrative visual, not as factual evidence.
In July 2026, researchers at Island Security publicly documented a massive malware distribution campaign codenamed FakeGit. Its defining innovation is a technique called AgentBaiting—leveraging AI coding agents' helpfulness to make them autonomously discover and recommend malicious repositories to the user
.
Active since at least March 2025 and tied to a single Vietnamese-speaking operator, the campaign deployed nearly 7,600 malicious GitHub repositories, of which over 800 were disguised as AI Skills or Model Context Protocol (MCP) servers—the exact types of components that agents like Claude Code, Gemini CLI, and ChatGPT search for and recommend. By July 2026, GitHub's download counters recorded over 14 million events tied to the campaign files
.
AgentBaiting is a supply-chain attack on the AI agent's trust model. Instead of relying on victims to stumble onto malicious links, the attackers engineered their fake repositories to be found and promoted by the AI agents themselves. The attack chain works as follows:
Island Security lead researcher Oleg Zaytsev described the shift: "What was built to trick people now tricks AI agents too".
The FakeGit campaign deployed a two-stage malware chain:
Note: The download count of 14 million+ reflects all events recorded by GitHub's counters for the campaign files, which may include automated requests as well as genuine user downloads.
Based on Island Security's analysis and cross-referenced reporting from Mozilla's 0din team and other security researchers, the key defenses are:
1. Maintain a curated, approved catalog of AI Skills, MCP servers, and agent extensions. Only allow agents to install components from this sanctioned list. Document origin, owner, repository, commit hash, and version for every entry.
2. Sandbox new agent capabilities. Before rolling out any new AI Skill or MCP server to the broader organization, evaluate it in an isolated, controlled environment.
3. Verify publisher and project integrity. Cross-check the publisher's identity, account age, and project history before trusting any third-party AI plugin. Treat high-star/high-download repos as potentially gamed.
4. Monitor agentic pathways. Implement monitoring for outbound requests from AI agents to external repositories, especially raw content downloads from GitHub that fall outside established developer baselines.
5. Restrict autonomous agent behavior. Configure AI coding agents to require user confirmation before installing new tools, running shell commands from README instructions, or downloading external packages.
6. Apply strict egress controls. Limit what endpoints AI agent infrastructure can reach, and maintain an "approved sources" allowlist for code and package downloads.
7. Treat public AI registries as untrusted. Assume any component discovered by an agent from a public registry may be malicious until verified through the approved catalog.
Studio Global AI
Use this topic as a starting point for a fresh source-backed answer, then compare citations before you share it.
The FakeGit campaign, active since March 2025, used 7,600 malicious GitHub repos (800+ disguised as AI Skills/MCP servers) to trick AI coding agents like Claude Code, Gemini, and ChatGPT into autonomously recommending...
The FakeGit campaign, active since March 2025, used 7,600 malicious GitHub repos (800+ disguised as AI Skills/MCP servers) to trick AI coding agents like Claude Code, Gemini, and ChatGPT into autonomously recommending... Researchers attribute the campaign to a single Vietnamese speaking operator and recommend enterprises maintain a curated catalog of approved AI components, sandbox new agent capabilities, and restrict autonomous agent...
The campaign seeded 600+ malicious listings on public AI registries, ensuring agents would discover the fake repos during normal operation.