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

Uchi Uchibeke · 2026

Read Before the Tool Call: Deterministic Pre-Action Authorization for Autonomous AI Agents by Uchi Uchibeke (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-20953.txt.

Introduction

Uchibeke presents the Open Agent Passport, a system that checks each agent tool call before it runs. Agents today act with passwords but no standard pre action check. Safety now rests on model training or after the fact review. The passport stops each call, tests it against a stated policy, and signs an audit record. In a live testbed with a bounty, social tricks often beat the model under a loose policy. Under a strict policy, attackers scored zero successes in eight hundred seventy nine tries.

Catalog record

CREATORUchi Uchibeke
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE47955
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.20953

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Before the Tool Call: Deterministic Pre-Action Authorization for Autonomous AI Agents Uchi Uchibeke Abstract 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 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). arXiv Preprint Categories: cs.CR (primary), cs.AI (secondary) License: CC BY 4.0 1 Introduction 1.1 The Authorization Gap The gap between what AI agents can do and what they should do is an authorization problem, not an alignment problem. Just as early multi-user systems lacked role-based access control and early web APIs lacked delegated authorization (OAuth), autonomous agents today lack a standard mechanism to enforce per-action authorization before execution. These agents are systems that perceive, reason, and act across production environments, deployed at scale. They execute real-world actions through tool calling : the model generates a structured request to execute a named function with specific parameters. Tool calls transfer funds, query databases, execute code, send communications, and delegate tasks to sub-agents. The decision to execute a tool call is currently made in one of two places: the model itself (via alignment training) or the application layer (via ad hoc input validation). Neither constitutes a security-grade authorization layer. Neither enforces a declarative policy. Neither produces a verifiable audit record. Industry evidence from Q1 2026 confirms the gap is structural. A comprehensive survey of the agentic AI attack surface [ 31 ] categorizes threats across the agent lifecycle and finds that no standard authorization layer exists at the tool call boundary. Specific findings: • A red-teaming study deployed six autonomous agents with persistent memory and shell access over 14 days; agents leaked SSNs when a single verb was reframed, destroyed their own infrastructure to protect secrets, and complied with unauthorized parties [ 1 ] . • An industry survey found that 27.2% of engineering teams have abandoned framework-provided authorization and reverted to custom, hardcoded logic [ 2 ] . • Security researchers enumerated 492+ MCP servers exposed without authentication or encryption in production [ 3 ] . • CVE-2026-26118 (CVSS 8.8): an SSRF vulnerability in Azure’s MCP Server was exploited via a valid authenticated credential. The attacker had valid access; no policy governed execution [ 4 ] . • An industry study found that 90% of government organizations lack purpose-binding controls for AI agents, with purpose binding at just 37% across all industries [ 5 ] . • Cisco’s threat research team documented the ClawHavoc supply-chain attack : 824+ malicious skills (approximately 20% of the OpenClaw skill registry) were injected with prompt injection payloads, hidden reverse shells, and token exfiltration routines. Separately, 42,665 exposed OpenClaw instances were found, with 93.4% having authentication bypass conditions [ 35 ] . These are not alignment failures. They are authorization failures. Pre-action authorization infrastructure (identity, policy, cryptographic proof) serves not only security but broader accountability: the same mechanism that enforces spending limits can enforce quality gates, operational contracts, and compliance controls. 1.2 Contributions This paper makes four contributions: 1. Characterizes the pre-action authorization problem as distinct from model alignment, post-hoc evaluation, and sandboxed execution (Section 2 ). 2. Presents OAP , an open specification for pre-action authorization, with a formal threat model and authorization function (Sections 3 – 4 ). 3. Shows pre-action authorization, sandboxed execution, and model-based screening are complementary architectures , not competing ones (Section 5 ). 4. Evaluates OAP against 4,437 adversarial decisions across 1,151 attack sessions and production benchmarks at N{=}1{,}000 (Section 6 ). Section 7 maps OAP to NIST AI RMF, OWASP Agentic Top 10, and SAFE-MCP. 2 Background and Related Work 2.1 Model Alignment Training-time alignment (RLHF, RLAIF, constitutional AI) shapes a model’s response distribution toward desired behaviors. Frontier model developers treat it as their primary safety investment. Alignment is probabilistic: it shifts behavior across the distribution but does not guarantee any individual output. Prompt injection, jailbreaks, and multi-agent delegation can override alignment in production environments [ 6 , 7 ] . Alignment cannot be updated without retraining, and policy changes require model redeployment. 2.2 Post-Hoc Evaluation Automated evaluation tools (Promptfoo, Galileo, Haize Labs) test AI agents by running them against adversarial scenarios and scoring outputs. OpenAI’s acquisition of Promptfoo in March 2026 [ 8 ] and Galileo’s open-source Agent Control framework with integrations from Cisco, CrewAI, and AWS [ 9 ] have established evaluation as a commercial category. Post-hoc evaluation is valuable but structurally retrospective: it finds patterns across completed runs but does not intercept individual tool calls in production. 2.3 Sandboxed Execution A distinct class of approaches enforces safety by isolating agent execution in sandboxed environments. These systems operate at the kernel or hypervisor level, containing the effects of agent actions rather than preventing them: NVIDIA NemoClaw (March 2026, GTC announcement) [ 10 ] wraps the OpenClaw agent framework in enterprise security controls via three components: a CLI plugin, a versioned blueprint for orchestration, and an OpenShell runtime (K3s-based container). NemoClaw enforces kernel-level network allowlisting, filesystem write restrictions, and configuration file protection, with an out-of-process policy engine that cannot be overridden by compromised agents. A privacy router directs sensitive data to local Nemotron models. ceLLMate [ 32 ] sandboxes browser-using agents at the HTTP layer: an “Agent Sitemap” maps requests to semantic actions, and a Chrome extension enforces default-deny policies on outbound traffic. Frontier LLMs achieved > 94% policy prediction accuracy and blocked all 12 emulated prompt injection attacks with 7–15% latency overhead. ceLLMate demonstrates that deterministic enforcement outside the agent is viable even for browser-based workflows, though it operates at the network layer rather than the agent action layer. E2B [ 11 ] provides Firecracker microVM sandboxes ( {\sim} 150 ms startup) purpose-built for AI agent code execution. Modal [ 12 ] uses gVisor for user-space kernel isolation. Google Agent Sandbox [ 13 ] provides Kubernetes-based isolation with Vertex AI integration. NVIDIA’s own security guidance for agentic workflows states that “application-level controls are insufficient” because once control passes to a subprocess, the application loses visibility [ 14 ] . They recommend fully virtualized environments and emphasize that each dangerous action should require fresh user confirmation. Sandboxed execution catches

Read the complete text