A sandbox without a network boundary is only half a sandbox
Source
vercel.com
Author
Brandon Tuttle
Date
Context
An AI agent's code can leak a readable file without escaping its virtual machine: unrestricted internet access already provides a route out. Vercel describes a sandbox design that controls outgoing connections from the host, outside the environment running the untrusted code.
The same BoundaryA point in a program where one part finishes its job and hands its result to another.Full definition → can add access credentials to approved requests without storing those credentials inside the sandbox. Destination and request rules limit where that authority applies. This separates permission to perform a particular operation from possession of a reusable SecretA value such as a password, key or token that lets its holder act as someone; it must be kept out of code and shared files.Full definition →, while allowing network access to narrow as a task progresses.
Terms in this piece · Glossary
Boundary — A point in a program where one part finishes its job and hands its result to another.
Secret — A value such as a password, key or token that lets its holder act as someone; it must be kept out of code and shared files.
Process — A running instance of a program, with its own working memory, open files and identity.
tool permissions — The rules governing which tools an agent may call and which need confirmation — the boundary between a mistake and an incident.