攻破我:通过词性插入提示实现对对齐大语言模型的自我越狱
Break Me If You Can: Self-Jailbreaking of Aligned LLMs via Lexical Insertion Prompting
AI总结:
本文提出自我越狱方法,通过词性插入提示对齐大语言模型进行攻击,实验表明SLIP在多个模型上实现高攻击成功率,提出SDM防御机制但发现其对自适应攻击策略仍不足。
摘要:
我们引入了自我越狱,一种威胁模型,其中对齐的大语言模型引导其自身的妥协。不同于大多数越狱技术,通常依赖手工编写的提示或单独的攻击者模型,自我越狱不需要外部的红队LLM:目标模型自身的内部知识足够。我们通过自我越狱通过词性插入提示(SLIP)来实现,这是一种黑盒算法,将越狱视为多轮对话的广度优先树搜索,通过在良性提示中逐步插入缺失的内容词来实现攻击目标,使用目标模型作为自身指南。在AdvBench和HarmBench上的评估显示,SLIP在大多数测试的11个模型上实现了90-100%的攻击成功率(平均94.7%),平均仅需约7.9次LLM调用,比先前方法少3-6倍。我们评估了现有防御措施,显示基于正则表达式的方法被提示改写所逃避,并提出语义漂移监控(SDM)防御机制,跟踪SLIP的嵌入空间轨迹,在5%的FPR下实现76%的检测率。然而,SDM仍不足以对抗自适应攻击策略,凸显了需要更先进的防御机制来应对自我越狱威胁表面的必要性。我们发布了我们的代码以确保可重复性。
英文摘要:
We introduce \emph{self-jailbreaking}, a threat model in which an aligned LLM guides its own compromise. Unlike most jailbreak techniques, which often rely on handcrafted prompts or separate attacker models, self-jailbreaking requires no external red-team LLM: the target model's own internal knowledge suffices. We operationalize this via \textbf{Self-Jailbreaking via Lexical Insertion Prompting (\textsc{SLIP})}, a black-box algorithm that casts jailbreaking as breadth-first tree search over multi-turn dialogues, incrementally inserting missing content words from the attack goal into benign prompts using the target model as its own guide. Evaluations on AdvBench and HarmBench show \textsc{SLIP} achieves 90--100\% Attack Success Rate (ASR) (avg.\ 94.7\%) across most of the eleven tested models (including GPT-5.1, Claude-Sonnet-4.5, Gemini-2.5-Pro, and DeepSeek-V3), with only ${\sim}7.9$ LLM calls on average, 3--6$\times$ fewer than prior methods. We evaluate existing defenses, show that regex-based approaches are evaded by prompt paraphrasing, and propose the Semantic Drift Monitor (SDM) defense that tracks \textsc{SLIP}'s embedding-space trajectory, achieving 76\% detection at 5\% FPR. However, SDM remains insufficient against adaptive attack strategies, underscoring the need for more advanced defense mechanisms tailored to the self-jailbreaking threat surface. We release our code for reproducibility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。