5 Sources
[1]
Hackers can use 9 of the most popular AI tools to assemble massive botnets
In the brief history of AI security, the prompt injection has quickly become the top threat. Large language models are inherently unable to distinguish between legitimate instructions provided by users and malicious ones sneaked into emails, source code, and other third-party content the models are processing. This makes it trivial to surreptitiously inject malicious commands that the LLM readily follows. With no way to enforce this crucial boundary between trusted and untrusted sources, AI engine developers are left to erect elaborate guardrails designed to mitigate the damage rather than solve the root cause. To date, most prompt injections have fallen into a class known as push, in which each potential victim is targeted. For example, the adversary injects malicious instructions into an individual email or calendar invitation. Because the injection must then be sent (or pushed) to each specific target, the scale of the attack is limited, hampering mass exploits that hit the Internet at large. Meanwhile, pull-based attacks, in which an LLM actively seeks out the adversarial prompts planted on websites, remain limited. With no way to lure large numbers of LLMs to a malicious site, these sorts of attacks don't scale either. Enter HalluSquatting Now, researchers have devised a pull-based attack that changes all that. A new attack the researchers have named HalluSquatting has the potential to assemble massive botnets, perform large-scale DDoSes, and infect devices at scale, a first for prompt-injection attacks. The attack works against AI coding assistants and agents, including Cursor, Cursor CLI, Gemini CLI, Windsurf, GitHub Copilot, Cline, OpenClaw, ZeroClaw, and NanoClaw, which are all susceptible. In the normal course of performing day-to-day activities, these assistants and agents routinely pull code and other resources from repositories and registries. Short for adversarial hallucination squatting, HalluSquatting is built on an LLM's inherent tendency to hallucinate the resource identifiers hosted in repositories and registries. It works against coding agents and assistants, which commonly access high-privilege command lines to run code from third-party resources. By predicting the identifiers LLMs are most likely to hallucinate and then registering and seeding them with instructions to install reverse shells or other malicious wares, the attack can indiscriminately infect massive numbers of devices without having to target each one. "The scalable property of the attack enables the attacker to compromise a large number of users with minimal effort by targeting popular resources, thereby maximizing the likelihood that the squatted resource will be retrieved," the researchers wrote in a paper published Wednesday. "By exploiting integrated shells and terminals of agentic applications to run scripts and code, attackers can effectively 'infect' many independent agentic applications by embedding instructions to install reverse shells in the resources the attackers register." With the ability to take control of distributed devices at scale, HalluSquatting has the potential to achieve various objectives not previously possible with prompt injections. Large ransomware campaigns and large botnets for use in DDoSes or cryptocurrency mining are two such examples. The "squatting" part of the name is an invocation of "typosquatting," in which a domain, repository package, or other resource identifier closely mimics the name of a popular one in hopes of luring potential users to visit or install it. Typosquatting first gained widespread attention in 2016 when a college student uploaded 214 booby-trapped packages to the PyPI, RubyGems, and NPM repositories that closely mimicked names of legitimate packages. The result: The imposter code was executed more than 45,000 times on more than 17,000 separate domains, and more than half were given all-powerful administrative rights. Typosquatting attacks have flourished ever since. LLMs don't know how to say "I don't know." The starting point for HalluSquatting is the inability of LLMs to accurately identify the location of a resource specified by the user. When a developer, for instance, instructs a coding agent to clone a popular new repository, the LLM hallucinates its correct location up to 85 percent of the time. When cloning a trending "skill," a form of instruction, script, or resource that gives agents specialized capabilities and domain expertise, hallucinations can occur 100 percent of the time. HalluSquatting focuses on trending resources because they aren't included in the LLM training. They also receive large numbers of downloads over a short period of time. The researchers say the inability of LLMs to provide the correct location is an inherent flaw that arises from training biases or from misinterpretations of instructions within the current context. That means when a user prompts the coding assistant to clone a repository or skill -- in the form of, say, "clone repo name" or "install skill name" -- the bot frequently navigates to the wrong location to retrieve it. Not only are these hallucinations inevitable, but they also occur at the foundational level of all six of the major LLMs, including Gemini-2.5-flash, Gemini-2.5-pro, GPT-5.1, GPT-5.2, Sonnet-4.5, and Opus-4.5. Additionally, the most commonly provided incorrect locations that these LLMs hallucinate are easy to predict in advance. All six LLMs follow common patterns when resolving the repository or skill name in a prompt with its official name in a repository or skill repository. LLMs follow various hallucination patterns. The one HalluSquatting exploits is described as being self-referential. All six models produce repo-name/repo-name slugs that treat a repository name as the owner. Exploiting the pattern requires no model probing. Interestingly, the LLMs correctly resolve repositories published before 2019 with a low mean hallucination rate of just 0.9 percent. The same LLMs fabricate slugs for repositories published in 2025 with a mean hallucination rate of 92.4 percent. Once an attacker has identified names that are most likely to be hallucinated, they search for ones that can be registered. Then they upload a repository or skill that mimics the trending resource. Buried inside the repository or skill is text inside a readme file or elsewhere. The text contains an instruction for the app to install a reverse shell on the LLM user's machine. Alternatively, the attacker can simply include the code required to install the shell. In either case, the coding assistants or agents use their access to command windows to comply. Exploiting LLMs at scale The researchers are: Aya Spira, Elad Feldman, Avishai Wool, and Ben Nassi of Tel Aviv University, Stav Cohen of Technion, and Ron Bitton of Intuit. On Wednesday, they published their research here. In their paper, they wrote: By exploiting integrated shells and terminals of agentic applications to run scripts and code, attackers can effectively "infect" many independent agentic applications by embedding instructions to install reverse shells in the resources the attackers register. Gaining access to distributed computational resources under attacker control opens the door to several high impact outcomes allowing attackers to achieve various goals. For example, having the ability to compromise LLM applications with terminals allows the attacker to scale the number of ransomware attacks on different networks to maximize financial gain. Alternatively, attackers can aggregate compromised machines into a botnet and use it for tasks that rely on substantial computing power, including (1) large-scale cryptocurrency mining (e.g., Smominru, WannaMine) or (2) performing distributed denial of service (DDoS) attacks against victims (e.g., Mirai). HalluSquatting is already receiving interest from fellow AI security researchers not involved in the study. "This is very cool research, and the threat is very real," Michael Bargury, CTO of security firm Zenity, wrote in an email. "Like typosquatting, it's a problem that's not going away. At the end of the day, it's about the level of agency we allow our agents. They *are* going to get fooled one way or the other. That should be our assumption, and we should be resilient to that." Independent researcher Johann Rehberger wrote: What's interesting is that it shows that LLM resource resolution can become an attack path and an attacker can first probe models to find high-probability hallucinated candidates (like repo names, skill identifiers,etc) to squat and wait for agents to resolve and use them. But the main point is that they found a cool technique to find resource names that are more likely by models to be used/confused with. And that could mean many agents falling for such attacks in the wild. AI tool makers frequently exaggerate the convenience and efficiency of their platforms. Marketers claim the platforms lighten workflows by automating and streamlining tedious tasks. They are much more reticent about the inherent flaws that can torpedo an entire project. Attacks like HalluSquatting provide a potent reminder that some of the efficiencies are exaggerated since, at the end of the day, users must double-check details such as the location for each resource incorporated into a project. It also provides a cautionary lesson on the unintended and potentially dire outcomes that can result when people rely too heavily on AI assistants.
[2]
New hack exploits AI hallucinations to trick agents into running malicious code -- 'HalluSquatting' attack exploits a fundamental weakness in every available model
Ever since the advent of agentic AI, security researchers have been yelling from the top of their lungs about how it's a bad idea to grant user-level permissions to an LLM -- for all purposes, a program with non-deterministic outputs and inconsistent handling of inputs. A research paper on HalluSquatting from researchers at Tel Aviv University, Technion, and Intuit, shows how easily one can fool modern AI bots and harness them into a massive army of AI agents, with the research showing that agents can hallucinate potentially malicious code repositories up to 85% of the time. The mechanism for HalluSquatting (aka "adversarial hallucination squatting") is surprisingly simple, and takes advantage of the fact that when met with unfamiliar terms, bots will not know they're incorrect and hallucinate a "correct" answer. Adding to that, the methods the bots use to come up with said answer are predictable, for example, owner/repository or toolname/toolname GitHub URLs. This is different than just standard typo-squatting, as it exploits the hallucination mechanism itself. An attacker first identifies an application, code repository, programming library, or bot skill that's gained popularity only in recent months or years -- let's say, a new GitHub repo with the URL OriginalOwner/WindowsTelemetryOff. As the bots' training data is not recent enough to contain information about it, GitHub URLs owner/repo combinations SuperHacker/WindowsTelemetryOff , and WindowsTelemetryOff/WindowsTelemetryOff look just as peachy. Likewise, WindowsTelemetryOf and WindowTelemetryOff (note the typos) will be valid candidates. The attacker then creates a malicious repository using those generated names. When Claude or another code agent is asked to "run the windowstelemetryoff scripts" or a similar instruction, chances are they'll hallucinate the repo name (sometimes even having run a web search), run into the malicious version that looks like the original, and happily run whatever's in there. From that point, all bets are off now that the attacker's code is running on the user's machine. The most obvious outcome could be creating a reverse shell (the user's machine opens a command line that's controlled remotely). Now having access to the user's account, the attacker can siphon off their data and passwords, install software, run crypto miners, or harness their AI agent for further malfeasance, all with the power of entire data centers at their disposal. And here's the kicker: just the one HalluSquatted piece of software has the potential to bait and reel in tens of thousands of bots, if not more, in a proverbial blink of an eye. A crafty attacker would be kind enough to include all the original code in their poisoned version, adding yet another layer of unawareness to the mix. The research team found that an LLM will hallucinate the location of a recent code repository up to 85% of the time, a figure that can reach 100% for trending agentic skills. Every single model is widely affected, up to and including Anthropic's mighty Claude Opus 4.5. At the application level, the figures are better, but still pretty bad. The scientists are working on common LLM-backed programming applications, including Cursor, Windsurf, and OpenClaw, among others. In this scenario, the bots stand a better chance given they're working with more context information, but even still, the success rates for hacking ranged from 20%-35% for Cursor, Gemini CLI, and Copilot, and increased massively to close to 80-100% on OpenClaw and its variants. The exploit mechanism doesn't even need to be crafted specifically for any bot; the researchers' results show it's universal and transferable, too. The mean hallucination rate for names of sample GitHub repositories published in 2025 is 92.4%, while predictably, bots get the URLs wrong 0.9% for those from 2019 or earlier, though that's arguably still a concerning figure. The most effective mitigation is adjusting workflow: instructing bots to always run web searches before installing software, and providing them with additional context. Unfortunately, that's not the default way most people appear to use them. Cybersecurity professionals have long advocated for not blindly trusting a bot's actions and severely restricting the access level granted to AI agents. And yet it's not uncommon to see bots with wide-ranging permissions over users' machines, API keys, access keys, and service accounts, to name a few -- all in a bid to make it "easier" for the bot to vibe-code their pointy-haired-boss' latest brilliant idea. Follow Tom's Hardware on Google News, or add us as a preferred source, to get our latest news, analysis, & reviews in your feeds.
[3]
New HalluSquatting Attack Could Trick AI Coding Assistants Into Installing Botnet Malware
AI coding assistants have a habit of making things up. Ask one to fetch a popular tool, and it will sometimes hand back a real-sounding name for a project that does not exist. New research, which its authors call HalluSquatting, turns that habit into an attack: work out the fake names an AI reliably invents, register them first, and wait for the assistant to fetch your trap on a user's behalf. Anyone whose AI assistant can fetch an outside resource and then run commands with little human review is exposed. In tests, that path led the assistant to run attacker-supplied code on the machine. Repeat it with a popular enough resource, and one planted name can reach many machines, which is why the researchers frame it as a way to assemble a botnet. How it works The attack chains two AI quirks. The first is a hallucination: an AI making something up and presenting it as real. The second is a prompt injection: a booby-trapped instruction that hijacks the AI, so it follows an attacker instead of the user. Here, the injection is the indirect kind, riding in on content the assistant fetches rather than anything the user types. The trap is not code that runs by itself. It works because these assistants keep a terminal among their built-in tools, so once the planted instructions take over, "install a bot" is simply something the assistant can do. What makes it practical is that the fake names are not random. In the researchers' experiments, the mistake was consistent: across different phrasings and across models from different companies, the assistant reached for the same wrong name in up to 85% of repository requests and 100% of skill installs. Those are the peak rates the authors report; the paper carries the full breakdown. They ran it against tools including Cursor, Windsurf, GitHub Copilot, Cline, Google's Gemini CLI, and the OpenClaw family of assistants, getting each to run attacker code. The test payloads were harmless placeholders, not real malware; a live one would take the same path. The research comes from Aya Spira and colleagues in Ben Nassi's group at Tel Aviv University, with Stav Cohen at Technion and Ron Bitton at Intuit. Nassi's group has done this before, building a self-spreading AI email worm and a calendar invite that hijacked Google's Gemini. The team says it told the affected vendors, model makers, and marketplace operators before going public, and held back the exact steps needed to copy the attack. Why is it a new kind of botnet Traditional botnets take work to build. They lean on weak passwords, or malware that worms from machine to machine, and they usually herd one kind of device, the way Mirai herded cameras and routers. This needs none of that. No passwords, no worming, and because the payload arrives as text the AI reads rather than a network exploit, it is not the kind of thing a firewall is watching for. The machines it lands on can run any operating system, not one uniform fleet. The AI is the delivery van here, not the cargo. The planted instructions trick it into installing an ordinary bot, and once that bot is running, the machine belongs to a botnet like any other. What is new is the combination that gets it there: a name an AI predictably invents, a marketplace where anyone can register that name, and an agent with permission to fetch and run. The pieces are not new, even if the combination is. Attackers first learned to register fake software package names that AIs invent, a trick called "slopsquatting." In January 2026, Aikido Security's Charlie Eriksen found one such made-up npm package, react-codeshift, that AI-written instructions had already spread to 237 code projects, with agents still trying to install it daily; he registered it himself before any attacker could, so it caused no harm. The idea then jumped from packages to web addresses. Palo Alto Networks' Unit 42 recently described "phantom squatting," roughly 250,000 hallucinated domains sitting unregistered and free for the taking (THN's write-up is here). HalluSquatting is the version that reaches all the way to running code by hijacking the agent doing the fetching. And the marketplaces meant to screen bad uploads are not much of a backstop: in June, Trail of Bits slipped malicious "skills" past several store scanners in under an hour. What to do It all turns on one condition: an agent that fetches an outside resource and runs it with no one checking. Close that, and the attack stops. The most effective fix is also the simplest: make the assistant search before it fetches. A real lookup grounds the agent in what actually exists and sharply cuts the guessing. That is a job for the people building these tools, who can also train the planner (the part that maps a request to steps) to look a resource up first and to treat words like clone, install, and fetch as flags. Users and security teams have nearer-term levers. By default, these agents ask before running a command. The exposure is the auto-run modes (Claude Code's skip-permissions flag, Gemini CLI's yolo mode) that switch that off, so the first rule is not to let an agent run unattended on anything it fetched. Some tools now add a safety layer that inspects what the agent reads or is about to do before it acts, like Claude Code's auto mode and Gemini CLI's Conseca check, but that lowers the risk rather than removing it. No single switch closes this, so also verify that a repository or package name resolves to the real, expected source before an agent pulls it in, and treat any name an AI hands you as a guess, not a fact. Platforms have their own lever. They can stop letting people reuse well-known repository names under new accounts, and pre-register the fake names AIs are likely to invent (the same defense already used against typosquatting), so those names point back to the real project. The researchers call their results a lower bound: "Attacks always get better; they never get worse." There is no single CVE to patch here. They frame it not as one product's bug but as a weakness in how AI agents trust names they were never actually given.
[4]
AI Agents Could Be Turned Into Botnets Through Hallucinations, Researchers Warn
Tests against popular AI coding assistants showed the method could lead to remote code execution in controlled experiments. AI hallucinations may be more than incorrect answers -- they could become a way for hackers to compromise computers, according to new research from Tel Aviv University, Technion, and Intuit. In the paper, "Beware of Agentic Botnets: Scalable Untargeted Promptware Attacks via Universal and Transferable Adversarial HalluSquatting," researchers demonstrated a technique that exploits AI models when they generate fake links to software repositories and other online resources. "The growing adoption of agentic LLM applications has introduced a new threat previously named as promptware," the researchers wrote. "While prior work has established that adversaries can exploit direct channels to LLM applications to apply promptware under weak threat models, many applications do not provide any direct channels that could be exploited for prompt injection beyond the Internet." Known as adversarial hallucination squatting or "HalluSquatting," the attack involves predicting which fake resources AI models are likely to create, registering those names, and adding malicious instructions. If an AI agent later retrieves the hallucinated resource, it may treat the attacker-controlled content as legitimate. The researchers said the threat emerges as AI assistants move beyond answering questions and gain the ability to interact with computers -- accessing files, searching the web, writing code, and running commands. Those abilities can create security gaps when agents act on information they retrieve without confirming whether the source is real. "Ongoing studies have demonstrated various variants of Promptware attacks against real-world systems, including ChatGPT, Google Assistant, Copilot, and various additional applications," they wrote. "These works demonstrated that Promptware can lead to financial, privacy, and safety impacts." Researchers warned the technique could allow attackers to build AI-enabled botnets. A botnet refers to a network of infected computers or devices controlled remotely by an attacker. Botnets are commonly used in cyberattacks, including denial-of-service attacks, cryptocurrency mining, malware distribution, and ransomware campaigns. In testing, the researchers found AI-generated resource hallucinations occurred at rates as high as 85% in repository cloning scenarios and 100% in skill installation tests. The team evaluated the technique against AI coding assistants and agents, including Cursor, GitHub Copilot, Gemini CLI, and OpenClaw. HalluSquatting is similar to typosquatting, a cyberattack tactic where attackers register domain names resembling legitimate websites or software packages to trick users. Instead of exploiting human typing mistakes, HalluSquatting targets mistakes made by AI models. The news comes as researchers continue to test how attackers can manipulate AI agents. In April, Google researchers detailed malicious websites designed to hijack AI agents through indirect prompt injection attacks, including attempts to steal passwords, delete files, and manipulate payments. A separate study on the "CopyPasta" attack showed how hidden prompts inside developer files could manipulate AI coding assistants into spreading malicious code. In June, an OpenClaw user reported facing more than 6,000 attempts from attackers attempting to trick the AI agent into leaking sensitive information.
[5]
Palo Alto Networks flags HalluSquatting: hackers register fake AI-made web addresses
Researchers found 13,000 malicious URLs and 250,000 unregistered domains Palo Alto Networks' Unit 42 is warning about a chatbot security problem that's gaining ground: HalluSquatting. AI systems are making up domains, download links, and package names, and attackers can move first by registering them. Unit 42 researchers say the play is pretty simple. When a model invents a website or software package that sounds plausible, criminals can turn that fake asset into phishing pages, credential theft, malware delivery, or supply-chain attacks. The risk gets higher when people copy and paste generated links, or when automated workflows trust them without checking. In its analysis, Palo Alto Networks' Unit 42 looked at 2.1 million URLs generated by two large language models across 913 global brands. The team found more than 13,000 confirmed malicious URLs, plus roughly 250,000 hallucinated domains that were still unregistered. What makes the problem hard in practice, Unit 42 says, is that different models often hallucinate the same names. One malicious registration can pull in traffic from developer tools and customer-facing chatbots across a lot of different places. In one documented case the team cited, a coding assistant even helped put together a phishing kit on a predicted phantom domain. If you use AI tools often, this isn't something to shrug off. Public forecasts now put machine-learning-driven cyberattacks at more than 28 million in 2025, and public reports say 35% of botnet operations used ML to evade detection, even if those same reports haven't yet shown HalluSquatting by itself producing massive botnets. The takeaway from Palo Alto Networks' Unit 42 is straightforward: verify generated domains, packages, remediation steps, and any link that merely looks convincing.
Share
Copy Link
Security researchers from Tel Aviv University revealed HalluSquatting, an AI security threat that exploits AI hallucinations to trick AI agents into executing malicious code. The attack targets popular AI coding assistants like Cursor, GitHub Copilot, and Gemini CLI, with hallucination rates reaching 85% for repositories and 100% for trending skills. Attackers register fake resource names predicted by large language models, enabling AI-enabled botnets at unprecedented scale.
A team of researchers from Tel Aviv University, Technion, and Intuit has uncovered a critical AI security threat called HalluSquatting that exploits AI hallucinations to trick AI agents into executing malicious code
1
. Short for adversarial hallucination squatting, this AI-driven security threat represents a fundamental shift in how attackers can compromise systems at scale. The attack works by predicting which fake resource identifiers large language models are most likely to hallucinate, then registering those names and seeding them with instructions to install reverse shells or other malware . Unlike traditional push-based prompt injection attacks that must target each victim individually, HalluSquatting enables pull-based attacks where AI coding assistants actively seek out adversarial prompts planted on websites and repositories, making it possible to assemble AI-enabled botnets without targeting specific users1
.
Source: Ars Technica
The research demonstrates that nine widely-used AI coding assistants are susceptible to HalluSquatting, including Cursor, Cursor CLI, Gemini CLI, Windsurf, GitHub Copilot, Cline, OpenClaw, ZeroClaw, and NanoClaw
1
. Testing revealed alarming hallucination rates: when developers instruct coding agents to clone popular new repositories, large language models hallucinate the correct location up to 85% of the time, while trending skills see hallucination rates reaching 100%1
. At the application level, success rates for exploiting this cybersecurity threat ranged from 20-35% for Cursor, Gemini CLI, and GitHub Copilot, but increased dramatically to 80-100% on OpenClaw and its variants2
. The mean hallucination rate for GitHub repositories published in 2025 reached 92.4%, compared to just 0.9% for repositories from 2019 or earlier2
.The attack mechanism builds on the inherent inability of AI agents to accurately identify resource locations, particularly for trending tools not included in their training data
1
. When met with unfamiliar terms, AI coding assistants will not acknowledge uncertainty and instead hallucinate a plausible answer using predictable patterns like owner/repository or toolname/toolname GitHub URLs2
. Attackers identify recent applications or repositories, predict the hallucinated names AI agents will generate, then create malicious repositories using those names. When users instruct their AI agents to fetch these resources, the agents hallucinate the repository name and retrieve the malicious version, executing whatever code it contains2
. This differs from traditional typosquatting because it exploits the hallucination mechanism itself rather than human typing errors2
.
Source: Hacker News
Related Stories
Once attackers trick AI agents into running their code, they can create reverse shells that give remote command-line access to user machines, enabling data theft, password extraction, malware installation, or cryptocurrency mining
2
. The researchers warn that just one HalluSquatted piece of software has the potential to compromise tens of thousands of AI agents rapidly, as the exploit mechanism is universal and transferable across different models2
. This enables large-scale ransomware campaigns and botnets for distributed denial-of-service attacks, objectives not previously achievable with prompt injection techniques1
. Palo Alto Networks' Unit 42 analyzed 2.1 million URLs generated by large language models across 913 global brands, discovering more than 13,000 confirmed malicious URLs and approximately 250,000 hallucinated domains still unregistered and available for attackers5
. Public forecasts now estimate machine-learning-driven cyberattacks will exceed 28 million in 2025, with 35% of botnet operations using ML to evade detection5
.The most effective mitigation requires instructing AI agents to always run web searches before installing software and providing them with additional context, though this is not the default workflow for most users
2
. The research team from Tel Aviv University notified affected vendors, model makers, and marketplace operators before publication and withheld specific attack reproduction steps3
. Cybersecurity professionals have long advocated against blindly trusting AI agent actions and severely restricting access levels granted to these systems, yet many AI agents still operate with wide-ranging permissions over users' machines, API keys, and service accounts2
. Users should verify generated domains, packages, and any links before execution, as the payload arrives as text that AI agents read rather than network exploits that firewalls monitor3
. This represents a new category of supply-chain attacks where phishing pages and credential theft can occur through AI-generated resources5
.Summarized by
Navi
[3]
13 Apr 2025•Technology

24 Apr 2025•Technology

08 Mar 2026•Technology
