Artificial Intelligence

‘HalluSquatting’ Turns AI Hallucinations Into Botnet Delivery Mechanism

Researchers demonstrate adversarial hallucination squatting against popular AI assistants to achieve remote code execution.

AI hacking

Researchers from Tel Aviv University, Technion, and Intuit have detailed a new attack technique dubbed ‘HalluSquatting’ that turns AI assistants’ tendency to hallucinate into a scalable infection vector. 

The cybersecurity community has identified several ways to hack or hijack AI tools through prompt injection delivered via channels such as emails, logs, comments, and messaging notifications.

These promptware attacks leverage the fact that the attacker has a direct channel to the targeted user’s LLM application. 

HalluSquatting, on the other hand, has been described as a form of untargeted promptware that relies on a technique named adversarial hallucination squatting, in which threat actors can exploit AI applications at scale without a direct channel.

In a HalluSquatting attack, the attacker pre-registers the fake repository or package names that LLMs commonly invent when asked to fetch popular, trending resources. 

The research team says hallucination rates in their tests reached as high as 85% for repo-cloning prompts and 100% for skill installations, and that the same hallucinated names tend to recur across different foundation models, making the technique broadly transferable. 

Advertisement. Scroll to continue reading.

Once the hallucinated repositories and packages are registered, the attacker can plant malicious instructions inside them. 

When an unsuspecting user asks an AI tool like Cursor, Windsurf, GitHub Copilot, Cline, Gemini CLI, or OpenClaw to clone a repository or install a skill, the assistant may hallucinate the squatted name, pull it down, and execute the attacker’s commands via its built-in terminal.

Those commands can direct the AI to run additional tools or code, potentially deploying various types of malware or hacking tools.

The HalluSquatting research has focused on using the technique to create agentic botnets whose size depends on how often AI tools hallucinate the attacker’s squatted resource.

Traditional botnets rely on vulnerabilities, weak security practices, and lateral movement. In contrast, agentic botnets spread via prompt injections that bypass traditional firewalls and can take root on virtually any device, resulting in a far more heterogeneous population of compromised hosts than botnets such as Mirai.

Affected vendors were notified before the publication of the HalluSquatting research, and the researchers withheld exploit details they believe could be directly reused by attackers.

Related: AI Coding Tools Tricked Into Hacking Developer Machine via Decades-Old Technique

Related: Google Dialogflow CX Bug Allowed Attackers to Hijack AI Conversations

Related: Critical Vulnerability Exposes GitHub Agentic Workflows to Prompt Injection

Related Content

Artificial Intelligence

Experiments show cheap TV boxes can run capable AI models, and small models may soon be able to spread across such devices on their...

Artificial Intelligence

IBM’s Steve Wallin talks to SecurityWeek on the effect of AI-driven attacks on enterprise defenses.

Application Security

OSS Scanner sends unreviewed, model-generated vulnerability reports to open source maintainers that opt in.

Artificial Intelligence

Researchers from George Washington University have published a paper examining whether the time and cause of AI going rogue can be predicted.

Artificial Intelligence

The cybersecurity startup will invest in product innovation, agentic research, and employee base expansion.

Artificial Intelligence

Anthropic is integrating the CVP and Project Glasswing into a single offering, with three levels of access to its most capable AI models.

Artificial Intelligence

Wikimedia looked into whether its own websites had seen activity like that disclosed by other organizations

Artificial Intelligence

Google has temporarily stopped accepting product vulnerability reports through its Open Source Software Vulnerability Reward Program (OSS VRP).

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version