Reproduce “Pandora: Jailbreak GPTs by Retrieval Augmented Generation Poisoning” 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
Gelei Deng, Yi Liu, Kailong Wang, Yuekang Li, Tianwei Zhang, Yang Liu
Researchers from Nanyang Technological University introduce PANDORA, an indirect attack method that poisons external knowledge bases used by Retrieval Augmented Generation (RAG) in custom GPTs to bypass safety mechanisms. This RAG poisoning strategy achieved a 64.3% jailbreak success rate on GPT-3.5 and 34.8% on GPT-4, significantly outperforming direct prompt-based attacks.
Key insights
- Retrieval Augmented Generation (RAG) systems, while enhancing LLM capabilities, concurrently introduce a critical new indirect attack surface for jailbreaking.
- Current LLM safety mechanisms, though improved against direct prompt attacks, exhibit significant vulnerabilities when processing external, poisoned knowledge retrieved through RAG.
- More advanced and aligned LLMs like GPT-4, while generally more robust, remain susceptible to RAG poisoning, indicating that safety training for direct interactions does not fully transfer to integrated functionalities.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.