arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20933cs.CRcs.AIcs.PL
收藏

AC4A:代理访问控制

AC4A: Access Control for Agents

University of Washington(华盛顿大学)

Reshabh K Sharma, Dan Grossman

AI总结:

本文提出AC4A框架,解决代理系统粗粒度访问控制问题,允许用户限制代理访问的API和网页内容,提供灵活的权限定义和执行方式。

摘要:

大型语言模型(LLM)代理结合了LLM的聊天交互能力和与外部工具和API交互的能力,使其能够执行复杂任务并自主完成用户目标。然而,当前代理系统采用全或无的访问模式:代理要么拥有API全部能力,要么完全无访问权限。这种粗粒度方法迫使用户必须信任代理拥有比实际任务所需的更多能力。本文介绍AC4A,一种代理访问控制框架。随着代理能力增强,用户需要限制代理可访问的API或网页部分,消除必须信任代理所有能力的需求。AC4A的目标是提供一个定义权限的框架,使代理只能访问授权的资源。AC4A适用于基于API和浏览器的代理。它不规定应授予何种权限,但提供灵活的方式定义和执行权限,使其适用于实际系统。AC4A通过创建权限授予资源访问,借鉴了Unix文件系统访问控制框架。应用程序将资源定义为层次结构,并在运行时提供计算成功访问所需权限的方式。通过案例研究展示了AC4A在强制执行真实世界API和网页权限方面的有效性。AC4A的源代码可在https://github.com/reSHARMA/AC4A获取。

英文摘要:

Large Language Model (LLM) agents combine the chat interaction capabilities of LLMs with the power to interact with external tools and APIs. This enables them to perform complex tasks and act autonomously to achieve user goals. However, current agent systems operate on an all-or-nothing basis: an agent either has full access to an API's capabilities and a web page's content, or it has no access at all. This coarse-grained approach forces users to trust agents with more capabilities than they actually need for a given task. In this paper, we introduce AC4A, an access control framework for agents. As agents become more capable and autonomous, users need a way to limit what APIs or portions of web pages these agents can access, eliminating the need to trust them with everything an API or web page allows. Our goal with AC4A is to provide a framework for defining permissions that lets agents access only the resources they are authorized to access. AC4A works across both API-based and browser-based agents. It does not prescribe what permissions should be, but offers a flexible way to define and enforce them, making it practical for real-world systems. AC4A works by creating permissions granting access to resources, drawing inspiration from established access control frameworks like the one for the Unix file system. Applications define their resources as hierarchies and provide a way to compute the necessary permissions at runtime needed for successful resource access. We demonstrate the usefulness of AC4A in enforcing permissions over real-world APIs and web pages through case studies. The source code of AC4A is available at https://github.com/reSHARMA/AC4A

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

↑