Tel Aviv researchers expose agentic botnets

- Tel Aviv University, Technion and Intuit researchers published a July 9 paper describing “HalluSquatting,” an attack that turns LLM hallucinations into prompt-injection delivery. - The paper reported hallucination rates of up to 85% for repository requests and 100% for skill installs across multiple agent tools. - The researchers said HalluSquatting affected tools including GitHub Copilot, Cursor, Windsurf, Cline and Gemini CLI in their tests.

Tel Aviv University, Technion and Intuit researchers said on July 9 that they had found a way to turn a familiar LLM failure mode — inventing package, repository or skill names — into a scalable attack path against agentic coding tools. In a paper posted to arXiv, the team called the technique “adversarial hallucination squatting,” or HalluSquatting, and said it can be used to plant malicious instructions where coding agents are likely to look for external resources. The paper’s authors — Aya Spira, Stav Cohen, Elad Feldman, Ron Bitton, Avishai Wool and Ben Nassi — said the attack works because many agentic applications can both fetch outside resources and execute tools locally. In their tests, they said HalluSquatting led to remote tool execution and remote code execution across products including Cursor, Cursor CLI, Windsurf, GitHub Copilot, Cline, Gemini CLI and the OpenClaw family of assistants. (arxiv.org) ### How does HalluSquatting actually work? The researchers said the attack starts with a trending resource, such as a popular repository or skill, that users are likely to ask an assistant to retrieve. An attacker then probes a model repeatedly to learn which fake identifier it most often hallucinates for that resource, registers that hallucinated name first, and places adversarial instructions inside it. A later user prompt does not need to mention the attacker at all. (arxiv.org) The paper said the agent can independently generate the same fake identifier, fetch the attacker-controlled resource from the internet, ingest the hidden prompt injection, and then use its own terminal or tool layer to carry out commands on the machine. The authors framed that as an untargeted promptware attack because the malicious content is pulled in indirectly rather than sent straight to a named victim. ### Why do the researchers say this can scale? The paper reported that hallucinated identifiers were not random one-off mistakes. The authors said hallucinations appeared at rates of up to 85% in repository-cloning scenarios and up to 100% in skill-installation scenarios, and that the same false identifiers transferred across different prompts, foundational models and application layers. That predictability is what makes the attack notable. (arxiv.org) If many users ask many assistants for the same popular resource, one attacker-controlled hallucinated name can be fetched repeatedly by different machines, creating what the paper described as a path to “establish a botnet.” The Hacker News, citing the paper, said the researchers used harmless placeholder payloads rather than live malware in their demonstrations. ### Why is this different from ordinary typosquatting? The paper compared HalluSquatting to typosquatting but said the trigger is different. In typosquatting, a human mistypes a legitimate name; here, the model supplies a plausible but nonexistent identifier on the user’s behalf, and the attacker pre-registers it. Ben Nassi’s group has published earlier work on indirect prompt injection, including research on self-replicating AI worms and malicious calendar invites targeting Google Gemini, according to Ben Nassi’s faculty page and prior coverage. (arxiv.org) HalluSquatting extends that line of work from direct or semi-direct injection channels to internet-scale resource retrieval by agentic tools. ### Which products were named, and what comes next? (arxiv.org) The July 9 arXiv posting named AI coding assistants, command-line tools and assistants with integrated terminals as affected in the team’s experiments, including GitHub Copilot, Cursor, Windsurf, Cline, Gemini CLI, OpenClaw, ZeroClaw and NanoClaw. The paper said the issue arises in applications whose tool stacks let models fetch external content and then act on it with limited mediation. (nassiben.com) The next step is in the paper itself. The authors said they conclude with mitigation strategies focused on reducing hallucinated resource retrieval and hardening the path between fetched content, model instructions and local tool execution, and the arXiv version posted July 9 is the public record for those details. (arxiv.org)

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.