Attackers are now using AI assistants as unknowing helpers in spreading malware. They manipulate trusted agents like Gemini and ChatGPT, getting them to recommend fake repositories that look real. The most striking case: both assistants pointed users to the same fake walmart-mcp repository. That repository delivered SmartLoader and the StealC infostealer straight to developers who thought they were safe.
Between March and May 2026, ESET scanned nearly 900,000 unique AI skills from popular repositories, flagging over 25,000 as suspicious and more than 3,000 as outright malicious, including cases of credential theft and remote code execution.
Two main weaknesses make these attacks possible. First, AI agents read instructions and outside information as plain text. This leaves them open to indirect prompt injection-hidden commands buried in documentation or tool descriptions. Second, these agents can act on those instructions. Sometimes they have access to sensitive data and can send it out. Security researcher Simon Willison calls this a lethal mix: access to valuable data, exposure to untrusted content, and the ability to send information out.
Attackers have used these gaps in eight different ways. AgentBaiting goes after the agent, not the user, by making repositories with convincing documentation and pushing them through public registries. Tool poisoning hides instructions in tool descriptions. In April 2025, Invariant Labs showed how a malicious calculator tool could hijack a trusted email connector and steal messages. Some malicious skills even tell agents to hide what they're doing. A 2026 academic study looked at 98,380 skills, found 157 that were malicious, and identified 13 attack techniques-including direct commands like "Do Not Mention This to the User."
Supply chain manipulation
Independent research in 2026 found that 82% of surveyed MCP servers were vulnerable to path-traversal attacks, and 34% were exposed to command-injection, highlighting the widespread risk in AI agent infrastructure.
Threats can also come from outside the package. In August 2025, Check Point found MCPoison, a flaw in Cursor that let attackers change approved configurations and run commands without new approval. Another test in 2026 showed a skill sent to 26,000 agents started with safe documentation, then switched to malicious install instructions. This tricked scanners that only checked the original files.
AI-powered development environments add more risk. Check Point found that Claude Code could run repository-controlled configuration commands before users confirmed trust. This led to arbitrary command execution (CVE-2025-59536) and API credential leaks (CVE-2026-21852). Anthropic fixed these bugs, but the message is clear: just opening an untrusted project can trigger code execution that normal file checks miss.
User actions and fake reputation
Not every attack needs complex prompt injection. ClickFix depends on users running malicious commands disguised as setup steps in README or SKILL.md files. During the ClawHavoc campaign in early 2026, researchers found 341 malicious skills among 2,857 in the OpenClaw ecosystem. Antiy CERT later tracked 1,184 malicious skills tied to only 12 accounts. The malware went after crypto wallets, browser credentials, API keys, SSH keys, and Telegram sessions.
Sometimes, the agent itself turns into the attacker. In November 2025, Anthropic reported GTG-1002, a cyberespionage campaign where attackers linked penetration-testing tools to Claude Code through MCP. The model carried out 80-90% of the operations on its own, with humans just setting the goals. Anthropic said a state-sponsored group was behind it, but this has not been confirmed in public threat intelligence databases.
Fake credibility is what keeps these attacks going. In April 2026, an investigation found GitHub stars selling for $0.03-$0.10 each, with six million suspicious stars across 15,835 repositories. Attackers cloned an Oura MCP connector, spent three months faking contribution histories, then pushed the malicious version through real registries. A malicious Solidity extension got nearly two million fake downloads, costing one blockchain developer about $500,000.
AdTech and wider fallout
For AdTech, the risk is immediate. Media buyers and AdOps teams now connect agents, reporting tools, and campaign helpers to DSPs, ad platforms, and advertiser data. A poisoned reporting or creative skill could leak campaign info, steal account credentials, or drain ad budgets. The trick-buying fake stars and downloads to make malware look safe-follows the same logic as fake engagement and bot traffic in ad fraud.
AI skill marketplaces are moving faster than their security can keep up. Open-source ecosystems have started using two-factor authentication and verified package sources to fight supply-chain threats. But AI marketplaces are still wide open. The risk is even bigger because AI skills often have access to email, repositories, databases, credentials, and now, ad accounts.
Creators and publishers can't assume AI agent recommendations are safe. As reported earlier, even established teams have lost data and credibility because of poorly managed AI automation. The lesson is simple: checking both the software and the trust signals that AI agents use is now as important as securing the systems themselves. The next big breach may not come from a direct attack, but from the very assistants meant to help us work smarter.
Recent research from late 2026 shows attackers are now going after the Model Context Protocol (MCP) layer. This is where AI assistants pull tools and instructions from outside servers. The main danger is indirect prompt injection-malicious text in tool descriptions or outputs that gets treated as real context. This can steer agent behavior and lead to data leaks or stolen credentials. Microsoft research has shown that poisoned tool descriptions can hijack AI agents and quietly send company data to outsiders. This makes it critical to check untrusted tool metadata. Industry reports say scans of MCP servers found 5.5% exposed to tool poisoning and 66% with at least one security issue. Many lack basic protections like OAuth. In early 2026 alone, more than 30 CVEs were filed against MCP servers, showing how urgent these problems are. For more, see this late-2026 reporting on MCP server security.