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

在工具调用之前:自主AI代理的确定性预行动授权

Before the Tool Call: Deterministic Pre-Action Authorization for Autonomous AI Agents

APort Technologies Inc.(APort技术公司)

Uchi Uchibeke

AI总结:

本文提出Open Agent Passport,通过同步拦截工具调用、评估声明性策略并生成加密审计记录,实现自主AI代理的确定性预授权,提升安全性和可控性。

摘要:

当今AI代理拥有密码但无授权凭证。它们在执行工具调用(如资金转账、数据库查询、shell命令、子代理委托)时,缺乏标准机制在行动执行前强制授权。当前安全架构依赖于模型对齐(概率性、训练时)和事后评估(回顾性、批量)。两者均无法在个体工具调用层面提供确定性的、基于策略的强制执行。我们将其定义为预行动授权问题,并提出了Open Agent Passport(OAP),一个开放规范和参考实现,能够在执行前同步拦截工具调用,根据声明性策略评估,并生成加密签名的审计记录。OAP在1000次测试中平均耗时53毫秒。在实时对抗测试床(4437次授权决定,1151次会话,5000美元奖金)中,社会工程在宽松策略下成功74.6%次,而在严格OAP策略下,同等攻击者在879次尝试中成功率为0%。我们区分预行动授权与沙盒执行(具有辐射半径但不防止未经授权的行为)和基于模型的筛查(概率性),并展示它们是互补的。相同的基础设施既强制安全约束(支出限制、能力范围)也强制质量门、运营合同和合规控制。规范以Apache 2.0(DOI: 10.5281/zenodo.18901596)发布。

英文摘要:

AI agents today have passwords but no permission slips. They execute tool calls (fund transfers, database queries, shell commands, sub-agent delegation) with no standard mechanism to enforce authorization before the action executes. Current safety architectures rely on model alignment (probabilistic, training-time) and post-hoc evaluation (retrospective, batch). Neither provides deterministic, policy-based enforcement at the individual tool call level. We characterize this gap as the pre-action authorization problem and present the Open Agent Passport (OAP), an open specification and reference implementation that intercepts tool calls synchronously before execution, evaluates them against a declarative policy, and produces a cryptographically signed audit record. OAP enforces authorization decisions in a measured median of 53 ms (N=1,000). In a live adversarial testbed (4,437 authorization decisions across 1,151 sessions, $5,000 bounty), social engineering succeeded against the model 74.6% of the time under a permissive policy; under a restrictive OAP policy, a comparable population of attackers achieved a 0% success rate across 879 attempts. We distinguish pre-action authorization from sandboxed execution (contains blast radius but does not prevent unauthorized actions) and model-based screening (probabilistic), and show they are complementary. The same infrastructure that enforces security constraints (spending limits, capability scoping) also enforces quality gates, operational contracts, and compliance controls. The specification is released under Apache 2.0 (DOI: 10.5281/zenodo.18901596).

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

↑