Pandora's Toolbox Or Why Agent Safety Cannot Be Verified

Mario Franco, Carlos Gershenson
11/19/2026
cs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{franco2026pandoras,
  title  = {Pandora's Toolbox Or Why Agent Safety Cannot Be Verified},
  author = {Mario Franco and Carlos Gershenson},
  year   = {2026},
  eprint = {2611.25325},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.25325v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.25325.svg)](https://codeofpaper.com/paper/2611.25325)

Discussion