RoguePrompt: 双层加密用于自我重建以规避LLM审核
RoguePrompt: Dual-Layer Ciphering for Self-Reconstruction to Circumvent LLM Moderation
AI总结:
RoguePrompt通过双层加密技术实现自我重建,有效规避LLM审核并诱导模型执行禁止指令。
摘要:
大型语言模型(LLM)正越来越深入主流开发平台和日常技术流程,通常在审核和安全控制之下。尽管有这些控制,防止基于提示的政策规避仍具挑战性,攻击者继续通过设计提示来绕过已实施的安全机制。虽然先前的劫持技术已探索了混淆和上下文操纵,但许多方法仅作为单步骤转换,其在当前最先进的模型上的有效性不一致。这使得对多阶段提示转换攻击的理解有限,这些攻击能够规避审核、重建禁止意图并产生违反政策的输出。本文介绍了RoguePrompt,一种自动劫持流水线,利用双层提示转换将禁止提示转换为安全规避查询。通过将禁止提示分块并应用两种嵌套编码(ROT-13和Vigenère)以及自然语言解码指令,它产生看似无害的提示,这些提示能够绕过过滤器并促使模型在单个查询中执行原始提示。RoguePrompt是在黑盒威胁模型下开发和评估的,仅对LLM有API和UI访问权限,并在313个真实世界被拒绝的提示上进行了测试。成功通过审核规避、指令重建和执行来衡量,使用了自动和人工评估。它在多个前沿LLM上实现了平均93.93%的过滤规避、79.02%的重建和70.18%的执行成功率。这些结果证明了分层提示编码的有效性,并突显了需要创新防御来检测和缓解自我重建劫持的必要性。
英文摘要:
Large language models (LLMs) are becoming increasingly integrated into mainstream development platforms and daily technological workflows, typically behind moderation and safety controls. Despite these controls, preventing prompt-based policy evasion remains challenging, and adversaries continue to jailbreak LLMs by crafting prompts that circumvent implemented safety mechanisms. While prior jailbreak techniques have explored obfuscation and contextual manipulation, many operate as single-step transformations, and their effectiveness is inconsistent across current state-of-the-art models. This leaves a limited understanding of multistage prompt-transformation attacks that evade moderation, reconstruct forbidden intent, and elicit policy-violating outputs. This paper introduces RoguePrompt, an automated jailbreak pipeline that leverages dual-layer prompt transformations to convert forbidden prompts into safety-evading queries. By partitioning the forbidden prompts and applying two nested encodings (ROT-13 and Vigenère) along with natural-language decoding instructions, it produces benign-looking prompts that evade filters and induce the model to execute the original prompt within a single query. RoguePrompt was developed and evaluated under a black-box threat model, with only API and UI access to the LLMs, and tested on 313 real-world hard-rejected prompts. Success was measured in terms of moderation bypass, instruction reconstruction, and execution, using both automated and human evaluation. It achieved an average of 93.93% filter bypass, 79.02% reconstruction, and 70.18% execution success across multiple frontier LLMs. These results demonstrate the effectiveness of layered prompt encoding and highlight the need for innovative defenses to detect and mitigate self-reconstructing jailbreaks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。