Skip to main content
This page documents all configuration options for @enclave-vm/browser.

Quick Example

Core Options

Console Limits

Security Level Comparison

All “varies” defaults above depend on the selected security level:

Secure Proxy Configuration

Override proxy behavior for the current security level:

Double Iframe Configuration

Configure the outer iframe security barrier:

Built-in Suspicious Patterns

These patterns are detected automatically when blockSuspiciousSequences is enabled:

Custom Globals

Inject read-only data into the sandbox. Only JSON-serializable values are supported — functions cannot cross the iframe boundary.
Custom globals are only supported with the agentscript preset (the default). Using globals with other presets will throw an error.
Each custom global is also available with a __safe_ prefix (e.g., config and __safe_config), matching the pattern used by AgentScript’s code transformation.