Back to AI Research

AI Research

CapLite tests a narrower permission model for tool-using agents

Key Takeaways

  • CapLite derives write permissions from tool schemas and explicit user requests.
  • Its authors report no successful attacks in 13,935 benchmark episodes.
  • CapLite keeps the authorization of tool writes outside the agent's language model.
  • The authors test that constraint on 15 open-weight models.
  • CapLite is a defense for tool-using AI agents that puts code in charge of authorizing writes.

CapLite is a defense for tool-using AI agents that puts code in charge of authorizing writes. In the paper, researchers compare it with defenses that rely on a language model to produce the policy or another security artifact that code will enforce.

Why the source of permissions matters

A tool-using agent may read an email, file or web page that contains text written by someone other than the user. The authors study whether smaller language models can reliably write the security artifacts that protect an agent in that setting. They found failures across several of the evaluated defenses and models. Even when code enforces a policy exactly, a mistake in the policy can leave the agent with permissions the user never granted.

What CapLite checks

The design takes its policy from tool schemas. It commits write calls before reading any tool result and checks that the arguments that determine who or what a write affects are stated in the user's request. A tool result can inform the agent about the task, but it cannot grant authority for a new write under the paper's design. This limits the decisions that a small model needs to make correctly on its own.

What the experiment established

The authors report no successful attacks across 13,935 attacked AgentDojo episodes. They report 29.0% task utility under attack, compared with 27.2% for CaMeL, and a lower token cost in those tests. Those figures describe a benchmark with defined tools and requests. They do not establish that CapLite handles every kind of instruction in retrieved content or every tool schema.
For a team reviewing its own agents, the paper gives a concrete question to ask of each tool: which arguments decide the recipient, destination or object of an action, and where does the authority to set them come from?

Comments