# AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution

DevFeed: [AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution](<https://devfeed.tech/articles/agentcap-capability-based-runtime-authorization-for-secure-llm-agent-execution-114033.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00729>)

Author: Aravinda Kashyap Kabbinamakki Suresh, Peng Gao

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Secure token management](<https://devfeed.tech/topics/secure-token-management.md>), [Zero Trust](<https://devfeed.tech/topics/zero-trust.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [adversarial](<https://devfeed.tech/tags/adversarial.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-security](<https://devfeed.tech/tags/agent-security.md>), [agents](<https://devfeed.tech/tags/agents.md>), [all](<https://devfeed.tech/tags/all.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [asr](<https://devfeed.tech/tags/asr.md>), [attack](<https://devfeed.tech/tags/attack.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [based](<https://devfeed.tech/tags/based.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [execution](<https://devfeed.tech/tags/execution.md>), [llm](<https://devfeed.tech/tags/llm.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtime-authorization](<https://devfeed.tech/tags/runtime-authorization.md>)

## AI overview

AgentCap separates action selection from authorization by mediating each tool invocation through an MCP wrapper. Requests declare an intent; policy checks cover trust, workflow prerequisites, mutually exclusive authority, and the provenance of sensitive arguments. Authorized requests receive short-lived, budget-bounded capability tokens validated at the tool boundary. Delegation stays within session-bound parent-child chains, preserves action and resource, and can only reduce budget and lifetime. A declarative policy language supports runtime enforcement and predeployment analysis. The abstract reports reduced attack success in every evaluated AgentDojo and InjecAgent model-benchmark setting, including zero attack success for GPT-5.4 on both benchmarks. In controlled adversarial scenarios, it reports blocking all attempted unauthorized executions while preserving all legitimate operations exercised.

## Source excerpt

arXiv:2611.00729v1 Announce Type: new Abstract: Language-model agents commonly collapse two decisions that security systems separate: selecting an action and determining whether that action is authorized. When a model exercises standing authority, indirect prompt injection can convert influence over its reasoning into unauthorized effects. We present AgentCap, a runtime authorization layer that externalizes this decision from the model and mediates every tool invocation through an MCP wrapper. Each request declares an intent, and AgentCap evaluates policy constraints over trust, workflow prerequisites, mutually exclusive authority, and the provenance of security-sensitive arguments. Authorized requests receive short-lived, budget-bounded capability tokens that are validated at the tool boundary. Delegation is restricted to session-bound parent-child chains that preserve action and resource while budget and lifetime can only be attenuated, preventing authority from being expanded or reused across unrelated agent sessions. A declarative policy language provides a common representation for runtime enforcement and predeployment analysis. Across AgentDojo and InjecAgent, AgentCap reduces attack success in every evaluated model-benchmark setting, including zero attack success with GPT-5.4 on both benchmarks. Controlled adversarial scenarios further show that AgentCap blocks every attempted unauthorized execution (ASR 0%) while preserving all legitimate operations exercised. These results demonstrate that agent security requires authorization of model-proposed effects at the tool boundary, independently of the model's reasoning.