Reproduce “Here Comes The AI Worm: Unleashing Zero-click Worms that Target GenAI-Powered Applications” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Stav Cohen, Ron Bitton, Ben Nassi

Researchers demonstrated "Morris-II," a zero-click, self-propagating worm that exploits interconnected Retrieval-Augmented Generation (RAG)-based Generative AI applications by spreading adversarial prompts through shared context. They also introduced "Virtual Donkey," a guardrail that detects these worms by identifying textual overlap between GenAI inputs and outputs, achieving a 1.0 True Positive Rate with a 0.015 False Positive Rate against in-distribution attacks.

Key insights

  • The propagation of AI worms is highly dependent on the initial prompt's contextual relevance, the embedding algorithm's quality, and the GenAI engine's adherence to prompt instructions.
  • GenAI models like Claude 3.5 Sonnet exhibited higher susceptibility to consistent self-replication, maintaining nearly 100% success over 20 hops, while others showed greater resistance.
  • Self-replicating prompts leave a distinct, detectable signature (textual overlap between input and output) that can be leveraged by a lightweight, post-inference guardrail without additional GenAI inference.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.