Skip to content

Ajar: Measuring Open Privilege in Agent Defenses

Sep 2026 · arXiv.org · Vol abs/2609.26900 · 1 citation · 58 references
Computer Science

TL;DR

Ajar is evaluated by attaching it to AgentDojo, where open privilege becomes a third axis beside the existing attack success and benign utility, and it is observed that they leave widely different amounts of privilege open.

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.

View source

Similar papers

#machine learning Preprint Oct 2026

Kairos: Transactional Security Enforcement at the System Boundary for LLM Agents

Kairos is presented, a reference monitor at the isolation boundary of an unmodified, opaque agent, where a tool call, a shell command, and a script the agent writes all cross the boundary as the same file and network operations, so that confinement holds regardless of the agent's behavior.

Kristoffer Hempel, Nils Loose, Lorenzo Cavallaro et al. · 0 citations

When the Agent Becomes the Kernel: A Systematization of Security on the Path to AI-Native Operating Systems

It is argued that this gap leaves an irreducible residual of undetected attacks wherever inputs and actions are not restricted in advance to an enumerated set, and systematize defenses across runtime monitoring, architectural separation, and authorization.

Li Zhang, Yang Sun, Jie Shi · 1 citation
#artificial intelligence Preprint Oct 2026

Beyond Maliciousness: Static and Runtime Attack-Surface Profiling of Agent Skills

Agent skills are Markdown documents that a tool-using agent reads as instructions and then acts on with the privileges of the session that loaded them. Installing one grants authority (the standing to direct the agent, not new privilege), and the size of that grant is what we measure. We present a two-phase attack-surf...

Ratnesh Pandey, Japneet Singh, Harsh Akshit et al. · 0 citations
#artificial intelligence Preprint Oct 2026

APEX: Active Protection at Execution Boundaries for LLM Agents

APEX is an active defense that enforces both at this boundary from a single authorization contract compiled before untrusted execution, and applies uniformly across capability units without attack-specific policies or taint tracking.

Xin-Ran Zheng, Xin-Fan Guo, Zhi-Qian Hao et al. · 1 citation
#artificial intelligence Preprint Aug 2026

AgentKernel: The Trust-Native Agentic Operating System

This work argues that agents need an operating-system substrate providing mandatory, non-bypassable services for identity, input mediation, memory governance, and execution control, and introduces AgentKernel, a trust-native agent operating system built around the premise that security must be a first-class design cons...

Zhen-Hua Zou, Sheng Guo, Qiu-Yang Zhan et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.