AI Safety for Sandboxed AI Agents: Why Containment, Proxy Admission and Credential Brokering Do Not Prove That a Specific Action Is Still Authorized When It Takes Effect, and How Execution-Finality Controls Close That Gap Across Credential Mediation,
Description: THE PROBLEM IN PLAIN WORDSAn AI agent can be locked inside a sandbox, watched by a proxy, and handed only short-lived credentials, and it can still cause a harmful real-world effect: send the payment, delete the records, call the external API. The sandbox decided where the agent may run. The proxy decided that a network connection may open. Neither decided whether this particular action, with these particular parameters, against this particular target, is still authorized at the moment it takes effect. CLEAR CONCEPTComputing or requesting an action is not authority to carry it out. Authority for a specific real-world effect should be checked at the point where the effect happens, bound to that exact operation, and consumed once. PROBLEM SPACE Sandbox confinement limits where code runs, but privileged host-side connectors, tool servers and hooks can sit outside that boundary. Credential brokers and token exchange hand an agent a capability that is often broader, longer-lived or more reusable than the single action intended (confused-deputy, replay and token-passthrough risk). Process lineage and sub-agent spawning let an action be issued by a child process or delegated agent whose authority is not re-checked against the original grant. Proxy-mediated network egress proves a connection was admitted, not that the downstream operation is still valid, unrevoked and within scope when it lands. In multi-agent systems, delegated operations and cross-domain gateways, authority passes between parties, so no single component sees the whole chain.This maps to excessive agency risks in AI security guidance (OWASP LLM06) and to the policy decision point / policy enforcement point model in zero-trust architecture (NIST SP 800-207). TECHNICAL SOLUTIONA gate at the destination side of an effect (the policy enforcement point nearest the effect) accepts an operation only if (a) it presents authority bound to the exact operation, parameters and target, (b) that authority is current, unrevoked and unused, and (c) its lineage back to the original grant is intact. Otherwise the operation is rejected, held or left in a non-effective state. Covered: credential mediation (the agent never holds a reusable bearer secret; a broker releases a scoped, single-use, non-bearer capability for one operation); process lineage (a child cannot exceed or replay the parent's grant); network egress (the proxy admits a connection and the downstream effect interface separately verifies the specific operation); downstream effect interfaces (atomic single-use consumption, so replays are refused); distributed authority (the same check across multi-agent systems, delegated operations and cross-domain gateways). The drafts state that their procedures are implementation examples and not evidence that any named vendor implements this architecture. INDUSTRY RELEVANCE (AI-GENERATED; NOT AN ENDORSEMENT, VALIDATION OR INFRINGEMENT STATEMENT)Produced with AI assistance from cited public vendor material. It maps products to where such a gate could sit. It does not say any company uses, infringes or has validated the approach. Cross-check against the original filings and each vendor's own documentation before drawing any conclusion. Anthropic, Claude Code sandboxing and MCP: vendor documentation describes sandbox restrictions applying to the Bash tool, while MCP servers and hooks run on the host. Operation: the agent calls a host-side MCP tool. Gate: at the MCP server or the system the tool touches. Checks: that this exact call, arguments and target match live, unused authority. Rejects: replayed, altered or stale calls and calls from a child process outside the grant. Why it matters: the sandbox boundary does not cover that call path. Amazon Web Services, Bedrock AgentCore and Lambda microVMs on Firecracker: a microVM isolates compute. Gate: at the credential broker and the downstream service API. Checks: operation-bound, single-use authority rather than a reusable role session. Rejects: reuse of a session credential for a different action. Why it matters: isolation does not limit what a valid credential can do. Google, Agent Gateway, Agent Identity and Confidential Computing: identity and gateway policy decide whether an agent may reach a tool. Gate: at the destination effect interface behind the gateway. Checks: that the specific action is still authorized when executed. Rejects: actions that passed admission earlier but whose scope, parameters or revocation state changed. Why it matters: admission happens earlier than the effect. Microsoft, Agent 365 and Entra Agent ID: agent identity and governance at the control plane. Gate: at the system of record that receives the write. Checks: binding of the write to the exact delegated operation. Rejects: delegation-chain replays and over-broad delegated tokens. Why it matters: identity proves who, not which single effect. OpenAI, Agents API and tool calling: the model proposes a tool call. Gate: between the tool call and the external system. Checks: operation-bound authority for the call. Rejects: injected or altered calls that look valid but are unauthorized. Why it matters: a model's proposal is not authority. NVIDIA, OpenShell and BlueField DPU: DPU-level enforcement can host a policy enforcement point outside the agent's host. Gate: at the egress path. Checks: operation-bound authority on the outbound effect. Rejects: egress admitted by address but not authorized by operation. Why it matters: the check sits where the agent cannot bypass it. PUBLIC DISCLOSURE DATES (FOR PRIOR-ART SEARCH)First public disclosure: IETF Internet-Drafts (Datatracker), revision 00. Date printed on the drafts' first page: 22 October 2026 (the same date as Indian patent application 202631125689, filed 22 October 2026). Date recorded in the IETF Datatracker history (upload and posting of revision 00): 23 October 2026. 23 and 24 October 2026: Zenodo link added to the Datatracker record, then relabelled "full technical specification". 27 October 2026: GitHub runnable reference implementation link added to the Datatracker record. No revision after 00 exists.Draft 1, Protected Execution Finality for Sandboxed AI Agents, Credential Mediation, Process Lineage, and Network Egress: https://datatracker.ietf.org/doc/html/draft-das-sandbox-credential-egress-finality-00Draft 2, Distributed Authority and Execution-Finality for Multi-Agent Systems, Delegated Operations, and Cross-Domain Gateways: https://datatracker.ietf.org/doc/html/draft-das-distributed-agent-authority-finality-00Earlier public basis: the Mothership application PCT/IB2026/055615, disclosed 16 July 2026. Both drafts are individual Internet-Drafts and are not endorsed by the IETF. BASISBased on Indian Provisional Filing: 202631125689, filed 22 October 2026 (a continuation of Indian application 202631124028), and disclosed with the Mothership (PCT/IB2026/055615) on 16 July 2026. Also related: the ALF PCT, PCT/IB2026/053385 (WO 2026/115520), filed 7 April 2026, disclosed 4 June 2026. IPR: The technical content of this draft set is based upon the author's international application PCT/IB2026/055615, which forms the foundation of this disclosure and comprises approximately 300 distinct, non-repetitive embodiments and enforcement points. A separate patent application specific to the material in this draft set has also been filed. Related Indian applications: 202531130665, 202631000572, 202631001586, 202631002990, 202631124028, and 202631125689. Related international applications: PCT/IB2025/058316, PCT/IB2026/053385, PCT/IB2026/055615, PCT/IB2026/055760, PCT/IB2026/055870, PCT/IB2026/056058, PCT/IB2026/056809, and PCT/IB2026/056941. These identify related technical disclosures; not all described mechanisms are necessarily patent-claimed or granted, and patent scope and priority depend on applicable law and examination. WHERE TO READ THE FULL PCT FILINGSearch "Sangam Das" on WIPO PATENTSCOPE; search PCT/IB2026/055615 (pctib202655615); or read the PCT file in Technical Disclosure Commons: https://www.tdcommons.org/dpubs_series/12542/Mothership Zenodo copy: https://zenodo.org/records/23245054European Zenodo disclosure (16 November 2026), "EUROPE'S NEXT AI SECURITY CHALLENGE: WHO CONTROLS THE FINAL ACTION? From EU AI Act and NIS2 to 6G, the Digital Euro, Industrial AI and Critical Infrastructure": https://zenodo.org/records/24274259 STATUS AND AI ASSISTANCEThe filings are pending applications only. Nothing here states or implies that any patent has been granted; check current status only on WIPO PATENTSCOPE and the national patent offices. The underlying invention is human-originated. AI-assisted tools were used to prepare this record (summaries and industry mapping); it may contain errors, so cross-check it against the original, publicly available sources. License: Creative Commons Attribution Non Commercial 4.0 International (CC BY-NC 4.0) Keywords (one per line in Zenodo):AI safetyAI agent securityagentic AIAI agent governanceagent sandboxsandbox escapesandboxed AI agentssecure VMmicroVMcontainer isolationsystemd-nspawncredential brokeringcredential mediationsurrogate credentialsurrogate token substitutionphantom token patternjust-in-time credential injectioncredential injection at egresssecret management for agentsshort-lived credentialstoken exchangetoken passthroughconfused deputyreplay attackleast privilegezero trustzero trust architecturepolicy enforcement pointpolicy decision pointhost-side permission authorityconnector permissionstool authorizationMCP server securityModel Context Protocoltool poisoningprompt injectionexcessive agencynetwork egress controlL4 egress inspectionL7 egress inspectionegress proxyoutbound traffic filteringdata exfiltration preventionbrowser brokerprocess lineagesub-agent delegationmulti-agent systemsdelegated authorizationcross-domain gatewaydefense in depthconfidential computingworkload identityMuse SentinelMet
Authors
- Sangam Das (ORCID: https://orcid.org/0009-0001-4056-9213)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.5281/zenodo.24534151
- Primary Topic
- Access Control and Trust
- Type
- article
- Field-Weighted Citation Impact
- 0.00