The AI Access
Firewall
Ward encrypts your local .env into .env.vault, routes secret-backed commands through a local broker, and injects envs only into approved child processes - so Claude, Codex, and Cursor can run your project without ever reading your secrets.
Your .env is one prompt
away from leaving your machine.
AI agents now run real commands in your repo. The moment one has terminal access, your plaintext .env is fair game - it can read it, print it, or pipe it straight to a remote host.
Secrets managers store secrets safely.
Ward governs the moment they're used.
Encrypt once. Broker every command.
A local broker stands between every command and your secrets. Nothing runs with access it didn't ask for.
Encrypt
Your .env becomes an encrypted .env.vault. The protected state keeps a locked marker instead of a usable plaintext dotenv file.
Request
An agent declares its identity, git context, command profile or raw command, and the exact env scope it needs to run.
--agent --profile --worktreeApprove
The broker applies policy, checks grants, flags suspicious behavior, and asks you when human approval is required.
grant · approve · denyInject & log
Secrets are injected only into the approved child process - and every request, approval, denial, and execution is recorded.
scoped · auditedYou work freely. Agents work on a leash.
Ward knows the difference between a human at the keyboard and an AI agent driving the terminal - and treats them accordingly.
You, working normally
Activate a protected session and your everyday commands just work - broad by design, because it preserves your flow.
- ✓
pnpm dev,next dev,cargo runget the env they need automatically - ✓Session-scoped - envs are available only while the broker and guardian session are active
- ✓No prompts mid-flow. Protection without friction.
The AI, on the record
Agents must identify themselves and declare exactly what they intend to do. Scoped, passive, and fully auditable.
- ◆Must declare agent identity, profile or command, worktree, branch, remote, commit & env scope
- ◆Policy + suspicious-behavior detection run before anything executes
- ◆Blocked requests can wait for dashboard or terminal approve / deny
Ward catches exfiltration
before it runs.
When a request combines secret inspection with network tooling, Ward flags it as critical and restricts your choices to a safe default.
Watch every agent —
from one local window.
Run ward dashboard start and Ward serves a full control panel at 127.0.0.1:7777 — every project, vault, session and audit event in one place. It runs entirely on your machine: no account, no cloud, no telemetry.
Open a protected session at your keyboard. Your everyday commands run freely while the vault stays encrypted at rest — and the dashboard shows the session as active.
Boots the local broker UI and opens 127.0.0.1:7777. Watch requests, approvals and executions stream in as your agents work.
Every project at a glance
Config, session, store and agent status across your whole machine — active, locked, or stale.
Vaults & profiles
Inspect env names and profile policies like dev → pnpm dev, per project, without ever printing a secret.
Live audit log
Requests, approvals and executions stream in. Filter by kind, agent or severity in real time.
Critical findings, surfaced
Exfil attempts like echo $SECRET | curl … are flagged critical the moment they're requested.
Fits the way you actually work.
Ward understands the structure of modern projects - not just a single flat env file.
Worktree aware
Per-package and per-worktree scopes, so the right secrets reach the right service.
Command profiles
Predefine dev, migrate, and seed with the env each one needs.
Branch-scoped grants
Approve for a branch and it expires when you switch context.
Migrations & scripts
Database tasks and one-off scripts get exactly the keys they require - nothing more.
Local dev servers
Long-running servers stay protected for the whole session, no re-prompting.
Recovery key flow
A sealed recovery key gets you back in if you lose access - without weakening the vault.
Locked at rest. Scoped in motion.
Your secrets never touch disk in the clear - and they're only ever live for the command you approved.
Protect a project
in seconds.
ward setup encrypts your env, wires up your ignores, and writes the agent contract - then unlocks your session.
Let AI run commands,
not steal secrets.
Local-first. Zero trust for AI agents. Install Ward and keep your .env encrypted while your agents work.