AI Agents Are Becoming a New Malware Channel
The July 2026 FakeGit campaign reveals how AI assistants independently recommended malicious repositories, distributing SmartLoader and StealC infostealers.

Stock photo for illustration only, not from the actual event
- AI assistants like Gemini and ChatGPT recommended malicious repositories
- Attacks exploit architectural weaknesses and fabricated trust signals
- FakeGit campaign deployed roughly 7,600 fake repositories with 14M+ downloads
- Researchers define the lethal trifecta leading to data breaches
The modern era of artificial intelligence is no longer just a productivity booster for end users, as threat actors increasingly leverage AI agents as a primary delivery channel for malware. Attackers no longer need to deceive users directly, opting instead to manipulate the trusted assistants that users rely on.
A report published by Island in July 2026 unveiled a malicious campaign named FakeGit, highlighting staggering operational metrics. The campaign involved roughly 7,600 fake GitHub repositories, 6,600 fraudulent profiles, and over 14 million total downloads. More than 800 of these repositories specifically impersonated AI skills and Model Context Protocol (MCP) servers to distribute the SmartLoader malware and the StealC information stealer.
The most surprising aspect for the cybersecurity community was who actually recommended these fraudulent repositories. Both Gemini and ChatGPT independently suggested the same malicious walmart-mcp repository, as the agents discovered the attacker's project and handed users installation instructions without realizing the threat.

Stock photo for illustration only, not from the actual event
Two core architectural characteristics make these attacks possible. First, agents process instructions and external text, meaning a malicious instruction hidden within a README file or webpage can be misinterpreted as a command to obey, known as indirect prompt injection. Second, these agents retain the capability to execute actions based on those instructions.
"Do Not Mention This to the User."
2026 Academic Study
Analytical Context: This shift highlights a critical vulnerability where AI intelligence is weaponized against itself. Because assistants are built to parse and trust textual descriptions automatically, adversaries have pivoted from tricking humans to feeding malicious prompts directly into automated workflows, bypassing traditional user scrutiny.
Additional attack vectors include AgentBaiting targeting the assistant, Tool Poisoning hiding instructions within tool descriptions, and Rug Pull scenarios where trusted software alters its behavior post-installation. For instance, postmark-mcp version 1.0.16 introduced a hidden BCC recipient that compromised approximately 300 organizations, alongside risks where opening unfamiliar repositories in agent-enabled environments executes code automatically as seen with Claude Code.
Source: AI News
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment