Glossary · AI security & threats
Sandboxing
also: sandbox, isolated execution
In short
Running an AI agent or its actions in an isolated environment with limited rights and without direct access to production systems. Allows actions to be tested and contained before they have a real effect.
Reference: Own assessment; cf. ISO/IEC TR 24028
What it means
A sandbox is an isolated environment with limited rights. What happens inside it does not reach production systems, real customer data or the company network, or only through controlled paths. For AI this has two uses. An agent that runs code, edits files or operates a computer works inside the sandbox, so that an error or an attack stays there. And new models, tools or prompts are first tried out in the sandbox before they go into operation.
ISO/IEC 27090:2026 names restricted environments with explicitly allowed actions in 6.11.3.3 as the appropriate boundary for agents that operate a computer. From classic information security come the separation of development, test and production environments (ISO/IEC 27001:2022, Annex A 8.31) and the segregation of networks (A 8.22). A sandbox only works if its boundaries are enforced technically. If the agent holds credentials for real systems inside it, the isolation is worthless.
In practice and in the audit
For every sandbox, check three boundaries: which outbound network connections are allowed, which data is inside, which credentials are stored there? The safest option is an environment that is rebuilt fresh after every task and contains only test data. Results that are meant to leave the sandbox for operation, such as code or configuration, only get there through a review with approval.
Security reviews of AI applications also belong in an isolated environment, so that nothing from the reviewed code can do harm. For agents in manufacturing the same applies in a stricter form: changes to controllers are first tried on a simulation or a test rig. In an audit, an auditor asks how the sandbox is separated from operations and who decides what may leave it.
References in standards and law
I cite standards by clause number and in my own words, never verbatim. Legal texts link to EUR-Lex.
- ISO/IEC 27090:2026, 6.11.3.3Restricted environments with allowed actions for agents that operate a computer.
- ISO/IEC 27001:2022, Annex A 8.31Separation of development, test and production environments.
- ISO/IEC 27001:2022, Annex A 8.22Segregation of networks.
Frequently asked questions
Is a container enough as a sandbox for an AI agent?
A container can be a good basis if network access, file system and credentials are deliberately restricted. What decides is what the agent can reach from inside it.
Related terms
Further reading in the insights
Matching service
Review of self-built AI software
I review your source code in isolation before the application reaches customers. Nothing from your code runs where it could do harm.
To AI securityAuthor: Lars Zimmermann
Term and explanation in my own words. Researched to the best of my knowledge and reviewed for accuracy.