arrow
返回

Dialogue Injection Attack: Jailbreaking LLMs Through Context Manipulation

delete2026-01-26
delete0
PRE
AI
W
Wenlong Meng
F
Fan Zhang
W
Wendao Yao
Z
Zhenyuan Guo
Y
Yuwei Li
C
Chengkun Wei
W
Wenzhi Chen
DOI:10.1109/TIFS.2026.3657898delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Large language models (LLMs) have demonstrated significant utility in a wide range of applications; however, their deployment is plagued by security vulnerabilities, notably jailbreak attacks. These attacks manipulate LLMs to generate harmful or unethical content by crafting adversarial prompts. While much of the current research on jailbreak attacks has focused on single-turn interactions, it has largely overlooked the impact of historical dialogues on model behavior. Although recent studies have explored multi-turn jailbreak attacks, they generally assume that the attacker can only manipulate the user prompt. In contrast, we highlight that an attacker can also control the model’s previous outputs. To this end, we introduce $\textsf {DIA}$ , a new paradigm that leverages fabricated dialogue history to enhance jailbreak effectiveness. $\textsf {DIA}$ operates in a black-box setting, requiring only access to the chat API or knowledge of the LLM’s chat template. We propose two methods for constructing adversarial historical dialogues: one adapts gray-box prefilling attacks, and the other exploits deferred responses. Our experiments demonstrate that $\textsf {DIA}$ achieves state-of-the-art attack success rates on recent LLMs, including Llama-3.1 and GPT-4o. Additionally, we show that DIA can bypass 6 different defense mechanisms, highlighting its robustness. Code is available at https://github.com/meng-wenlong/DIA
Keyword:
Jailbreak attacks
dialogue injection
safety alignment

期刊

IEEE Transactions on Information Forensics and Security 封面图
IEEE Transactions on Information Forensics and Security
IF:
8
论文数:
5.3K
被引数:
2.3W

机构

N
national university of defense technology
学者数:
5.0K
论文数: 1.5K
被引数: 0
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
引用论文

引用论文

err分享
err收藏
Effective Long-Context Scaling of Foundation Models基础模型的有效长上下文扩展
err2024-01-01
err0
errOAAI
errWenhan Xiong; Jingyu Liu; Igor Molybog; Hejia Zhang; Prajjwal Bhargava; Rui Hou; Louis Martin; Rashi Rungta; Karthik Abinav Sankararaman; Barlas Oguz; Madian Khabsa; Han Fang; Yashar Mehdad; Sharan Narang; Kshitiz Malik; Angela Fan; Shruti Bhosale; Sergey Edunov; Mike Lewis; Sinong Wang; Hao Ma
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容