# Interface SandboxExecutionOptions

Options for sandboxed execution.

interface SandboxExecutionOptions {
cwd?: string;
env?: Record<string, string>;
policy: SandboxPolicy;
limits?: Partial<ResourceLimits>;
}

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:186

##### Index

### Properties

cwd?
env?
policy
limits?

## Properties

### `Optional` `Readonly` cwd

cwd?: string

Working directory.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:188

### `Optional` `Readonly` env

env?: Record<string, string>

Environment variables (will be filtered by policy).

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:190

### `Readonly` policy

policy: SandboxPolicy

Policy to apply.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:192

### `Optional` `Readonly` limits

limits?: Partial<ResourceLimits>

Override resource limits.

- Defined in packages/nexus-agents/src/security/sandbox/sandbox-types.ts:194