Intermediate•10 min read
Configuring custom sandboxed runtimes
Configure standard workspace container images, manage environment variables, and manage dependencies.
Security isolation inside VibeSite is handled at the WebAssembly VM level. This guide details how filesystem mounts and network access configurations are locked down.
1. Filesystem Access Constraints
Runtimes are restricted to specific mount directory folders. By default, write access is blocked unless specified inside the configuration parameters:
"mounts": [
{ "path": "./src", "permission": "write" },
{ "path": "./public", "permission": "read" }
]2. Domain Access Whitelists
Agents cannot perform arbitrary HTTP requests. If your workspace needs to fetch packages, you must declare permitted domains under authorization whitelists:
"network": {
"allowedDomains": ["github.com", "api.github.com", "registry.npmjs.org"]
}