Skip to main content
Mallory
← Back to News
ai-platform-securitypackage-repository-poisoningbotnet-infrastructureoffensive-tooling-release

HalluSquatting Lets Attackers Turn AI Coding Assistants Into Botnet Installers

Emerging Technology Risk · 11 sources · Updated 4mo ago · First seen Jul 8, 2026

HalluSquatting Lets Attackers Turn AI Coding Assistants Into Botnet Installers

Researchers disclosed HalluSquatting, a prompt-injection technique that abuses AI coding assistants' tendency to hallucinate package, repository, plugin, or registry names and then retrieve them automatically. By predicting the fake identifiers a model is likely to invent, attackers can register those names on services such as GitHub or plugin stores, seed them with malicious instructions or payloads, and induce the assistant to execute attacker-controlled code. The researchers reported highly repeatable hallucinations—reaching up to 85% for repository requests and 100% for some skill-install scenarios—and said the method can deliver reverse shells and other malware without relying on software exploits, worms, or stolen credentials.

The attack was reported to affect tools including Cursor, Cursor CLI, Gemini CLI, Windsurf, GitHub Copilot, Cline, OpenClaw, ZeroClaw, and NanoClaw, many of which can fetch third-party resources and run with elevated command-line privileges. Researchers from Tel Aviv University, Technion, and Intuit said they disclosed the issue to vendors while withholding full reproduction details, warning that the technique could enable large-scale device compromise, botnet assembly, and DDoS activity across mixed environments. Recommended defenses include forcing assistants to search and verify resources before fetching them, validating package and repository names, disabling unattended auto-run behavior, and having platforms reserve likely hallucinated identifiers.

New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Jul 8, 2026
  1. Jul 8, 20265mo ago

    Researchers disclose HalluSquatting issue to affected vendors

    The researchers said they disclosed the HalluSquatting issue to affected vendors and withheld exact reproduction details. The disclosure accompanied recommendations such as verifying resources before fetching them, disabling unattended auto-run modes, and reserving likely hallucinated names on platforms.

    New HalluSquatting Attack Could Trick AI Coding Assistants Into Installing Botnet Malware
  2. Jul 8, 20265mo ago

    Researchers identify HalluSquatting attack against AI coding assistants

    Researchers from Tel Aviv University, Technion, and Intuit described HalluSquatting, a prompt-injection technique that exploits AI assistants' tendency to hallucinate package, repository, or plugin names and then fetch attacker-controlled resources. They demonstrated code execution against multiple coding assistants and characterized the technique as a scalable path to mass compromise and botnet assembly.

    Hackers can use 9 of the most popular AI tools to assemble massive botnets - Ars Technica
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

6 linked
CursorOpenclawCursorCopilotClineGemini-Cli
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.