Back to News
NewsJobsRegulationAi

Researchers Highlight Botnet Risks from AI Agent Hallucinations

Researchers reveal a new attack method exploiting AI hallucinations, risking security in AI applications.

Mercation Admin
July 10, 2026 3 min read
Researchers Highlight Botnet Risks from AI Agent Hallucinations

Researchers from Tel Aviv University, the Technion, and Intuit have uncovered a new category of cyber attacks that target AI agents by exploiting their tendency to create fictitious identifiers for resources. This phenomenon, termed "Adversarial HalluSquatting," can allow attackers to issue malicious commands disguised as legitimate resources.

In their study, the researchers demonstrated how these hallucinations could be transformed into vectors for executing harmful instructions. In controlled tests, the attack facilitated the invocation of AI tools and even remote code execution.

“The tendency of LLMs to hallucinate resource identifiers can be leveraged to enhance untargeted promptware attacks,” the researchers noted.

The focus of this research is on AI systems that perform a variety of tasks beyond answering queries, including file access, internet searches, repository cloning, and command execution.

Mechanics of HalluSquatting

The attack exploits predictable errors in AI models. For example, if a user requests an AI agent to clone a repository but the model cannot find the correct identifier, it may generate a similar, incorrect one. Attackers can anticipate these errors by tracking popular resources and identifying frequently generated non-existent addresses. They can then register these identifiers on platforms like GitHub, embedding malicious instructions within.

This method is particularly concerning due to its scalability; attackers do not need to target specific individuals or resources directly. A single compromised resource can affect numerous systems.

“One compromised resource can lead to the compromise of many machines,” the study emphasized.

Testing Findings

The researchers conducted extensive testing across six foundational models, including Gemini and GPT versions, in over 14,000 runs. They found a staggering 92.4% hallucination rate for new repositories, with most models failing to identify correct project owners. In contrast, older repositories had a mere 0.9% hallucination rate, likely because they were included in the models' training data.

Three types of hallucinations were identified: incorrect placement of repository names, misattributed ownership, and placeholder responses. The first type was particularly favorable for attackers, as it allowed for easy registration of fictitious addresses.

Real-World Application Outcomes

The researchers shifted their focus to practical applications with terminal access, testing a variety of tools including GitHub Copilot and others. They found that the end-to-end attack was successful in 20-65% of cases, depending on the application and type of payload used. For instance, the attack achieved a 65% success rate with Windsurf.

Interestingly, OpenClaw exhibited even higher success rates, reaching 100% for invoking built-in tools with certain models. In scenarios where the AI agent was prompted to clone repositories, the results were alarming, showcasing the vulnerabilities in real applications.

Limitations of Current Protective Measures

While searching the web prior to performing potentially harmful actions significantly improved accuracy, the majority of prompts still resulted in hallucinations. The phrasing of prompts also played a crucial role in outcomes, with no prompt type proving entirely safe.

Vulnerabilities in Skills Marketplace

The researchers also examined ClawHub, a skills marketplace, and uncovered vulnerabilities related to title discrepancies and mislabeling. In tests, a high percentage of runs led to identifiers that malicious actors could register.

Industry Responses and Recommendations

The findings were communicated to developers and platform providers, who were advised to verify sources before loading external resources and to perform searches prior to passing addresses to built-in tools. GitHub, however, stated that the scenario described does not reflect a platform vulnerability, attributing the issue to LLM hallucinations.

Representatives from other companies involved indicated that they do not classify these scenarios as vulnerabilities, instead viewing them as risks associated with dependency name capture. Some organizations have initiated evaluations of the findings.

Concerns are growing within the industry, as the use of AI in cyber attacks is becoming more prevalent, with warnings of potential new malware families utilizing large language models for malicious purposes.