Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by retrieving relevant information from external knowledge bases to provide more accurate, contextually informed, and up-to-date responses. However, this reliance on external knowledge introduces significant security vulnerabilities, as many RAG systems (e.g., Google Search) rely on large and unsanitized data repositories (e.g., Reddit). In this paper, we unveil a novel threat in which attackers steer the RAG system's response by injecting malicious passages into its knowledge base. When a user's query contains attacker-specified trigger words, the RAG retrieves and refers to these malicious passages, enabling the attacker to steer the response without altering the user input or modifying the RAG weights. BadRAG operates in two phases: (i) malicious passages are optimized to be retrieved exclusively when trigger words appear in user queries; (ii) these passages are meticulously crafted to achieve adversarial generation objectives, including denial of service, sentiment manipulation, context leakage, and tool misuse. Our experiments show that injecting just 10 malicious passages (0.04\% of the external corpora) achieves a 98.2\% retrieval success rate and increases negative response rates from 0.22\% to 72\% for queries containing triggers.
"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
Arizona State University(亚利桑那州立大学);Michigan State University(密歇根州立大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Virginia(弗吉尼亚大学)
SecureRAG-RTL: A Retrieval-Augmented, Multi-Agent, Zero-Shot LLM-Driven Framework for Hardware Vulnerability Detection
School of Computing, Wichita State University(计算机科学学院,威斯康星州立大学);Department of Electrical and Computer Engineering, Auburn University(电气与计算机工程系,阿伯茨兰大学);IBM
Can Transformer Memory Be Corrupted? Investigating Cache-Side Vulnerabilities in Large Language Models
College of Engineering and Computer Science, University of Central Florida(中央佛罗里达大学工程与计算机科学学院);Department of Computer Science and Engineering, Mississippi State University(密苏里州立大学计算机科学与工程系);Department of Electrical and Computer Engineering, North Carolina State University(北卡罗来纳州立大学电子与计算机工程系)
SoK: Agentic Retrieval-Augmented Generation (RAG): Taxonomy, Architectures, Evaluation, and Research Directions
University of North Dakota(北达科他大学);Youngstown State University(青年州大学);University of Toledo(托莱多大学);University of Missouri(密苏里大学);Tribhuvan University(特里布文大学)
Adapting Large Language Models to Emerging Cybersecurity using Retrieval Augmented Generation
School of Electrical and Computer Engineering(电气与计算机工程学院);Georgia Institute of Technology(佐治亚理工学院);Department of Computer Science(计算机科学系);Rochester Institute of Technology(罗切斯特理工学院)
RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
School of Computer Science and Technology,Xi'an Jiaotong University(西安交通大学计算机科学与技术学院);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);National University of Singapore(新加坡国立大学)
Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts
Seoul National University(首尔大学);Ewha Womans University(梨花女子大学);NAVER Cloud(NAVER云);KAIST AI(韩国科学技术院AI学院);NAVER AI LAB(NAVER AI实验室);Hanyang University(汉阳大学)
One Shot Dominance: Knowledge Poisoning Attack on Retrieval-Augmented Generation Systems
State Key Laboratory of Intelligent Game(智能游戏国家重点实验室);Science and Technology on Integrated Information System Laboratory, Institute of Software Chinese Academy of Sciences(中国科学院软件研究所综合信息系统技术国家级重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Nanyang Technological University(南洋理工大学)
LProtector: An LLM-driven Vulnerability Detection System
University of Pennsylvania(宾夕法尼亚大学);University of Electronic Science & Technology of China(电子科技大学);Texas A&M University(德克萨斯农工大学);Georgetown University(乔治城大学);Northern Arizona University(北亚利桑那大学);LG Energy Solution (Nanjing) Co., Ltd(LG新能源(南京)有限公司)
Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and Vulnerabilities
Guelma University(盖勒马大学);Technology Innovation Institute(技术创新研究院);Concordia University(康考迪亚大学);University of Oslo(奥斯陆大学);Khalifa University of Science and Technology(哈利法科技大学)
Privacy Challenges and Solutions in Retrieval-Augmented Generation-Enhanced LLMs for Healthcare Chatbots: A Review of Applications, Risks, and Future Directions
Centre for Smart Health, School of Nursing(智能健康中心、护理学院);The Hong Kong Polytechnic University(香港理工大学);Department of Electrical and Electronic Engineering(电子与电气工程系);Faculty of Health Sciences(健康科学学院);University of Maribor(马里博大学)
ParaVul: A Parallel Large Language Model and Retrieval-Augmented Framework for Smart Contract Vulnerability Detection
School of Automation, Guangdong University of Technology(广东科技大學自動化學院);College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大學計算機科學與技術學院);School of Cyberspace Science and Technology, Beijing Jiaotong University(北京交通大學網絡空間科學與技術學院);School of Computer Science and Technology, Guangdong University of Technology(廣東科技大學計算機科學與技術學院);College of Computing and Data Science, Nanyang Technological University(南洋理工大學計算與數據科學學院)