LocalSandboxConfig
@forge/monorepo / backend/src / LocalSandboxConfig
Type Alias: LocalSandboxConfig
LocalSandboxConfig =
object
Defined in: backend/src/toolkit/sandbox.ts:276
Properties
allowUnsafeLocalExecution
readonlyallowUnsafeLocalExecution:true
Defined in: backend/src/toolkit/sandbox.ts:284
Required, and named to be uncomfortable to type.
There is no safe default here. A shell on the runtime's own host has no isolation at all: the command runs as the runtime user, with its filesystem, its network and its credentials. That is a remote code execution endpoint reachable through content the model merely read.
shell?
readonlyoptionalshell?:string
Defined in: backend/src/toolkit/sandbox.ts:286
timeoutMs?
readonlyoptionaltimeoutMs?:number
Defined in: backend/src/toolkit/sandbox.ts:285