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

TRACE: 任务感知的自适应自我进化代理越狱

TRACE: Task-Aware Adaptive Self-Evolving Agentic Jailbreaking

The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);State Key Laboratory of Internet Architecture, Tsinghua University(清华大学互联网架构国家重点实验室);Huazhong University of Science and Technology(华中科技大学);Shanghai AI Laboratory(上海人工智能实验室);East China Normal University(华东师范大学)

Churui Zeng, Kedong Xiu, Weiwei Qi, Yuqi Hao, Chaochao Lu, Liang He, Zhan Qin, Tianhang Zheng

AI总结:

提出TRACE框架,通过任务分解、场景伪装和Q学习进化,实现LLM代理的高效越狱,在AgentHarm和AdvCUA上达到最高100%绕过率。

摘要:

LLM代理的兴起通过启用规划、编码甚至端到端执行专家级攻击工作流,引入了一种新的威胁。然而,这种威胁仍未得到充分探索和低估,因为(i)安全对齐阻止LLM直接生成有害指令,(ii)大多数现有的越狱方法无法持续诱导代理执行恶意操作。在本文中,我们提出了TRACE,一个实用的代理越狱框架,以进一步揭示该威胁面的风险。为了隐藏恶意意图,TRACE将恶意任务分解为不同方案下的多个子任务序列,并选择显式有害子任务最少的序列。然后,TRACE通过将剩余的有害子任务嵌入到具有相关角色、环境、指令和启发式的任务感知场景中,将其伪装成看似良性的指令。场景通过明确定义的转换动作进行迭代进化,这些动作由Q学习启发的机制采样,以诱导代理执行有害子任务。在AgentHarm和AdvCUA上的广泛评估表明,TRACE在多个高级LLM代理上持续优于现有的越狱基线,实现了高达100%的绕过率和0.73的平均成功分数。我们还展示了TRACE在受控网络攻击实例中的有效性。我们的代码和演示可在https://github.com/ZJU-LLM-Safety/TRACE.git获取。

英文摘要:

The rise of LLM agents introduces a new threat by enabling planning, coding, and even end-to-end execution of expert-level attack workflows. However, this threat remains underexplored and underestimated since (i) Safety alignment prevents LLMs from directly generating harmful instructions. (ii) Most of existing jailbreak methods mainly focus on eliciting harmful instructions but overlook LLM refusal against executing these harmful instructions. (iii) Even if the early execution steps succeed, any intermediate failure or dependency error will interrupt the workflow and force a restart of the entire attack process. To address these limitations, we propose TRACE, an agentic jailbreaking framework that reduces attack difficulty, induces the agent to execute harmful instructions, and resumes from prior states rather than restarting. Specifically, we first design around 20 procedural decomposition schemes that specify key operations and dependencies for different types of tasks, which can decompose a complex and harmful task into more executable and benign-looking subtask sequences. We measure these candidate sequences along two dimensions, and select the optimal one for instantiating the attack. For the remaining refused subtasks, we construct different subtask profiles and establish an evolving execution-oriented multi-turn jailbreak strategy library corresponding to these profiles. Given the profile of a refused subtask, TRACE can retrieve an appropriate strategy that specifies the corresponding intermediate goals, environment states, and relevant tools to gradually establish a plausible execution context through multi-turn interaction. Extensive evaluations on AdvCUA show that TRACE outperforms existing jailbreak methods across multiple advanced LLM agents, improving attack success rate by more than 100%. Our code is available at https://github.com/ZJU-LLM-Safety/TRACE.

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

↑