Secrets your AI agents can use, but never see.
Guardrails between coding agents and your credentials: no .env files, nothing for the agent to read or leak.
Over your own git-synced vault, or the secrets store you already use.
Why pazz · Install · Quick start · Commands · Usage · Docs · Security
Note
Pre-release. pazz is new, hasn't had an independent security audit yet, and may change before 1.0. Feedback is very welcome. It's free software provided as is: no warranty, and no liability for any loss, including leaked secrets (details).
Coding agents now run commands with real access on developers' machines and in CI, often with .env files in reach. Developers need the same access to troubleshoot, debug and analyse real data. pazz lets both use secrets without them ending up in chat logs, transcripts or the wrong hands. The same vault can also serve agents you deploy, though in production a cloud secrets manager or workload identity is often the better fit (deployed agents).
pazz follows Anthropic's and OpenAI's published guidance for agents and credentials: sandbox the agent, keep credential files out of its reach, give it the least it needs for no longer than it needs it, and add credentials outside its boundary, on the way out. An industry review in September 2026 found that in every coding agent's built-in sandbox the credentials still reach the commands the agent runs; pazz's broker and placeholders address that. They protect what pazz holds: other credential files in your home folder (~/.aws, ~/.ssh, CLI logins) stay readable to an agent in Claude Code's sandbox unless you use a deny-by-default sandbox such as nono (how the pieces fit).
pazz claude # Claude Code in its sandbox; pazz is its only way to secrets
pazz run -- npm run migrate # $DB_URL is injected; any echo of it comes out as ***pazz is the guardrail between an agent and your credentials. It doesn't replace your password manager, but it brings a vault of its own, encrypted files in a git repo you own, synced across your machines and to the agents you deploy, so you need nothing else. Already on 1Password or HashiCorp Vault? pazz sits in front of that instead.
- Agents use credentials without seeing them.
pazz claudeandpazz codexstart the agent in its own OS sandbox, where no store, key or login is in reach and pazz is the only way to secrets. Commands get values; output is masked as***. - No more
.envfiles. Secrets live encrypted in your vault, settings (ports, URLs, flags) in a committedpazz.toml, andpazz rungives a command both;pazz importmoves existing files in. - Placeholders for API keys and databases. A key tagged with its host never enters the sandbox: the agent holds a placeholder that is swapped for the value only on requests to that host. A tagged Postgres URL works the same way: pazz logs in for the agent.
- Production stays out of reach. Agents get
devandtest;prodopens only when you allow it for one session, to run with and to add new entries you approve one at a time, never to replace or remove what is there. - Nothing in the chat log. Agents ask for missing keys in a dialog they can't read, a prompt guard stops you pasting one by mistake, and
pazz scanfinds your actual values leaked into files, commits and transcripts. - Your own vault, synced everywhere. Plain age files in a git repo you own, on every machine you develop on and in the agents you deploy, recoverable without pazz, with a signed manifest that catches tampering and rollback. No account or server to run.
- Or the store you have. HashiCorp Vault and OpenBao are built in, 1Password and Himitsu come as ready helpers, and any other store connects through a small helper (backend vaults). Values, access control and audit stay in the store.
- One tool for the whole path. Your laptop, dev containers, CI and deployed agents, under the same rules.
| Use | Fit | Notes |
|---|---|---|
| A developer's own machines (macOS, Linux) | yes | Built for this. Sandboxed sessions verified end to end with Claude Code and Codex on macOS; on Linux, Claude Code's sandbox blocks the broker socket; other sandboxes with nono; dev containers with podman on macOS and on Windows, natively or through WSL2. |
| Deployed agents, CI, cloud dev environments | yes | Verified with real containers (sidecar + agent), and the documented Kubernetes pod runs under podman kube play; not yet on a real cluster. Where your platform has a secrets manager or workload identity, that may fit better. |
| Small teams sharing a vault | yes | Through git, with recipients per folder or environment. Anyone who can sign the vault can change it. |
| Teams on an enterprise secrets store | partly | pazz can front the store for agents: HashiCorp Vault and OpenBao built in, others through a helper. SSO, central policy, audit and offboarding remain the store's. pazz itself has no independent audit yet. |
| Native Windows (outside WSL2) | partly | The vault, git sync, autosync (Task Scheduler), run, scan and dev containers work; no OS sandbox, so pazz claude and pazz codex run the agent in a container that mounts only the project. See compatibility. |
| Browser logins, autofill, phones | no | Use a full password manager; pazz is for developer and agent secrets. |
Check what works on your platform first: macOS, Linux, WSL2 and native Windows differ, most of all for sandboxed agents.
cargo install --locked --git https://github.com/inzinity/pazz-cli # from source (Rust 1.88+)There are no binary releases yet: until the first one, build from source as above (on native Windows with the MSVC toolchain, details). Releases will be GitHub pre-releases with a one-line installer and a Homebrew tap; pazz isn't on crates.io.
You also need git. gh is optional; pazz init --github uses it to create the vault repo.
pazz init --github # create a vault and a private GitHub repo for it
pazz unlock --ttl 8h # enter your passphrase once; a background agent holds the key in memory
cd ~/Projects/myapp
pazz import # .env into the vault (name .env.<env> files to import those); delete the files after
pazz set PORT 3000 # a setting, not a secret: goes in pazz.toml, committed
pazz insert db-url -k postgres -d "app database" # hidden prompt, or piped stdin
pazz --env prod insert db-url # a different value for prod
pazz tag stripe-key --host api.stripe.com # agents get a placeholder, never the key
pazz run -- npm test # shared value as $DB_URL
pazz run --env prod -- ./deploy.sh # prod value
pazz claude # or pazz codex: the agent in its sandbox
pazz sync # pull, verify, merge, push
pazz doctor # anything to fix?Already running HashiCorp Vault or OpenBao? Skip init and unlock:
pazz vault add team --backend vault --backend-arg addr=https://vault.example.com
pazz bind team ~/Projects/myappOn another machine, run pazz init --remote <repo-url> --fingerprint "<code>", where the code is what pazz trust fingerprint prints on your first machine (after a pazz sync there), then pazz unlock with the same passphrase. The fingerprint makes sure nobody who can push to the remote has added a reader or signer of their own.
| Command | Does |
|---|---|
pazz init |
create your vault, once per machine (--github makes a private repo for it) |
pazz insert NAME / pazz import |
add a secret from a hidden prompt; move .env files into the vault |
pazz set NAME VALUE |
add a setting (not a secret) to the project's committed pazz.toml |
pazz run -- CMD |
run a command with this project's secrets as env vars, output masked |
pazz claude / pazz codex |
start the agent in its sandbox, with pazz as its only way to secrets |
pazz tag NAME --host HOST |
agents get a placeholder that works only on requests to that host |
pazz ls / pazz find WORD |
see what's stored, or search names, keywords and descriptions |
pazz scan |
find stored values leaked into files, commits or agent transcripts |
pazz sync |
pull, verify and push the vault |
Organising secrets and vaults, settings, sessions, containers, deployments, syncing, recovery, every command and environment variable: docs/usage.md.
flowchart LR
subgraph box["Agent's OS sandbox"]
agent["Claude Code / Codex"] --> cmd["pazz run -- npm test"]
end
subgraph outside["pazz, outside the sandbox"]
broker["Broker<br/>checks every request"]
unlock["Unlock agent<br/>key in memory"]
end
vault[("Your git vault<br/>age files")]
store[("or your store<br/>Vault, 1Password, …")]
remote[("Your git remote")]
cmd -- "request" --> broker
broker -- "values, to this<br/>command only" --> cmd
broker --> unlock
broker --> vault
broker -.-> store
vault <-- "signed sync" --> remote
- At rest: by default every secret is an age file in a git repo you own, under a signed manifest. A backend vault leaves values in your store.
- In use:
pazz runhands values to one command as environment variables and masks them in its output as it streams. - With agents: the agent runs in its OS sandbox, which denies it the vault, the key and pazz's config, so a per-session broker is the only way to secrets. It serves one project and its allowed environments, and never returns a value except to
pazz run's command. Host-tagged API keys and Postgres URLs reach the sandbox only as placeholders. - In dev containers and deployments: the same broker, served over the container engine's
execpipe or by a sidecar with a read-only machine key for one folder. - What depends on the agent vendors: the OS sandbox for
pazz claudeandpazz codexis the agent's own, configured by pazz; under Claude Code, its own proxy holds host-tagged keys; the tool-call check and prompt guard are agent hooks. The broker, pazz's own placeholder proxy, Postgres placeholders, production protection and the vault are pazz's. Hooks are conveniences: if one doesn't run, the sandbox and broker still hold. Vendor releases can change sandbox settings, so re-check after upgrading an agent (compatibility); nono, a container or a separate OS user give a sandbox that doesn't depend on the agent.
Goals, diagrams and trust boundaries: docs/architecture.md.
Password managers with agent access (1Password, Bitwarden Agent Access) are the better place to store, share and audit secrets, but don't stand between an agent and the vault. Credential gateways (Infisical Agent Vault, OneCLI) keep API keys out of the agent, but don't set up its sandbox or keep production from it. Encrypted files in git give no boundary at run time. pazz brings the boundary together: the agent's sandbox set up for you, a broker as the only route to secrets, production out of reach, and placeholders for API keys and Postgres for any agent, over your own vault or in front of the store you run. The established tools are audited and have teams behind them; pazz is young and not yet audited. Full comparison and sources: docs/agents-and-credentials-2026.md.
pazz is opinionated. These are the rules it is built to:
- Agents use secrets, never see them. Values go to the command that needs them, never into the conversation; host-tagged API keys and Postgres logins not even to that command.
- The core decides, plugins answer. Who is calling, scope, environments, protection, approvals, what is released and the log are the core's:
pazz-coreholds the rules and decides, for direct commands and brokered requests alike;pazz-brokerapplies its decisions to every request. Stores, sandboxes, relays and agent adapters only answer narrow questions, and their answers are checked. - Fail closed. A store that fails or answers garbage, a helper that changed, a sandbox that isn't available, an agent too old to mask, a deployment's expired vault state: each stops the operation rather than guess.
- Convenient by default.
pazz claudeneeds no setup per project. Unprotected environments such as dev and test are open to agents without prompts; a protected one such as prod opens only for one session you start, with each release approved. - Build on what exists. The agent's own OS sandbox, the secrets store you already run, plain age and git.
- Your data stays yours. Plain age files you can decrypt without pazz, or values that never leave your store.
- Least privilege, time-bound. One project per session, one folder per deployment. Sandbox grants expire after 30 days, signed vault states after 14, deployment tokens after 90; a placeholder is worth something only on requests to its hosts, and a broker's only to the run it was issued to.
- Open, versioned formats. Vault format 2, store helper protocol v1 and pazz broker protocol v1 are written down in docs/spec/, so other tools can read a vault or talk to pazz.
The core is small and meant to be audited on its own; everything else is a plugin in its own crate:
| Part | Answers | Crates | Today |
|---|---|---|---|
| Core | every decision | pazz-core, pazz-broker |
the rules, and the broker that serves sessions, other sandboxes, dev containers and deployments |
| Stores | which names exist, their values and metadata | pazz-store-age, pazz-store-helper |
the git vault (default); HashiCorp Vault and OpenBao built in; 1Password, Himitsu and any other store through a helper |
| Agents and sandboxes | the agent's sandbox config for the core's plan; which flags would open it | pazz-agents, pazz-sandbox-container |
Claude Code's and Codex's own sandboxes; a container on native Windows and in dev containers; any other agent through PAZZ_BROKER |
| Injectors | carry a released value to where it is used | pazz-proxy, pazz-pg, pazz-http |
HTTP and Postgres placeholders; environment variables for one command (pazz run, in the CLI) |
The CLI (the root package) is the program around them: commands, the unlock agent, sync and deployments. How the parts fit: docs/architecture.md; exact rules, formats and protocols: docs/spec/.
pazz lowers the risk of using AI agents around credentials. It does not remove it, and no tool can.
- An agent that can use a secret could still misuse it on purpose, for example by sending it to an outside server. pazz keeps values out of the chat and transcripts and masks them in output; host-tagged API keys reach agents only as placeholders. Network limits and
--confirmnarrow the rest. - Agents can be manipulated. Content they read can carry instructions (prompt injection). pazz's boundaries are enforced by the OS and the broker rather than the model's judgment, but an agent can still misuse whatever it is allowed to reach.
- Whatever an agent sees leaves your machine. Prompts, tool output and file contents go to the model provider. Don't paste secrets into a chat; use
pazz insertin your own terminal, or let the agentpazz requestthem. If a secret did reach a conversation, rotate it. - Values used by a command are visible to that command. Code an agent runs with
pazz runcan read the values it was given. Host-tagged API keys and Postgres URLs are the exception: the command holds only a placeholder. - Keep access small. Prefer sandboxed sessions, keep production protected, and give agents the least powerful credentials the task needs: test-mode keys, read-only tokens, short lifetimes.
- Review what agents did: their commits,
pazz git log(or your store's audit log) andpazz log. Runpazz scan --agentsnow and then. - Re-check after upgrades. Sandbox settings are vendor configuration and change between releases. Re-run
scripts/e2e-agents.shafter updating Claude Code or Codex. - About pazz itself: it was designed and written with substantial help from AI coding agents, directed and checked by a human, and has not been independently audited. Do your own security review before you use it, and have it audited before relying on it for credentials that matter. SECURITY.md and docs/AUDIT.md are the starting points.
pazz is free, open-source software, provided "as is", without warranty of any kind, express or implied. That includes fitness for a particular purpose, security, and freedom from defects. In no event shall the authors or contributors be liable for any claim, damages or other liability, including data loss, breaches or disclosure of secrets, arising from the software or its use. The MIT and Apache-2.0 licences (sections 7 and 8) state these terms, and they govern. Nothing in this README or the docs is a promise or warranty. Descriptions of what pazz does, or of the practices it follows, describe its design, not guarantees.
You are responsible for:
- deciding whether pazz fits your use, including your own security review and any audit;
- protecting your passphrase, keys, tokens and devices;
- backing up your vault;
- rotating credentials that may have been exposed.
Feedback is welcome: ideas, questions, bug reports, and especially anything you find in your own review. Open an issue. Report security problems privately (see below), never in a public issue.
Report vulnerabilities privately through a GitHub security advisory, not a public issue. SECURITY.md has the reporting process, a summary of the threat model and the known limitations; the full model is docs/spec/threat-model.md, and docs/README.md indexes the rest, including the audit package.
scripts/ci.sh # format, lint, cargo deny, all tests; this OS plus Linux in a container
git config core.hooksPath .githooks # run it before every pushTests never touch your real vaults. CONTRIBUTING.md covers GitHub CI, maps tests to areas and lists the end-to-end checks; docs/AUDIT.md describes every module.
Licensed under either of the Apache License, Version 2.0 or the MIT license, at your option. Unless you state otherwise, any contribution you intentionally submit for inclusion is dual-licensed as above, without additional terms or conditions.
Both licences disclaim all warranties and limit liability; see No warranty, no liability.
Built by Stefan Zvonar.
