arXiv:2603.20953cs.CRcs.AI2026-03被引 14

为自主AI代理提供执行前的确定性权限验证,防止单个操作越权。

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

  • 在工具调用前拦截并用声明式策略判断是否授权
  • 实测平均响应53毫秒,对抗测试中0%越权成功
  • 适合需要严格安全管控的金融、运维等高风险场景

当前AI代理虽有密码但无权限凭证,执行工具调用(如资金转账、数据库查询)时缺乏标准化的执行前授权机制。现有安全架构依赖模型对齐(概率性、训练期)和事后评估(回溯性、批量),无法在单个工具调用层面实现确定性的策略强制。本文提出开放代理护照(Open Agent Passport, OAP),一个开源规范与参考实现,可在工具调用同步拦截,依据声明式策略进行授权判定,并生成加密签名审计记录。OAP在1,000次测试中平均响应时间为53毫秒。在真实对抗测试环境(4,437次授权决策,1,151次会话,5,000美元悬赏)中,社会工程攻击在宽松策略下成功率高达74.6%;而在严格的OAP策略下,879次攻击尝试均未成功。该机制区别于沙箱执行(限制影响范围但不阻止越权)和基于模型的筛选(概率性),二者可互补。同一基础设施既保障安全约束(支出限额、能力范围),也支持质量门禁、运营契约与合规控制。规范已发布于Apache 2.0许可(DOI: 10.5281/zenodo.18901596)。

原文摘要 · Abstract (English)

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安全权限控制自主代理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。