Computer Science > Artificial Intelligence
Title:SudoBench: A Contextual Authorization Benchmark for LLM Agents
Abstract: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: this https URL. Data: this https URL.
| Comments: | Accepted to NeurIPS 2026 E&D Track |
|---|---|
| Subjects: | Artificial Intelligence (cs.AI) ; Cryptography and Security (cs.CR) |
| Cite as: | arXiv:2611.35886 [cs.AI] |
| (or arXiv:2611.35886v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35886 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.