← Lab /Security & privacy

Adversarial hallucination squatting enables large-scale untargeted promptware botnets

Attackers can exploit LLM hallucinations of resource names to launch scalable untargeted promptware attacks that achieve remote code execution

Security & privacy arXiv 8 Jul 2026 Attack Prototype evidence Threat model

Published as “Beware of Agentic Botnets: Scalable Untargeted Promptware Attacks via Universal and Transferable Adversarial HalluSquatting”

Why it matters

The attack could be used to build large-scale botnets by compromising many devices that run agentic LLM applications.

Summary

Adversarial HalluSquatting can cause LLMs to hallucinate resource identifiers at up to 85% (repo cloning) and 100% (skill installation) rates, enabling untargeted promptware attacks that achieve remote code execution in 20%-65% of cases across multiple agentic applications. The evidence comes from over 14,000 runs on real-world tools, but the study used only benign payloads, so real malicious impact is not fully measured.

What they found 2

  1. Hallucinated resource generation occurs at high rates in both repository cloning and skill installation scenarios.

    “hallucinated resource generation occurs at high rates-up to 85% in repository cloning scenarios and up to 100% in skill installation”

  2. Remote code execution and tool invocation are achieved in a substantial fraction of attempts across many agentic apps.

    “trigger tool invocations and remote code executions (RCE) in 20%-65% of the evaluations (in response to a GitHub clone repository request)”

Caveats 4

  • Success rates vary widely (20%-65% for repo cloning, 40%-100% for skill installation), indicating the attack is not guaranteed.
  • The experiments used only benign repositories and skills, so the measured rates may be a lower bound on real malicious payload effectiveness.
  • Due to ethical considerations, we registered a benign repository on GitHub and published a benign skill on ClawHub rather than deploying malicious payloads.
  • We acknowledge that this approach did not exercise the malware detection mechanisms deployed by GitHub and ClawHub, which may identify and remove malicious content.

What’s new here 3

  • Identifies a universal, transferable attack that exploits LLM hallucinations to squatting high-popularity resources.
  • Demonstrates end-to-end remote code execution via agentic applications without any direct injection channel.
  • Shows that hallucination patterns transfer across foundation models and into production applications.

Threat model stated by the source

Adversaryuntargeted Promptware attacker performing adversarial HalluSquatting
Capabilitydetermine popular resources; register resources on public platforms; publish malicious content
AssumesAgentic applications retrieve external data from the Internet; Applications expose integrated terminals or shells; Users issue routine prompts that trigger resource retrieval