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

DREAM: 为AI模型跨环境动态红队测试

DREAM: Dynamic Red-teaming across Environments for AI Models

Nanjing University of Science and Technology(南京理工大学);The University of Hong Kong(香港大学);Agency for Science, Technology and Research(科学技术研究局);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Liming Lu, Xiang Gu, Junyu Huang, Jiawei Du, Xu Zheng, Yunhuai Liu, Yongbin Zhou, Shuchao Pang

AI总结:

DREAM通过动态多阶段攻击测试揭示LLM代理在跨环境安全中的关键漏洞,指出上下文脆弱性和长期恶意意图追踪不足,并提出评估工具以提升防御能力。

摘要:

大型语言模型(LLMs)正越来越多地用于代理系统,其与多样工具和环境的交互创造了复杂的多阶段安全挑战。然而,现有基准测试大多依赖静态的单轮评估,忽略了适应性长链攻击中的漏洞。为填补这一空白,我们引入了DREAM,一种用于系统评估LLM代理对动态多阶段攻击的框架。其核心是跨环境对抗知识图(CE-AKG),用于维护状态ful、跨领域的漏洞理解。该图指导上下文引导策略搜索(C-GPS)算法,从包含1986个原子动作的349个不同数字环境的知识库中动态构建攻击链。对12个领先LLM代理的评估揭示了一个关键漏洞:这些攻击链在大多数模型中成功超过70%,显示了状态ful、跨环境攻击的威力。通过分析这些失败,我们发现当前代理的两个关键弱点:上下文脆弱性,即安全行为无法跨环境转移,以及无法跟踪长期恶意意图。我们的发现还表明,传统安全措施,如初始防御提示,在对抗多轮交互构建上下文的攻击时效果有限。为了推进代理安全研究,我们发布DREAM作为评估漏洞和开发更稳健防御的工具。

英文摘要:

Large Language Models (LLMs) are increasingly used in agentic systems, where their interactions with diverse tools and environments create complex, multi-stage safety challenges. However, existing benchmarks mostly rely on static, single-turn assessments that miss vulnerabilities from adaptive, long-chain attacks. To fill this gap, we introduce DREAM, a framework for systematic evaluation of LLM agents against dynamic, multi-stage attacks. At its core, DREAM uses a Cross-Environment Adversarial Knowledge Graph (CE-AKG) to maintain stateful, cross-domain understanding of vulnerabilities. This graph guides a Contextualized Guided Policy Search (C-GPS) algorithm that dynamically constructs attack chains from a knowledge base of 1,986 atomic actions across 349 distinct digital environments. Our evaluation of 12 leading LLM agents reveals a critical vulnerability: these attack chains succeed in over 70% of cases for most models, showing the power of stateful, cross-environment exploits. Through analysis of these failures, we identify two key weaknesses in current agents: contextual fragility, where safety behaviors fail to transfer across environments, and an inability to track long-term malicious intent. Our findings also show that traditional safety measures, such as initial defense prompts, are largely ineffective against attacks that build context over multiple interactions. To advance agent safety research, we release DREAM as a tool for evaluating vulnerabilities and developing more robust defenses.

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

↑