Pandora's Toolbox Or Why Agent Safety Cannot Be Verified
Mario Franco, Carlos Gershenson
Key points
From the paper's conclusion- We also discuss relaxed notions of safety that could be used in practice.
Abstract
Present artificial intelligence agents are constructed by means of a coupling between a fixed language model with a general computing device. We show that this coupling makes safety undecidable. In particular, we show that given some dangerous program, no algorithm can predict whether an agent will run such a program that is semantically equivalent. In general, guardrails, blacklists, whitelists and certifications can only lead to imperfect safety solutions. Under finite constraints (bounded context, values and running time) safety is decidable but still intractable. Specifically, the problem is $\mathsf{PSPACE}$-complete even when the description of the agent is known. Finally, safety is not a compositional property, i.e., agents that can be proven safe on their own can still produce unsafe behavior when grouped together. We also discuss relaxed notions of safety that could be used in practice.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- No finite rulebook can certify every safe program: an impossibility theorem for gatekeeping AI agentsarXiv · 2026
- No Perfect Guardrail & No Perfect Guard: On the Decidability of Output Policies for Large Language ModelsarXiv · 2026
- Local Allow, Global Deny: Why Per-Action Authorization Does Not Compose in LLM AgentsarXiv · 2026
- Safety Is $\Pi_1$, Provability Is $\Sigma_1$: One Framework for the Hugging Face Breach and OpenAI's Mathematical ProofsarXiv · 2026
- AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent ExecutionarXiv · 2026
- The Self-Improvement ProblemarXiv · 2026