SudoBench: A Contextual Authorization Benchmark for LLM Agents

LLM agents act for users on content that other parties wrote. To act correctly, an agent must know who gave an instruction and what that party may do. However, the OpenClaw-lineage agent runtimes that we audit check only whether a message may reach the agent and pass each instruction to the model as plain text, so the model makes almost every authorization decision with insufficient evidence. We present SudoBench, a benchmark of 135 paired scenarios in three attack families: confused deputy, source-label indirect prompt injection, and scope-check indirect prompt injection. In each pair, one runtime field changes, and the same request must be executed in one half and refused in the other. A pair passes only if the model is correct on both halves. Across ten frontier LLMs, models fail in both directions. Without authorization context, they carry out both halves of 55\% of pairs, and joint pass is 5.8\%. With a source label on each tool result and a list of the user's capabilities, joint pass rises to 49\%, but models still fail 37\% of authorized requests on average. An oracle that blocks every unauthorized call raises joint pass only to 63\%, because it cannot make the model complete an authorized action. Authorization checks belong in the harness, and failures on authorized requests are an open problem for models. Code: https://github.com/wang-research-lab/SudoBench. Data: https://huggingface.co/datasets/WangResearchLab/SudoBench.

Link
https://doi.org/10.48550/arxiv.2611.35886
Found by
DataCite
Authors
Vincent Siu, Tianneng Shi, Shangding Gu, Zhun Wang, Dawn Song, Chenguang Wang
Categories
benchmark, dataset, agentic
Published
2026-11-30
Last seen by the radar
2026-12-01
Citations
0
Downloads
0
Views
0
Radar score
47.91 / 100 (how it is scored)
Why it scored so
Matched: agents~benchmark, benchmark, dataset; Primary record: DataCite
Related links
https://arxiv.org/abs/2611.35886
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by DataCite