arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01822cs.CRcs.CY
收藏

为动态LLM代理网络设计防火墙

Firewalls to Secure Dynamic LLM Agentic Networks

ELLIS Institute Tübingen, MPI-IS, and Tübingen AI Center(蒂宾根 ELLIS 研究所、马普所(MPI-IS)和蒂宾根人工智能中心);German Research Center for Artificial Intelligence (DFKI), University of Cambridge(德国人工智能研究中心(DFKI)、剑桥大学);University of Massachusetts Amherst(麻省大学阿默斯特分校);University of Cambridge(剑桥大学);National University of Singapore(新加坡国立大学)

Sahar Abdelnabi, Amr Gomaa, Eugene Bagdasarian, Per Ola Kristensson, Reza Shokri

AI总结:

本文提出双防火墙架构,通过任务上下文投影过滤通信内容,有效降低隐私和安全攻击成功率,同时保持任务完成质量。

摘要:

随着代理间通信协议的出现,类似于早期互联网,强大的连接性与最小的安全基础设施并存。当AI代理代表用户通信时,每条消息都跨越信任边界,用户个人数据和外部代理的无约束语言各自带来不同风险。本文通过双防火墙架构解决这一问题,基于统一原则:每个任务定义一个上下文,通信双方携带的信息远超该上下文所需。防火墙作为上下文投影,只允许上下文合适的内容通过。语言转换防火墙将输入消息投影到封闭的领域特定结构协议,外部代理的消息转换为验证字段,同时消除说服性框架、紧迫性策略和嵌入指令。数据抽象防火墙将输出信息投影到适合任务的粒度,而非应用二元披露或遮蔽过滤。两者在受信任环境中运行,隔离外部输入,应用自动学习的领域特定规则。在ConVerse基准上864次攻击中,该架构将隐私攻击成功率(如GPT-5从84%降至10%)和安全攻击成功率(从60%降至3%)显著降低,同时保持或提升任务完成质量。

英文摘要:

The emergence of agent-to-agent communication protocols mirrors the early internet: powerful connectivity with minimal security infrastructure. When AI agents communicate on behalf of users, every message crosses a trust boundary where the user's personal data and the external agent's unconstrained language each present distinct risks. We address both through a dual-firewall architecture grounded in a unifying principle: each task defines a context, and both sides of the communication carry information far exceeding what that context requires. Our firewalls act as projections onto the task context, allowing only contextually appropriate content to cross each boundary. The Language Converter Firewall projects incoming messages onto a closed, domain-specific, structured protocol; an external agent's message is converted to validated fields while persuasive framing, urgency tactics, and embedded instructions are structurally eliminated through deterministic verification. This replaces the asymmetric challenge of resisting every possible manipulation with the structural guarantee that manipulation has no channel through which to arrive. The Data Abstraction Firewall projects outgoing information onto the granularity appropriate for the task, rather than applying binary disclose-or-redact filtering, as previous airgapping solutions did. Both firewalls operate in a trusted environment isolated from external input, applying domain-specific rules learned automatically from demonstrations. Across 864 attacks spanning three domains on the ConVerse benchmark, our architecture reduces privacy attack success rates (e.g., from 84% to 10% for GPT-5) and security attacks (from 60% to 3%), while maintaining or even improving task completion quality.

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

↑