Skip to main content
Guests export memory, alloc(i32) -> i32, and an execution function (i32, i32) -> i64. The only import is sandbox_v1::host_call, which carries a typed JSON request.

Operations

Credential operation
The provider adapter injects or refreshes credentials in the host. OAuth tokens are never returned to guest memory, and secret-shaped provider output is blocked.

Network behavior

Requests use platform TLS validation, bounded timeouts and response size, cancellation, rate limits, sensitive-header rejection, and re-authorization of every redirect. Declare the narrow provider API domain instead of a broad parent domain.

No ambient access

Filesystem, process, environment, sockets, IPC, and undeclared WebAssembly imports are denied by the runtime. If a guest needs approved file content, use file_picker_read; it never grants a raw filesystem API.