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

AgentDyn: 您的代理安全防御能在现实世界动态环境中部署吗?

AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?

Washington University in St. Louis(华盛顿大学圣路易斯分校);Johns Hopkins University(约翰斯·霍普金斯大学)

Hao Li, Ruoyao Wen, Shanghao Shi, Ning Zhang, Yevgeniy Vorobeychik, Chaowei Xiao

AI总结:

本文揭示现有代理安全基准的三大缺陷,提出AgentDyn基准,包含60个挑战性开放任务和560个注入测试用例,评估十种先进防御,发现现有防御不足或过度防御,亟需更适应动态环境的基准。

摘要:

自主与外部工具和环境交互的AI代理在现实应用中展现出巨大潜力。然而,其依赖外部数据使其易受严重间接提示注入攻击影响,恶意指令通过第三方内容劫持代理行为。为缓解此威胁,已有大量防御措施在现有代理安全基准中被提出和评估。这些基准提供结构化环境比较攻击与防御,成为防御设计和优化的关键驱动力。然而,随着代理向更复杂和开放的现实部署发展,亟需基准更具适应性并更好地反映现实代理系统所面临的动态环境。本文揭示当前基准的三大根本缺陷,并在这些维度上推动前沿:(i)缺乏动态开放任务,(ii)缺乏有益指令,(iii)任务过于简单。为弥合这一差距,我们引入AgentDyn,一个手动设计的基准,包含60个具有挑战性的开放任务和覆盖购物、GitHub和日常生活在内的560个注入测试用例。与以往静态基准不同,AgentDyn要求动态规划并整合有益的第三方指令。对十种最先进的防御的评估表明,几乎所有现有防御要么不够安全,要么存在显著过度防御,揭示现有防御仍远未达到现实部署水平。我们的基准可在https://github.com/leolee99/AgentDyn获取。

英文摘要:

AI agents that autonomously interact with external tools and environments have shown great promise across real-world applications. However, their reliance on external data exposes them to serious indirect prompt injection attacks, where malicious instructions embedded in third-party content hijack agent behaviors. To mitigate this threat, a growing number of defenses have been proposed and evaluated under existing agent security benchmarks. These benchmarks provide structured environments for comparing attacks and defenses, and have become a key driver for defense design and optimization. However, as agents move toward more complex and open-ended real-world deployments, there is a pressing need for benchmarks to become more adaptive and better reflect the dynamic environments faced by real-world agentic systems. In this work, we reveal three fundamental flaws in the current benchmarks and push the frontier along these dimensions: (i) lack of dynamic open-ended tasks, (ii) lack of helpful instructions, and (iii) simplistic user tasks. To bridge this gap, we introduce AgentDyn, a manually designed benchmark featuring 60 challenging open-ended tasks and 560 injection test cases across Shopping, GitHub, and Daily Life. Unlike prior static benchmarks, AgentDyn requires dynamic planning and incorporates helpful third-party instructions. Our evaluation of ten state-of-the-art defenses suggests that almost all existing defenses are either not secure enough or suffer from significant over-defense, revealing that existing defenses are still far from real-world deployment. Our benchmark is available at https://github.com/leolee99/AgentDyn.

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

↑