arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01529cs.LGcs.CR
收藏

绕过生产环境中的提示守卫:受控释放提示攻击

Bypassing Prompt Guards in Production with Controlled-Release Prompting

UC Berkeley(加州大学伯克利分校);zkBricks Inc(zkBricks公司);Ethereum Foundation(以太坊基金会);NYU Shanghai(纽约大学上海分校)

Jaiden Fairoze, Sanjam Garg, Keewoo Lee, Mingyuan Wang

AI总结:

针对AI对齐的提示过滤存在理论上的不可能性,本文提出受控释放提示攻击,利用轻量级输入过滤器与主模型之间的资源不对称性,在实际部署的大语言模型系统中成功绕过提示守卫。

摘要:

Ball等人最近指出,用于AI对齐的提示过滤面临一个根本性障碍:在标准密码学假设下,任何运行速度远快于被保护模型的过滤器都无法普遍区分对抗性提示和良性提示。我们研究这一不可能性结果是否转化为已部署的大语言模型(LLM)系统中的现实漏洞。我们通过引入受控释放提示攻击给出了肯定答案,这是理论框架的一种实际实例化,利用了轻量级输入过滤器与其保护的主模型之间的资源不对称性。与理论构造不同,我们的攻击不需要修改模型:它生成任何有界过滤器无法解读但对目标LLM仍然可处理的恶意提示。我们发现,在基线方法失败的四个主要聊天平台(Google Gemini、DeepSeek Chat、xAI Grok和Mistral Le Chat)上,我们的攻击均成功。此外,我们将攻击应用于从Gemini提取受版权保护的数据。最后,我们对14个开源提示守卫模型进行了系统评估,揭示即使具有推理能力的过滤器也无法在不产生过高资源开销的情况下可靠地检测我们的攻击。

英文摘要:

Ball et al. recently established that prompt filtering for AI alignment faces a fundamental barrier: under standard cryptographic assumptions, no filter running significantly faster than the protected model can universally distinguish adversarial prompts from benign ones. We investigate whether this impossibility result translates to real-world vulnerabilities in deployed large language model (LLM) systems. We answer affirmatively by introducing controlled-release prompting, a practical instantiation of the theoretical framework that exploits the resource asymmetry between lightweight input filters and the main models they protect. Unlike the theoretical construction, our attack does not require model modification: it generates malicious prompts that are indecipherable by any bounded filter yet remain tractable to the target LLM. We find our attack to be successful on four major chat platforms (Google Gemini, DeepSeek Chat, xAI Grok, and Mistral Le Chat) where baseline methods fail. Additionally, we apply our attack to extract copyrighted data from Gemini. Finally, we provide a systematic evaluation of 14 open-weight prompt guard models, revealing that even reasoning-capable filters cannot reliably detect our attack without incurring prohibitive resource overhead.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑