Explicit permissions
Every file path, network host, and environment variable a tool can access is declared in a single policy file.
For a more
open AI ecosystem
An open-source permission layer and sandbox for AI tools and MCP servers.
18
MCP servers tested
8/8
Linux proof checks passed
7/7
attack simulations contained
0
access granted by default
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
> npm i -g warden-sandbox-cli@betaDeny by default · fail closed
# warden.ymlversion: 1command: ["npx", "your-mcp-server"]filesystem: read: - ./project - ./tmp write: - ./outputnetwork: allow: - api.github.com - registry.npmjs.org deny: - "*"env: allow: - NODE_ENV - OPENAI_API_KEYlimits: memory_mb: 512 timeout_s: 300A 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.
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.
Inherits your session
read ~/.ssh/id_rsareadableread .envreadableconnect api.anywhere.comreachablerun rm -rf ~executesAccess is limited only by what your user account can already reach.
Explicit policy, deny by default
read ./src/**allowedread .envdeniedconnect api.github.comallowedconnect api.openai.comdeniedrun rm -rf ~deniedEverything 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.
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.
agent: workspace: ./project redaction: apply: review env: [OPENAI_API_KEY] files: - path: .env format: dotenv fields: [DATABASE_URL]Agent sees
DATABASE_URL=<WARDEN_HIDDEN>
OPENAI_API_KEY=<WARDEN_HIDDEN>
Host changes
sanitized diff
human approval
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 →Run AI tools and MCP servers with clear boundaries, fail-closed security, and zero trust by default.
Every file path, network host, and environment variable a tool can access is declared in a single policy file.
Blocked by default. If an action is not explicitly allowed, it cannot run, no prompts, no surprises.
Every tool call is logged with timestamps, target, and decision, so you can trace exactly what happened.
MIT licensed and fully transparent. Inspect the code, audit the security model, and contribute.
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
Install Warden, define what your tool needs, and keep everything else outside the boundary.
> npm i -g warden-sandbox-cli@betaPre-1.0 · MIT licensed · Runs locally. Verification maturity differs by operating system.