Skip to content
نبض AIنبضAI

SudoBench tests contextual authorization in LLM agents

BenchmarkPublished: Source: arXiv cs.AI/CL/LG

TL;DR:Researchers introduce SudoBench, a benchmark of 135 paired scenarios across three attack families that tests whether LLM agents distinguish who issued an instruction and what that party is authorized to do.

Researchers introduce SudoBench, a benchmark of 135 paired scenarios across three attack families that tests whether LLM agents distinguish who issued an instruction and what that party is authorized to do. Across ten frontier models, joint accuracy was 5.8% without authorization context and rose to 49% when tool results carried source labels and the user's capabilities were provided. Even then, models failed on 37% of authorized requests on average; an oracle blocking unauthorized calls reached only 63% joint pass.

Key points

  • The benchmark contains 135 paired scenarios in three attack families: confused deputy, source-label indirect prompt injection, and scope-check indirect prompt injection.
  • Each pair changes one runtime field; passing requires both executing the authorized request and refusing its unauthorized counterpart.
  • Without authorization context, models carried out both sides in 55% of pairs; joint pass was 5.8%.
  • Source labels and user capability lists raised joint pass to 49%, while models still failed 37% of authorized requests on average.
  • An oracle blocking unauthorized calls achieved 63% joint pass, showing that authorized-task completion remains a separate challenge.

Why it matters

The results suggest that agent builders should enforce authorization in the runtime rather than rely on a model to infer permissions from plain-text instructions. They also show that blocking unsafe actions alone does not ensure agents complete legitimate tasks.

Companies and models mentioned

  • SudoBench
  • WangResearchLab
  • LLM agents
  • OpenClaw

Related tools

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories