cs.CRSep 22, 2026

Ajar: Measuring Open Privilege in Agent Defenses

Authors: Reshabh K Sharma, Linxi Jiang, Shuo Chen, Zhiqiang Lin

Organizations: University of Washington Seattle, Washington, USA · The Ohio State University Columbus, Ohio, USA · Microsoft Research Redmond, Washington, USA

Abstract

A language model agent acts through the tools it is given. The data it reads while working on a task can redirect what it does with those tools. A growing set of techniques for safe and secure agent execution therefore sits between the agent and its tools, aiming to enforce access control, information flow or isolation at that boundary. Today these techniques are evaluated on agent-security benchmarks built around indirect prompt injection. Those benchmarks judge a defense by how far it brings the number of successful attacks down while preserving the agent's utility. A defense is judged only on the agent's execution. It can score well on both metrics while holding open a transfer, a deletion or a broad read that no task needed. Ajar measures that open privilege directly using the existing benchmarks. It attaches to an agent-security benchmark that already exists and reuses the tasks, tool schemas, reference solutions and goal states that benchmark uses to grade its own runs. For each benign task it builds candidate tool calls the task does not need, so allowing one is privilege left open. These calls are presented to the defense at every point where the agent could act. We evaluate Ajar by attaching it to AgentDojo, where open privilege becomes a third axis beside the existing attack success and benign utility. We run it on five defenses: Progent, CaMeL, AC4A, Permission Assistant, and Claude Code's Auto mode. We observed that they leave widely different amounts of privilege open. Two defenses leak by almost the same amount yet differ widely in the benign tasks they finish, and one defense buys part of its tightness by refusing calls its tasks were entitled to make. This open privilege cannot be derived from the measured attack success or benign utility. The source code of Ajar is available at https://github.com/reSHARMA/Ajar.

Figures & tables

Explore similar work

CardsList
  1. Agent-Sentry: Bounding LLM Agents via Execution Provenance

    Mar 24, 2026Rohan Sequeira, Stavros Damianakis, Umar Iqbal +1AI Agent SecurityAI Agent Monitoring

  2. AIRGuard: Guarding Agent Actions with Runtime Authority Control

    May 27, 2026Suliu Qin, Haomin Zhuang, Yujun Zhou +2AI Agent SecurityTool-Using Agents

  3. The Authorization-Execution Gap Is a Major Safety and Security Problem in Open-World Agents

    May 10, 2026Baoyuan Wu, Qingshan Liu, Adel Bibi +2Agent Failure AnalysisAI Agent Security