TRANSMISSION // 2611.35886v1

Can AI agents tell who has permission?

Source published

SudoBench tests whether language-model agents can distinguish authorized instructions from unauthorized ones. Its abstract reports better results when agents receive source labels and user capabilities, but substantial errors remain.

AI-generated conceptual illustration for Can AI agents tell who has permission?
AI-generated conceptual illustration; not documentary evidence.

An AI agent may read a user’s request alongside text written by someone else, then use tools to act. SudoBench asks whether models can tell whose instruction they are following—and whether that person has permission to request the action.

The permission problem

When an AI agent reads emails, webpages or other content and can also use tools, not every instruction it encounters should carry the same authority. A user might ask an agent to perform a task, while a message written by someone else tries to redirect it. The agent needs to distinguish the source of each instruction and check what that source is allowed to authorize.

The authors of SudoBench: A Contextual Authorization Benchmark for LLM Agents argue that some agent runtimes do not provide enough information for this decision. In their audit of OpenClaw-lineage runtimes, they report that checks focus on whether a message can reach the agent, while instructions are then passed to the model as plain text. Without information about sources and permissions, the model must make authorization judgments with incomplete context.

Paired tests, opposite decisions

The benchmark contains 135 paired scenarios across three attack families: confused deputy, source-label indirect prompt injection, and scope-check indirect prompt injection. The abstract does not explain the scenario construction in detail, but describes the core test: within each pair, one runtime field changes, and the same request should be carried out in one scenario and refused in the other.

That paired design makes both kinds of mistake count. An agent should not follow an unauthorized request, but it should also avoid refusing a request that is allowed. A pair counts as passed only when the model gets both sides right. The authors evaluated ten frontier language models.

More context helps—but does not solve it

Without authorization context, the models carried out both halves of 55% of pairs; the joint pass rate was 5.8%. When the models were given a source label for each tool result and a list of the user’s capabilities, the joint pass rate rose to 49%. Even with that information, models failed to carry out 37% of authorized requests on average.

The authors also report an oracle comparison: a system that blocks every unauthorized call achieved a 63% joint pass rate. Blocking unauthorized actions is not enough to ensure success, because the agent still has to complete authorized actions. This highlights a practical tension: stricter safeguards can prevent some harmful actions, but a useful agent must also recognize when it is permitted to proceed.

The authors’ stated takeaway is that authorization checks belong in the agent’s surrounding software—the harness—not solely in the language model. They identify failures on authorized requests as an open problem. The abstract does not establish that the proposed benchmark or approach resolves these issues in real-world deployments.

What the evidence can—and cannot—show

These findings concern benchmark scenarios and ten evaluated models. The abstract alone does not provide model names, detailed task examples, uncertainty estimates, or enough methodological information to assess how closely the scenarios reflect everyday use. Results may depend on the benchmark’s design and on the particular runtimes, models and settings tested; they should not be read as a measure of how often real agents will make these mistakes.

The supplied source is an arXiv preprint abstract, not the full paper. The work may not have been peer reviewed, and the abstract-only evidence limits independent assessment of the methods and analysis. SudoBench’s results offer a focused warning: telling an agent who said something and what they may authorize can improve its decisions, but permission context does not yet make those decisions reliably correct.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • A finer-grained fence for AI agents’ tool calls

    Supporting evidence: Both papers report results consistent with runtime enforcement blocking unauthorized agent actions: SudoBench’s oracle blocks unauthorized tool calls and raises paired joint pass to 63%, while ToolFence checks proposed calls and arguments before execution and reports reduced attack success on its benchmarks. The results are complementary, not directly comparable: SudoBench evaluates paired authorization decisions across scripted scenarios, whereas ToolFence evaluates defenses across several attack benchmarks and models.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.35886v1 — Original paper

      Excerpt reference: static/papers/2611.35886v1.md:13-65
      Basis: Paper text
      Source file SHA-256: eb16452348ef04fac009ed3c355288771ee4a05bf84d8ce54baf15c020818ccf

    • 2609.37196v2 — Original paper

      Excerpt reference: static/papers/2609.37196v2.md:16-56
      Basis: Paper text
      Source file SHA-256: e15db5d62820abc6f8b72ad32e4411e5b3b3b38cb65611edd8ce6e2edf64c11a

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.