SudoBench: A Contextual Authorization Benchmark for LLM AgentsSudoBench: A Contextual Authorization Benchmark for LLM Agents
Quick read
Based on the paper's full text (AI-generated); refer to the original
Researchers from UC Berkeley and other institutions propose SudoBench, which uses 135 paired scenarios to evaluate the contextual authorization decisions of LLM agents, covering three types of attacks: confused deputy, provenance-labeled indirect prompt injection, and scope-check indirect prompt injection. An audit of four OpenClaw-family runtimes, including OpenClaw and NemoClaw, found that none of them pass a stable user identifier or a user permission list to the model. On ten frontier LLMs, without authorization context, the models also executed requests that should have been denied in 55% of the pairs, with a joint pass rate of only 5.8%; after adding provenance labels and permission lists, the joint pass rate rose to 49%, but on average 37%–39% of authorized requests still failed to complete; adding an oracle check that blocks all unauthorized calls raised the joint pass rate only to 63%. The authors therefore argue that authorization checks should be placed in the harness, that models failing to perform authorized tasks remains an open problem, and that the code and data are open-sourced.
- LLM agents act on behalf of users in handling content written by others, and need to judge who issued an instruction and what authority that party has. The OpenClaw-family runtimes audited by the authors only check whether a message can reach the agent, then pass each instruction to the model as plain text, leaving the model with almost no evidence for nearly all authorization decisions.
- The authors propose SudoBench, containing 135 paired scenarios covering three attack types: confused deputy, source-label IPI, and scope-check IPI; each pair changes only one runtime field, and for the same request one half must be executed and the other half must be refused, with a pass requiring both halves correct. Ten frontier LLMs are tested, comparing conditions including no context, source labels, capability list, both, and oracle interception.
- Without authorization context, the model executed both halves in 55% of pairs, with a joint pass of only 5.8%; adding source labels and a capability list raised joint pass to 49%, but on average 37% of authorized requests were still refused. An oracle intercepting all unauthorized calls raised joint pass only to 63%, because it cannot get the model to complete authorized actions.
- Source-label IPI assumes a verified internal colleague can delegate tasks; the refusal half passes if no call is made within five turns, and partial passes may be for the wrong reason; results come from a single run, with a mean difference of 3.0 points on rerun; the forgery test used only simple forgery, and adaptive attacks may be more effective; the scenario is a fictional workspace, and actions initiated autonomously by the agent are out of scope.
The paired scenarios assess both directions, execution and refusal; the results show that runtime enforcement can only block unauthorized calls and cannot make up for authorized tasks that the model fails to perform.
Related events and news
1 events · 0 news mentions
- This event's paper
SudoBench 评测 LLM 智能体上下文授权