AgentCap: Capability-Based Runtime Authorization for Secure Execution of LLM AgentsAgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution
Translation in progress — untranslated text is omitted.
Researchers propose AgentCap, an LLM agent runtime authorization layer that removes authorization decisions from model reasoning and mediates every tool call through an MCP wrapper. Each request must declare its intent, and the system evaluates policy constraints based on trust, workflow preconditions, mutually exclusive permissions, and the provenance of security-sensitive parameters; authorized requests obtain short-lived, budget-capped capability tokens that are validated at the tool boundary, and delegation is limited to parent-child chains within a session, with budget and lifetime only reducible. The system also provides a declarative policy language, supporting both runtime enforcement and pre-deployment analysis. On AgentDojo and InjecAgent, AgentCap reduced attack success rates across all tested model and benchmark combinations, with GPT-5.4 achieving zero attack success rate on both benchmarks; in controlled adversarial scenarios it blocked all unauthorized executions (ASR 0%) while preserving all tested legitimate operations. The authors accordingly argue that agent security requires authorizing model-proposed actions at the tool boundary rather than relying on the model's own reasoning.
- Tool-using LLM agents conflate "selecting an action" with "authorizing execution," so indirect prompt injection can exploit credentials that remain valid for a long time within a session to steer an authorized agent toward attacker-chosen actions.
- AGENT C AP adds a deterministic authorization gate between the agent and the tools: each call declares an intent, the policy engine checks trust, preconditions, mutually exclusive permissions, and parameter provenance before issuing a short-lived, call-limited capability token, and the authorization gateway verifies it before forwarding to the MCP server; cross-agent delegation is allowed only with hop-by-hop decay.
- On AgentDojo and InjecAgent, AGENT C AP reduces ASR in all four model × benchmark settings (11.95–40.54 percentage points), and GPT-5.4 has an ASR of 0.00% on both benchmarks; in the controlled scenarios it blocks all unauthorized execution attempts while all legitimate operations are preserved.
- Future directions listed by the authors: extending provenance tracking to persistent memory and cross-context execution, automatically synthesizing policies from workflows, and secure delegation across independently administered principals. The experiments cover only two models, GPT-4o and GPT-5.4, and two benchmarks, with a single run per condition; the authors report point estimates without variance.
Related papers
- Deletion, Substitution, Repair and Transplant: Component Attribution in BARBICAN, a Layered Prompt-Injection Gateway for MCPAnalysis / interpretabilityarXiv