让大模型代理按任务需求精准获取权限,避免越权访问。
Delegated Authorization for Agents Constrained to Semantic Task-to-Scope Matching
- 通过语义匹配分析任务与权限范围,只授予最小必要权限。
- 实验显示模型在多权限任务下匹配能力有限,需改进。
- 适合研究细粒度权限控制与多智能体系统的安全授权。
赋予大型语言模型驱动的智能体动态调用工具和访问受保护资源时,当前授权方法常授予过宽权限,导致其超出任务范围操作。本文提出一种委托授权模型,使授权服务器能语义审查访问请求,并仅发放完成任务所需的最小权限集合。由于缺乏聚焦于委托授权流程的数据集(尤其包含任务-权限匹配的合理与不合理请求),我们构建了ASTRA数据集及生成管道,用于评估任务与权限范围间的语义匹配效果。实验表明,基于模型的匹配虽有潜力,但随着任务所需权限数量增加,其性能显著下降。结果强调了进一步研究语义匹配技术的必要性,以支持多智能体和工具增强型应用中的意图感知授权,如任务基础访问控制(TBAC)。
原文摘要 · Abstract (English)
Authorizing Large Language Model driven agents to dynamically invoke tools and access protected resources introduces significant risks, since current methods for delegating authorization grant overly broad permissions and give access to tools allowing agents to operate beyond the intended task scope. We introduce and assess a delegated authorization model enabling authorization servers to semantically inspect access requests to protected resources, and issue access tokens constrained to the minimal set of scopes necessary for the agents' assigned tasks. Given the unavailability of datasets centered on delegated authorization flows, particularly including both semantically appropriate and inappropriate scope requests for a given task, we introduce ASTRA, a dataset and data generation pipeline for benchmarking semantic matching between tasks and scopes. Our experiments show both the potential and current limitations of model-based matching, particularly as the number of scopes needed for task completion increases. Our results highlight the need for further research into semantic matching techniques enabling intent-aware authorization for multi-agent and tool-augmented applications, including fine-grained control, such as Task-Based Access Control (TBAC).
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。