---
library: "bootstrap"
slug: "Sandbox"
name: "Sandbox"
ref: "Sandbox#7106"
hash: "sema:Sandbox#mh:SHA-256:7106e315b4bf7c5bd418fbab5c18e54be940367f77b8bde4756d1cb95beaa16b"
type: "Primitives"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Sandbox"
---

# Sandbox

Isolation boundary

Infrastructure · Primitives

## Mechanism

An isolated execution environment that restricts side effects.

## Invariants

- No effect crosses the isolation boundary except through a declared channel.
- Resources consumed inside are bounded independently of the enclosing system.

## Failure modes

- Unconstrained vector permits escape from the isolation boundary.
- Resource exhaustion within the sandbox affects the enclosing system.

## Caution

Escape vectors may exist in unaudited system call surfaces.

## Where this came from

—

## Used by

- [AgentSandbox](https://semahash.org/vocabularies/bootstrap/patterns/AgentSandbox.md) (references)
- [Probe](https://semahash.org/vocabularies/bootstrap/patterns/Probe.md) (references)
- [Simulation](https://semahash.org/vocabularies/bootstrap/patterns/Simulation.md) (references)
- [ToolInvoke](https://semahash.org/vocabularies/bootstrap/patterns/ToolInvoke.md) (references)

## Related

- [AgentSandbox](https://semahash.org/vocabularies/bootstrap/patterns/AgentSandbox.md)
- [CircuitBreaker](https://semahash.org/vocabularies/bootstrap/patterns/CircuitBreaker.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Sandbox#7106
- Hash: sema:Sandbox#mh:SHA-256:7106e315b4bf7c5bd418fbab5c18e54be940367f77b8bde4756d1cb95beaa16b

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Sandbox
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Sandbox.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
