Documentation / @agentick/sandbox-secure-exec / SecureExecProviderConfig
Interface: SecureExecProviderConfig
Defined in: types.ts:7
Properties
cpuTimeLimitMs?
optionalcpuTimeLimitMs:number
Defined in: types.ts:12
CPU time budget per exec() call in milliseconds. Default: 30_000.
memoryLimit?
optionalmemoryLimit:number
Defined in: types.ts:9
Isolate memory limit in MB. Default: 128.
moduleAccess?
optionalmoduleAccess:string|false
Defined in: types.ts:22
Host directory from which to resolve node_modules for require/import. Set to false to disable module access entirely. Default: process.cwd().
network?
optionalnetwork:boolean
Defined in: types.ts:25
Enable network access (fetch, HTTP) inside the isolate. Default: false.
persistence?
optionalpersistence:PersistenceAdapter
Defined in: types.ts:28
Optional persistence adapter for saving/restoring VFS state.
timingMitigation?
optionaltimingMitigation:"off"|"freeze"
Defined in: types.ts:35
Timing side-channel mitigation.
- "freeze" — Date.now() and performance.now() return static values (default)
- "off" — real timers, needed for code that uses timeouts/intervals
workspacePath?
optionalworkspacePath:string
Defined in: types.ts:15
Workspace root path inside the VFS. Default: "/workspace".