AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution
Aravinda Kashyap Kabbinamakki Suresh, Peng Gao
Key points
From the paper's conclusion- These results demonstrate that agent security requires authorization of model-proposed effects at the tool boundary, independently of the model's reasoning.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- APEX: Active Protection at Execution Boundaries for LLM AgentsarXiv · 2026
- AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent SystemsarXiv · 2026
- ToolFence: Fine-Grained Authorization for Secure Tool-Using LLM AgentsarXiv · 2026
- PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM AgentsarXiv · 2026
- Bounded Agents: Delegation Security for Multi-Agent AI SystemsarXiv · 2026
- CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security ArtifactsarXiv · 2026