Safety, security, and compliance are essential requirements when aligning large language models (LLMs). However, many seemingly aligned LLMs are soon shown to be susceptible to jailbreak attacks. These attacks aim to circumvent the models' safety guardrails and security mechanisms by introducing jailbreak prompts into malicious queries. In response to these challenges, this paper introduces Defensive Prompt Patch (DPP), a novel prompt-based defense mechanism specifically designed to protect LLMs against such sophisticated jailbreak strategies. Unlike previous approaches, which have often compromised the utility of the model for the sake of safety, DPP is designed to achieve a minimal Attack Success Rate (ASR) while preserving the high utility of LLMs. Our method uses strategically designed interpretable suffix prompts that effectively thwart a wide range of standard and adaptive jailbreak techniques. Empirical results conducted on LLAMA-2-7B-Chat and Mistral-7B-Instruct-v0.2 models demonstrate the robustness and adaptability of DPP, showing significant reductions in ASR with negligible impact on utility. Our approach not only outperforms existing defense strategies in balancing safety and functionality, but also provides a scalable and interpretable solution applicable to various LLM platforms.
Fine-Tuning Jailbreaks under Highly Constrained Black-Box Settings: A Three-Pronged Approach
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);State Key Laboratory of Cyberspace Security Defense(网络空间安全防御全国重点实验室)
JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models
State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD与计算机图形学国家重点实验室);Laboratory of Art and Archaeology Image (Zhejiang University), Ministry of Education(浙江大学艺术与考古图像实验室(教育部));Hangzhou City University(杭州市大学);Zhejiang University(浙江大学)
Data to Defense: The Role of Curation in Customizing LLMs Against Jailbreaking Attacks
Stony Brook University(石溪大学);Binghamton University(宾汉姆顿大学);University of Iowa(爱荷华大学);Dartmouth College(达特茅斯学院);Georgia Institute of Technology(佐治亚理工学院)
JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Models
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Brown University(布朗大学);University of Michigan Ann Arbor(密歇根大学安娜堡分校);Hong Kong University of Science and Technology(香港科学与技术大学);Carnegie Mellon University(卡内基梅隆大学);Boise State University(博伊西州立大学)
Heuristic-Induced Multimodal Risk Distribution Jailbreak Attack for Multimodal Large Language Models
Sun Yat-Sen University(中山大学);Zhejiang University(浙江大学);BraneMatrix AI;Nanyang Technological University(南洋理工大学);Alibaba Group(阿里巴巴集团);Renmin University of China(中国人民大学)
Scalable Defense against In-the-wild Jailbreaking Attacks with Safety Context Retrieval
School of EECS, Peking University(电子工程系,北京大学);School of Mathematical Sciences, Peking University(数学系,北京大学);State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(通用人工智能国家重点实验室,智能科学与技术学校,北京大学);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学)
Universally Unfiltered and Unseen:Input-Agnostic Multimodal Jailbreaks against Text-to-Image Model Safeguards
Information Engineering University Zhengzhou China;School of Computer Science, \ University Wuhan China;Xi’an Jiaotong University Xi’an China;Wuhan University Wuhan China;Information Engineering University;School of Computer Science, \ University;Xi’an Jiaotong University;Wuhan University
Activation-Guided Local Editing for Jailbreaking Attacks
Beihang University(北航);Hangzhou Innovation Institute(杭州创新研究院);HKUST(香港科技大学);South China University of Technology(华南理工大学);Nanyang Technological University(南洋理工大学);Kunming University of Science and Technology(昆明理工大学)
Cybersecurity AI: Evaluating Agentic Cybersecurity in Attack/Defense CTFs
Alias Robotics;Università degli Studi di Napoli Federico II(那不勒斯费德里科二世大学);Johannes Kepler University Linz(林茨约翰内斯开普勒大学);Alpen-Adria-Universität Klagenfurt(阿尔卑斯-亚得里亚-克拉根福大学)
该研究利用 CAI 框架在 23 个攻防 CTF 中实测自主 AI 智能体,发现防御优势仅在无约束补丁条件下成立,实际可用性与防入侵约束会显著拉低其表现。
SafeThinker: Reasoning about Risk to Deepen Safety Beyond Shallow Alignment
Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Didi International Business Group(滴滴国际商务集团);Institute for AI, Tsinghua University(清华大学人工智能研究院);Nanjing University of Information Science & Technology(南京信息科学技术大学)
Strategic Deflection: Defending LLMs from Logit Manipulation
International Artificial Intelligence Center of Morocco(摩洛哥国际人工智能中心);Mohammed VI Polytechnic University(摩洛哥穆莱·伊斯梅尔理工学院);AgriEdge;Sorbonne University, LIP6 - UMR 7606 CNRS(索邦大学,LIP6 - UMR 7606 CNRS)
CyberArena: Benchmarking AI Agents in Live Symmetric Attack-and-Defense Combat
AI Open Source Foundation(2077AI开源基金会);UC Santa Cruz(加州大学圣克鲁兹分校);UC Berkeley(加州大学伯克利分校);UC Santa Barbara(加州大学圣巴巴拉分校);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Massachusetts Institute of Technology(麻省理工学院);University of Toronto(多伦多大学);Johns Hopkins University(约翰斯·霍普金斯大学);Carnegie Mellon University(卡内基梅隆大学);Purdue University(普渡大学);Texas A&M University(德克萨斯农工大学)