← Lab /Security & privacy

AgentCap blocks all unauthorized tool calls, achieving 0% attack success

A runtime authorization layer can prevent any unauthorized execution by LLM agents

Security & privacy arXiv 31 Oct 2026 Defense Prototype evidence Threat model

Published as “AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent Execution”

Why it matters

Capability-based runtime authorization can practically eliminate tool-level attacks on LLM agents, enabling safer deployment of autonomous agents that interact with external services.

Summary

AGENTCAP eliminates tool-based attack success for GPT-5.4 on both AgentDojo and InjecAgent, achieving 0 % ASR, and cuts GPT-4o attack success to 5.09 % on AgentDojo and 8.63 % on InjecAgent while keeping utility within a few points of the native system. The system issues short-lived, scoped capability tokens for each tool call and enforces them outside the model via an MCP wrapper and authorization gateway. Evaluation on the public AgentDojo and InjecAgent benchmarks shows reductions of 11.95-40.54 percentage points in ASR across all model-benchmark pairs. The evidence consists of single-run point estimates without variance reporting. No additional sections (e.g., full discussion) were provided, so the summary is limited to the presented results.

What they found 2

  1. Zero attack success for GPT-5.4 on both benchmarks

    “For GPT-5.4, AGENTCAP reduces ASR from 33.23% to 0.00% while retaining 75.04% utility under attack, compared with 75.68% natively.”

  2. ASR reduced by 11.95-40.54 pp across all model-benchmark settings

    “Figure 3 shows that AGENTCAP reduces ASR in all four model-benchmark settings, by 11.95-40.54 percentage points, while utility under attack remains within 11.86 points of the native system.”

Caveats 1

  • The remaining GPT-4o successes (5.09% on AgentDojo, 8.63% on InjecAgent) fall into three groups: attacks whose goal is a textual response rather than a tool effect, which lie outside a tool-boundary monitor; attacker-chosen arguments the policy does not bind; and bound arguments whose injected value arrived through a field the policy left unlabeled.

What’s new here 4

  • Per-invocation, short-lived capability tokens that bind action, resource, intent, budget, and session
  • Parameter-level provenance checks that reject security-sensitive arguments derived from untrusted content
  • Session-bound, attenuated delegation chains that prevent authority reuse across unrelated agents
  • A static surface analyzer that validates the same declarative policy used at runtime

Threat model stated by the source

Adversarycontrols retrieved content, tool outputs, or inter-agent messages
Capabilitycauses the model to propose attacker-selected tool calls and arguments
AssumesAGENTCAP policy engine, MCP wrapper, authorization gateway, cryptographic keys, and transport are trusted; adversary cannot forge signatures or bypass the mediated tool interface