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

恶意知识:通过无害提示编织和自适应树搜索绕过商业大语言模型的安全防护

The Trojan Knowledge: Bypassing Commercial LLM Guardrails via Harmless Prompt Weaving and Adaptive Tree Search

Georgia Institute of Technology(佐治亚理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Tsinghua University(清华大学);University of California San Diego(加利福尼亚大学圣迭戈分校);National Taiwan University(台湾大学);IBM Research(IBM研究院)

Rongzhe Wei, Peizhi Niu, Xinjie Shen, Tony Tu, Yifan Li, Ruihan Wu, Eli Chien, Pin-Yu Chen, Olgica Milenkovic, Pan Li

AI总结:

通过无害提示编织和自适应树搜索,研究提出CKA-Agent攻击方法,成功绕过商业大语言模型的安全防护,揭示了知识分解攻击的严重性。

摘要:

大型语言模型(LLMs)仍然容易受到劫持攻击,这些攻击通过绕过安全防护措施来获取有害输出。现有方法大多基于提示优化范式:无论是通过传统算法搜索还是近期基于代理的工作流,生成的提示通常保留恶意语义信号,这些信号是现代防护机制所针对的。相反,我们发现了一个更深层次、长期被忽视的漏洞,源于LLM内部知识的高度互联性质。这种结构允许通过编织一系列无害的子查询序列来实现有害目标,每个子查询单独都能规避检测。为了利用这个漏洞,我们引入了相关知识攻击代理(CKA-Agent),一个动态框架,将劫持重新定义为对目标模型知识库的自适应、树状探索。CKA-Agent发出局部无害的查询,利用模型响应引导在多个路径上的探索,并最终将聚合信息组装起来以实现原始有害目标。在最先进的商业LLM(Gemini2.5-Flash/Pro、GPT-oss-120B、Claude-Haiku-4.5)上进行评估,CKA-Agent即使在面对强大防护措施时也能够实现超过95%的成功率,凸显了这一漏洞的严重性,并强调了对这类知识分解攻击的防御需求。我们的代码可在https://github.com/Graph-COM/CKA-Agent上获得。

英文摘要:

Large language models (LLMs) remain vulnerable to jailbreak attacks that bypass safety guardrails to elicit harmful outputs. Existing approaches overwhelmingly operate within the prompt-optimization paradigm: whether through traditional algorithmic search or recent agent-based workflows, the resulting prompts typically retain malicious semantic signals that modern guardrails are primed to detect. In contrast, we identify a deeper, largely overlooked vulnerability stemming from the highly interconnected nature of an LLM's internal knowledge. This structure allows harmful objectives to be realized by weaving together sequences of benign sub-queries, each of which individually evades detection. To exploit this loophole, we introduce the Correlated Knowledge Attack Agent (CKA-Agent), a dynamic framework that reframes jailbreaking as an adaptive, tree-structured exploration of the target model's knowledge base. The CKA-Agent issues locally innocuous queries, uses model responses to guide exploration across multiple paths, and ultimately assembles the aggregated information to achieve the original harmful objective. Evaluated across state-of-the-art commercial LLMs (Gemini2.5-Flash/Pro, GPT-oss-120B, Claude-Haiku-4.5), CKA-Agent consistently achieves over 95% success rates even against strong guardrails, underscoring the severity of this vulnerability and the urgent need for defenses against such knowledge-decomposition attacks. Our codes are available at https://github.com/Graph-COM/CKA-Agent.

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

↑