Lune

CCS2025顶会

Here Comes the AI Worm: Preventing the Propagation of Adversarial Self-Replicating Prompts Within GenAI Ecosystems

Stav Cohen, Ron Bitton, Ben Nassi

摘要

In this paper, we show that when the communication between GenAI-powered applications relies on RAG-based inference, an attacker can initiate a computer worm-like chain reaction that we call RAGworm. This is done by crafting an adversarial self-replicating prompt that triggers a cascade of indirect prompt injections within the ecosystem and forces each affected application to perform malicious actions and compromise the RAG of additional applications. We evaluate the performance of the worm in creating a chain of malicious activities intended to promote content, distribute propaganda, and extract confidential user data within a GenAI ecosystem of GenAI-powered email assistants. We demonstrate that RAGworm can trigger the aforementioned malicious activities with a super-linear propagation rate, where each client compromises 20 new clients within the first 1-3 days (depending on the number of emails sent per day). In addition, we analyze how the performance of RAGworm is affected by various factors. Finally, we introduce the DonkeyRail, a guardrail intended to detect and prevent the propagation of RAGworm with minimal latency, high accuracy, and a low false-positive rate. We evaluate the guardrail's performance and show that it yields a true-positive rate of 1.0 with a false-positive rate of 0.017 while adding a negligible latency of 7.6-38.3 ms (depending on the number of documents retrieved). We also show that the guardrail is robust against out-of-distribution worms, consisting of unseen jailbreaking prompts and various worm use cases.

问 Lune

尽管问,回答都注明出处。

Lune 会读相关的 Paper,每个回答都附上所依据的原文段落。

可以从这些问题问起

Lune 的依据

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. Jailbreak-Tuning: Models Efficiently Learn Jailbreak SusceptibilityBrendan Murphy, Dillon Bowen, Shahrad Mohammadzadeh, Tom Tseng 等EMNLP 2025 · 1 次引用
  2. Red-teaming Retrieval-Augmented Diffusion Models via Poisoning Knowledge BasesXinqi Lyu, Yihao Liu, Dong Wang, Bin XiaoCVPR 2026
  3. A Causal Perspective for Enhancing Jailbreak Attack and DefenseLicheng Pan, Yunsheng Lu, Jiexi Liu, Jialing Tao 等NDSS 2026
  4. DynaGuard: A Dynamic Guardian Model With User-Defined PoliciesMonte Hoover, Vatsal Baherwani, Neel Jain, Khalid Saifullah 等ICLR 2026 · 18 次引用
  5. EcoSafeRAG: Efficient Security through Context Analysis in Retrieval-Augmented GenerationRuobing Yao, Yifei Zhang, Shuang Song, Neng Gao 等EMNLP Findings 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖