Imagine you have an AI assistant that automatically replies to your emails, schedules meetings, and searches for information on your behalf. Sounds convenient. But what happens if that AI gets infected by a new type of malware that spreads from one AI to another without you ever clicking anything?
That is exactly what cybersecurity researchers are warning the world about with AI Worms, a new class of cyber threat born in the age of Generative AI, and one that may become the most significant security risk organizations face in the years ahead.
What Is an AI Worm?
An AI Worm is a new type of malware designed specifically to spread through AI systems, including AI chatbots, AI email assistants, and various AI agents powered by Generative AI at their core.
The key difference from traditional computer viruses is that AI Worms do not need a user to click a link or open an attachment. They work by embedding malicious instructions hidden inside content that an AI reads and processes, such as emails, documents, or knowledge base entries. Once an AI picks up that content, it becomes “infected” and begins spreading the malware automatically.
| Characteristic | Traditional Computer Virus | AI Worm |
|---|---|---|
| Requires user click? | Usually yes | No (Zero-click) |
| Target | Operating system / files | AI systems / LLMs |
| Spread method | Via files / network | Via connected AI systems |
| How easy to detect? | Detectable with antivirus | Very difficult, hidden in normal text |
Case Study: Morris II, the World’s First AI Worm
In March 2024, researchers from Cornell Tech, the Israel Institute of Technology, and Intuit published a study that sent shockwaves through the cybersecurity community. They had successfully created the world’s first AI Worm, naming it Morris II as a nod to the Morris Worm that crashed the internet back in 1988.
The test used an AI email assistant connected to ChatGPT 4.0, Gemini Pro, and the open-source model LLaVA. The results were alarming. Morris II was able to steal personal data including social security numbers and credit card information, automatically propagate from one AI system to another via email, and bypass some of the safety guardrails built into ChatGPT and Gemini. All of this happened without the victim clicking anything at all.
Important note: Morris II was a Proof of Concept tested in a controlled environment. There has been no real-world outbreak. However, it conclusively proved that this type of attack is technically feasible, and something organizations need to prepare for.
How an AI Worm Works

An AI Worm operates through three interconnected stages. Understanding each one makes it clear why this threat is more serious than it first appears.
Adversarial Self-Replicating Prompts
The core of an AI Worm is what researchers call an Adversarial Self-Replicating Prompt, a malicious instruction engineered to do three things simultaneously. First, it forces the AI to reproduce the same instruction in its output. Second, it commands the AI to perform harmful actions such as stealing or transmitting data. Third, it propagates that instruction to other AI systems within the connected environment.
Prompt Injection
The primary technique used is Indirect Prompt Injection, which means hiding malicious commands inside content the AI retrieves from external sources, rather than typing instructions directly into a chat interface. An attacker might embed commands inside an email, a document, a website that an AI Agent fetches data from, or even inside an image file. When the AI reads that content, it interprets and acts on the hidden instructions without realizing it has been deceived.
OWASP, the globally recognized authority on software security, has ranked Prompt Injection as the number-one risk for all LLM-based and GenAI systems.
RAG Exploitation
Many modern AI systems rely on a technology called RAG, or Retrieval-Augmented Generation, which allows AI to pull information from a knowledge base or the internet to deliver more accurate responses. AI Worms exploit this capability by contaminating the RAG database first. When the AI retrieves that compromised data, it embeds the malicious prompt into its responses, passing it along to users or other connected AI systems. The cycle then continues to repeat.
Which Organizational Systems Are at High Risk
If your organization uses any of the following AI tools, you are in a risk category that warrants close attention.
- AI Email Assistants that automatically reply to messages. If compromised, they could send phishing emails to everyone in the contact list without anyone noticing.
- AI Chatbots and Customer Service Systems connected to customer databases, which could cause the personal data of your customers to leak.
- AI Agents and Workflow Automation Systems that allow AI to perform tasks autonomously on behalf of humans, such as scheduling meetings, managing files, or updating databases.
- RAG-based Knowledge Management Systems where AI retrieves information from internal organizational documents. If the knowledge base is contaminated, confidential data could be exposed.
- Multi-agent Systems in which multiple AI models work together. The more interconnected they are, the faster an infection can spread.
The types of data most commonly targeted include employee records, customer information, trade secrets, financial data, and credentials of all kinds.
Real-World Incidents That Have Already Occurred
At Black Hat 2025, researchers demonstrated a zero-click attack via Google Calendar, embedding a Prompt Injection inside an ordinary calendar invite. When Gemini read that invitation, it immediately began carrying out malicious instructions, without the calendar owner ever knowing.
In another case, Amazon Q, an enterprise-grade AI coding assistant, was reported to be vulnerable to Prompt Injections hidden inside extension updates. The injected commands could instruct the AI to delete files, shut down AWS servers, and wipe cloud data. Both incidents involved products from major global technology companies, which demonstrates that using well-known software does not automatically guarantee security.
How to Protect Your Organization Against AI Worms

Both CIS and OWASP recommend the same fundamental approach: Defense in Depth, or layering multiple protective measures on top of one another. No single solution can stop an AI Worm entirely. The key measures include:
- Restrict AI Agent Permissions AI should never have access to data or the ability to perform actions beyond what is strictly required for its assigned task. This principle is known as the Principle of Least Privilege.
- Require Human Approval for Critical Actions For any action that cannot be undone, a human must confirm before it proceeds. Never allow AI to operate with full autonomy for high-stakes tasks.
- Validate and Filter All Inputs Any external data that enters an AI system should be screened first, particularly content originating from users or untrusted sources.
- Control RAG Data Sources Restrict the data AI can retrieve to trusted sources only, and establish a review process before any new content is added to the knowledge base.
- Monitor and Log AI Activity Consistently record and review the input and output of all AI systems so that anomalous behavior can be caught in time.
- Conduct Red Team Testing Simulate Prompt Injection attacks to uncover vulnerabilities before malicious actors do.
- Train Your Team on the Risks Both IT teams and general users should understand what AI Worms and Prompt Injection are, and know what warning signs to watch for.
How Ready Is Your Organization?
Before reaching for any protective measures, it is worth asking yourself a few honest questions.
- What AI Tools or AI Agents are currently in use at your organization, and what data does each one have permission to access?
- If your AI Assistant were compromised today, how would you find out, and how quickly?
- Do you have security policies and procedures specifically designed for AI Tools?
If you cannot answer these questions clearly, there are likely security gaps that need to be addressed before a real incident occurs.
Summary
AI Worms are not an imaginary threat or something that belongs in the distant future. They have been proven to work. And while organizations around the world race to integrate AI into their operations, bad actors are simultaneously developing ways to weaponize that same AI against them.
Protection is not simply a matter of software or antivirus tools. It requires a comprehensive strategy that spans system design, permission configuration, continuous monitoring, and above all, a team that understands both IT Security and AI at the same time.
Need advice on IT Security?
The Prodigy provides IT Outsource and Cybersecurity Consulting services that help organizations assess their security readiness in the AI era and design protective measures tailored to your business.
Contact Us:
Email: contact@theprodigy.biz
Tel.: 02-821-5869
Line Add: @theprodigy
Facebook Page: The Prodigy

ไทย
