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

智能体协议组合的形式化安全分析

Formal Security Analysis of Agent Protocol Composition

Dartmouth College(达特茅斯学院);Palo Alto Networks(帕洛阿尔托网络);Meta;UC Riverside(加州大学河滨分校)

Shenghan Zheng, Qifan Zhang, Zheng Zhang, Haonan Li, Christophe Hauser

AI总结:

提出AgentThread框架,通过分层安全范围、TLA+形式化检查和两阶段验证器,对智能体协议进行安全分析,发现35个规范级问题及30个组合缺陷,揭示协议间责任缺失。

摘要:

AI智能体协议定义了智能体如何使用工具、委派工作以及在软件系统间协调,但其安全需求仍不完整,且在不同部署中执行不一致。我们提出AgentThread,一个从规范文本到运行SDK的智能体协议安全保证分析的源链接框架。AgentThread贡献了分层安全范围、形式化为TLA+不变量的协议派生检查,以及一个两阶段检查器,该检查器将协议规范编译为可模型检查的模型,并通过协议适配器针对真实SDK重放可执行反例。对于每个发现,AgentThread记录检查背后的源文本,并将违反的协议需求与缺失的建议、加固漏洞和未分配的跨协议责任分开。在五种新兴智能体协议中,AgentThread识别出35个规范级发现,通过80个针对生产SDK和参考服务器的实现测试支持这些发现,并发现仅在协议组合下出现的30个额外失败。我们进一步表明,只有一种协议在实践中强制执行安全相关的控制,且没有协议分配跨协议行为的强制执行。因此,智能体协议中的不安全不仅是一个规范或实现问题,也是跨协议、SDK和部署的责任缺口。

英文摘要:

AI agent protocols define how agents use tools, delegate work, and coordinate across software systems, but their security requirements remain incomplete and inconsistently enforced across deployments. We present AgentThread, a source-linked framework for security assurance analysis of agent protocols, from specification text to running SDKs. AgentThread contributes a layered security scope, protocol-derived checks formalized as TLA+ invariants, and a two-phase checker that compiles protocol specifications into model-checkable models and replays executable counterexamples against real SDKs through protocol adapters. For each finding, AgentThread records the source text behind the check and separates violated protocol requirements from missing recommendations, hardening gaps, and unassigned cross-protocol responsibilities. Across five emerging agent protocols, AgentThread identifies 35 specification-level findings, supports them with 80 implementation tests against production SDKs and reference servers, and finds 30 additional failures that emerge only under protocol composition. We further show that only one protocol enforces a security-relevant control in practice and no protocol assigns enforcement for cross-protocol behavior. Insecurity in agent protocols is therefore not only a specification or implementation problem, but also a responsibility gap across protocols, SDKs, and deployments.

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

↑