• Isolate
  • Control
  • Observe
  • Safe by default

For a more
open AI ecosystem

Give AI tools
permissions,
not your
machine.

An open-source permission layer and sandbox for AI tools and MCP servers.

Open source · MIT licensed · Fail closed

Get startedView on GitHub
> npm i -g warden-sandbox-cli@beta

18

MCP servers tested

8/8

Linux proof checks passed

7/7

attack simulations contained

0

access granted by default

AI tools

Warden is an open-source permission layer and sandbox for AI tools and MCP servers.

Control what AI tools can access, filesystem, network, environment variables, and runtime limits. Deny by default, fail closed, and keep a full audit trail.

Deny by default

Fail closed

Fully auditable

See every action

Open source

MIT licensed

Install
> npm i -g warden-sandbox-cli@beta

Deny by default · fail closed

Sandbox
  • Filesystem
  • Network
  • Environment
  • Runtime limits
Policywarden.yml
1# warden.yml
2version: 1
3command: ["npx", "your-mcp-server"]
4filesystem:
5 read:
6 - ./project
7 - ./tmp
8 write:
9 - ./output
10network:
11 allow:
12 - api.github.com
13 - registry.npmjs.org
14 deny:
15 - "*"
16env:
17 allow:
18 - NODE_ENV
19 - OPENAI_API_KEY
20limits:
21 memory_mb: 512
22 timeout_s: 300
ExecutionRunning in sandbox...
10:34:01INFOStarting sandbox for task "analyze-repo"...
10:34:01INFOLoading policy from warden.yml
10:34:01✓ ALLOWRead file /project/package.json
10:34:01✓ ALLOWRead file /project/src/*.ts
10:34:01✓ ALLOWNetwork request https://api.github.com
10:34:02✓ ALLOWNetwork request https://registry.npmjs.org
10:34:02✓ ALLOWEnvironment variable OPENAI_API_KEY
10:34:02✗ DENYWrite file /etc/passwd
10:34:02✗ DENYNetwork request https://malicious.example.com
10:34:02✗ DENYEnvironment variable AWS_SECRET_KEY
Task completed · 7 actions · 5 allowed · 2 blocked
Permission layerIsolated execution
  • Filesystem
  • Network
  • Environment
  • Runtime limits
warden
  • AI tools
  • MCP servers
  • Custom agents
  • Any runtime
02

AI tools run with your permissions.

A local agent or MCP server can inherit access to files, environment values, and network destinations available to the user who started it. Warden turns that implicit access into explicit policy.

Files

Keep project access separate from credentials, home directories, and unrelated folders.

Secrets

Pass only the environment names a tool actually needs, never the whole shell.

Network

Allow specific APIs and block undeclared destinations before a connection opens.

04

Same tool. Smaller boundary.

A local tool inherits the permissions of the user who started it. Warden replaces that implicit access with an explicit allowlist, so a request that is not written down cannot happen.

Without warden

Inherits your session

  • read ~/.ssh/id_rsareadable
  • read .envreadable
  • connect api.anywhere.comreachable
  • run rm -rf ~executes

Access is limited only by what your user account can already reach.

With warden

Explicit policy, deny by default

  • read ./src/**allowed
  • read .envdenied
  • connect api.github.comallowed
  • connect api.openai.comdenied
  • run rm -rf ~denied

Everything outside the policy fails closed before execution.

Illustration of policy scope, not a live security test. The verification harness and platform notes are published separately.

05

Let the agent edit code. Keep credentials out of sight.

Warden gives Claude, Codex, OpenCode, or another local coding tool a temporary sanitized project. The agent can work on the code it needs without receiving the values you declare as protected.

Hide selected values. Environment names and file fields become opaque placeholders.

Review before applying. Warden shows sanitized changes and waits for your approval.

Fail safely. Failed sessions, tampered placeholders, and rejected reviews leave the host unchanged.

Read the agent workspace guide
Agent workspaceagent-policy.yaml
review required
1agent:
2 workspace: ./project
3 redaction:
4 apply: review
5 env: [OPENAI_API_KEY]
6 files:
7 - path: .env
8 format: dotenv
9 fields: [DATABASE_URL]

Agent sees

DATABASE_URL=<WARDEN_HIDDEN>

OPENAI_API_KEY=<WARDEN_HIDDEN>

Host changes

sanitized diff

human approval

06

See how Warden is verified.

The project publishes compatibility fixtures, sandbox proof harnesses, and platform-specific limitations. Verification maturity differs by operating system.

18

MCP fixtures

8/8

Linux proof checks

7/7

attack simulations

MCP compatibility fixtures are tracked against the published test matrix, the boundary is only as good as what is measured.

Read the verification notes →
07

Built for a safer AI ecosystem.

Run AI tools and MCP servers with clear boundaries, fail-closed security, and zero trust by default.

Explicit permissions

Every file path, network host, and environment variable a tool can access is declared in a single policy file.

Fail-closed security

Blocked by default. If an action is not explicitly allowed, it cannot run, no prompts, no surprises.

Full audit logs

Every tool call is logged with timestamps, target, and decision, so you can trace exactly what happened.

Open source

MIT licensed and fully transparent. Inspect the code, audit the security model, and contribute.

08

Run anywhere.

Warden uses the sandbox primitives already present on your machine, no VM, no container requirement, no cloud relay.

macOS

macOS 13+ on Apple Silicon

Linux

Ubuntu, Debian, Fedora, and more

Windows

Windows 11 x64

Docker

Run in Docker or Docker Compose

Start here

Start with one local tool.

Install Warden, define what your tool needs, and keep everything else outside the boundary.

> npm i -g warden-sandbox-cli@beta

Pre-1.0 · MIT licensed · Runs locally. Verification maturity differs by operating system.