Home / Technology / AI Agents Invent Software, Download Malware
AI Agents Invent Software, Download Malware
18 Jul
Summary
- AI can invent fake software names and download malicious files.
- HalluSquatting attacks target AI assistants with internet access.
- Researchers found high AI hallucination rates in tests.

A new cybersecurity vulnerability, dubbed HalluSquatting, has been identified where AI agents can be manipulated into inventing fake software names and subsequently downloading malicious files. Researchers have demonstrated that attackers can exploit AI assistants capable of browsing the internet and executing commands on a user's computer.
This attack vector relies on AI 'hallucinations,' where the model fabricates information, in this case, nonexistent software repositories. Attackers can discover these hallucinated names and register them, creating traps. When an AI agent is prompted for a popular project, it may invent the attacker's registered name and retrieve compromised files.
The potential damage escalates because these AI agents can perform actions like downloading files and running commands via a terminal. If malicious instructions are embedded within the squatted resource, the AI could execute attacker-controlled code, leading to device compromise or recruitment into a botnet.
Tests revealed significant hallucination rates, with some skill-installation tests reaching 100%. These fake resource names were found to transfer across different AI models. While no widespread criminal campaign has been documented, the attack path has been proven viable.
To mitigate this risk, AI companies are urged to mandate live web searches and owner verification before downloading external resources. Users are advised to manually verify software sources, disable automatic command execution, review all terminal commands, limit AI agent permissions, and use robust antivirus software.