With the increasing adoption of large language models (LLMs), ensuring the safety of LLM systems has become a pressing concern. External LLM-based guardrail models have emerged as a popular solution to screen unsafe inputs and outputs, but they are themselves fine-tuned or prompt-engineered LLMs vulnerable to data distribution shifts. In this paper, taking Retrieval Augmentation Generation (RAG) as a case study, we investigate how robust LLM-based guardrails are against additional information embedded in the context. Through a systematic evaluation of 3 Llama Guards and 2 GPT-oss models, we find that inserting benign retrieved documents flips the judgments of input and output guardrails in around 11% and 8% of cases respectively, with the majority of these flips (72% and 64%) reversing previously correct decisions. We further analyze the effect of each component in the augmented context: retrieved documents, user query, and LLM response. Two tested mitigations reveal that the robustness gap is not easily closed. These results expose a context-robustness gap in current guardrails.
PolicyShiftGuard: Benchmarking and Improving Policy-Adaptive Image Guardrails
Fudan University(复旦大学);Tongji University(同济大学);Virtue AI(美德人工智能公司);The Chinese University of Hong Kong(香港中文大学);University of Chicago(芝加哥大学);University of Illinois, Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Logic Hijacking of RAG: Single-Document Poisoning via Local Optimization
Faculty of Data Science, City University of Macau(澳门城市大学数据科学学院);School of Systems and Computing, UNSW Sydney(新南威尔士大学悉尼分校系统与计算学院);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));RMIT University(皇家墨尔本理工大学)
Privacy Policy Enforcement Guardrails for Data-Sensitive Retrieval-Augmented Generation
University of California, Berkeley(加州大学伯克利分校);University of Washington(华盛顿大学);University of Toronto(多伦多大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of California, Los Angeles(加州大学洛杉矶分校)
Strong but Brittle: Simple Attacks Subvert Reasoning-based Safety Guardrails
LMU Munich(慕尼黑大学);Siemens(西门子);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University of Berlin(柏林技术大学);Konrad Zuse School of Excellence in Reliable AI (relAI)(Konrad Zuse可靠性人工智能卓越学院);DFKI;AWS AI(AWS人工智能);University of Oxford(牛津大学)
When Knowledge Is Not Free: Cost-Aware Evidence Selection in Retrieval-Augmented Generation
Northeastern University(东北大学);Technical University of Munich(慕尼黑技术大学);GESIS – Leibniz Institute for the Social Sciences(GESIS——莱比锡社会科学研究所);Technion–Israel Institute of Technology(技术学院——以色列理工学院);NVIDIA Research(NVIDIA研究);University of Groningen(格罗宁根大学)
Beyond Black-Box Interventions: Latent Probing for Faithful Retrieval-Augmented Generation
School of Informatics, Xiamen University(厦门大学信息学院);The Hong Kong Polytechnic University(香港理工大学);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团);Key Laboratory of Digital Protection and Intelligent Processing of Intangible Cultural Heritage of Fujian and Taiwan (Xiamen University), Ministry of Culture and Tourism, China(福建省和台湾非物质文化遗产数字化保护与智能处理重点实验室(厦门大学),中华人民共和国文化和旅游部,中国)
Data Security in Large Language Models: Risks, Defense, and Directions
School of Computer Engineering, Jimei University, Xiamen, 361021, China(厦门大学计算机工程学院);College of Science, Mathematics and Technology, Wenzhou-Kean University, Wenzhou, 325060, China(温州-凯恩大学科学、数学与技术学院);The Hong Kong University of Science and Technology (Guangzhou), Guangzhou, 511453, China(香港科学与技术大学(广州));School of Professional Studies, New York University, New York, 10003, United States(纽约大学专业研究学院);School of Informatics, Xiamen University, Xiamen, 361102, China(厦门大学信息学院)