Agents and Risk.
Give it only the access the task needs, run it where mistakes are cheap, and ask before anything irreversible.
Answers can be wrong; actions can be wrong and irreversible. An agent with a shell can delete a directory, an agent with email can send a message, an agent with a payment tool can spend. Harm comes from two sources: the agent’s own mistakes, and injected instructions — text in a web page, file or tool result, written by someone other than the user, that the model reads and mistakes for instructions, because to a language model everything in the context is text (plate XXV.2). This plate is about defences; it shows no attacks.
The defences come from computer security. Least privilege: give the agent only the tools and permissions the task needs. Sandboxing: run it in an isolated environment where damage is contained and reversible. Confirmation: require a human to approve consequential actions. Separating data from instructions: designs in which content the agent reads cannot change what it is allowed to do — for example, a planner that sees only the user’s request decides the allowed actions before any untrusted content is read (CaMeL, Debenedetti et al., 2025). The workshop models 1 000 tasks with the chosen exposure to untrusted content and the chosen defences, and counts harmful actions that get through.
Below: expected harmful actions per 1 000 tasks with each defence added in turn; readouts give the total with the chosen defences and the confirmations asked of a person.
- Name the two sources of agent harm.
- Describe four layers of defence.
- See defences multiply.
- Weigh safety against interruptions.
Layers multiply
With half of all tasks reading untrusted content and no defences, the model predicts about 105 harmful actions per 1 000 tasks — most from being misled, a few from the agent’s own mistakes. Least privilege, confirmation, separation and a sandbox each remove a share of what is left, and because they act on different things their effects multiply: with all four the expected count falls to 0.040. The price of confirmation is interruptions — 400 approvals per 1 000 tasks with least privilege narrowing what needs asking, against 2,000 without.
No single layer suffices. Training models to resist misleading content lowers f but does not make it zero; confirmation fails if people approve without reading, which they do when asked too often; sandboxes do not protect anything the sandbox can reach, such as credentials placed inside it. The durable designs make the safe path structural — permissions decided before untrusted content is read, consequential actions gated outside the model — rather than relying on the model to always notice. Vol. XXX returns to how agent risks are assessed at the frontier.
Terms
- Injected instruction
- Text in content the agent reads that tries to direct it.
- Least privilege
- Granting only the permissions a task needs.
- Sandbox
- An isolated environment where actions are contained and reversible.
- Confirmation
- Human approval before a consequential action.
Sources
- Greshake et al., “Not What You’ve Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection”, AISec 2023.
- Debenedetti et al., “Defeating Prompt Injections by Design” (CaMeL), arXiv:2503.18813, 2025.
- Saltzer and Schroeder, “The Protection of Information in Computer Systems”, Proceedings of the IEEE, 1975 (least privilege).