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

Genesis:为LLM网络代理红队测试演变攻击策略

Genesis: Evolving Attack Strategies for LLM Web Agent Red-Teaming

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Shanghai Jiao Tong University(上海交通大学);Tencent(腾讯);Nvidia(英伟达)

Zheng Zhang, Jiarui He, Yuchen Cai, Deheng Ye, Peilin Zhao, Ruili Feng, Hao Wang

AI总结:

本文提出Genesis框架,通过遗传算法与混合策略表示生成对抗注入,动态发现有效策略并持续优化,提升网络代理攻击效果。

摘要:

随着大型语言模型(LLM)代理越来越多地自动化复杂网络任务,它们在提高生产力的同时也引入了新的安全风险。然而,关于网络代理攻击的相关研究仍十分有限。现有红队方法主要依赖手工编写的攻击策略或离线训练的静态模型。这些方法无法捕捉网络代理的底层行为模式,难以在多样化环境中推广。在网络代理攻击中,成功需要持续发现和进化攻击策略。为此,我们提出了Genesis,一个由三个模块组成的新型代理框架:攻击者、评分器和策略师。攻击者通过将遗传算法与混合策略表示结合生成对抗注入。评分器评估目标网络代理的响应以提供反馈。策略师从交互日志中动态发现有效策略并将其编译成一个持续增长的策略库,然后重新部署以增强攻击者的有效性。在各种网络任务上的广泛实验表明,我们的框架发现新的策略并持续优于现有攻击基线。我们的代码可在https://github.com/CjangCjengh/web_agent_attack获取。

英文摘要:

As large language model (LLM) agents increasingly automate complex web tasks, they boost productivity while simultaneously introducing new security risks. However, relevant studies on web agent attacks remain limited. Existing red-teaming approaches mainly rely on manually crafted attack strategies or static models trained offline. Such methods fail to capture the underlying behavioral patterns of web agents, making it difficult to generalize across diverse environments. In web agent attacks, success requires the continuous discovery and evolution of attack strategies. To this end, we propose Genesis, a novel agentic framework composed of three modules: Attacker, Scorer, and Strategist. The Attacker generates adversarial injections by integrating the genetic algorithm with a hybrid strategy representation. The Scorer evaluates the target web agent's responses to provide feedback. The Strategist dynamically uncovers effective strategies from interaction logs and compiles them into a continuously growing strategy library, which is then re-deployed to enhance the Attacker's effectiveness. Extensive experiments across various web tasks show that our framework discovers novel strategies and consistently outperforms existing attack baselines. Our code is available at https://github.com/CjangCjengh/web_agent_attack.

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

↑