
passhold
io.github.keyrook/passhold
Zero-knowledge local MCP vault & HTTP proxy for API keys with human approval & secret scrubbing.
Documentation
Passhold
Open-source, zero-knowledge password manager & AI-agent secrets vault by Keyrook.
Chrome, Edge, Firefox, Brave, Android, Web Vault (vault.keyrook.com) & CLI (passhold mcp · passhold proxy · passhold scan).
Website · Passhold Agents (MCP) · CLI · Security Design · Releases & SHA-256 · GPL-3.0-or-later
Why Passhold
A password manager holds the keys to your online life and your production infrastructure. You should never have to trust a black box — every line of encryption, autofill, web vault, and CLI code that runs on your machine is open to inspect, build, and compare byte-for-byte against store releases.
Passhold combines two things in one zero-knowledge architecture:
- Free forever password manager (personal + family of up to 6, synced end-to-end across Chrome, Edge, Firefox, Brave, Android, and
vault.keyrook.com). - Passhold Agents (free on every account: 3 machines, 1 encrypted agent vault, zero per-call limits) — give coding tools, MCP clients, and CI scripts the ability to use API keys without reading your personal vault or seeing plaintext credentials.
Passhold Agents & CLI (0.5.1)
Install standalone binaries (no runtime dependencies) or via package manager:
brew install keyrook/tap/passhold-cli # macOS & Linux
npm install --global @keyrook/passhold-cli # Node.js 22+
# Or download macOS / Linux / Windows binaries + SHA256SUMS from Releases
Give your agent the job, never the key
- Separate encrypted agent vaults: Agent items live under dedicated vault keys completely isolated from your personal logins, cards, and passkeys.
- Local stdio MCP server (
passhold mcp): Runs locally on your machine (no hosted MCP proxy). Exposes 8 focused tools:list_items,http_request,run_command,fill_login,save_api_key,request_access,reveal, andstatus. Secrets are injected directly and scrubbed (raw, base64, hex, URL-encoded, Basic auth) from responses and command output before returning. - Zero-secret loopback HTTP proxy (
passhold proxy): Binds strictly to127.0.0.1so standard SDKs and scripts can call upstream APIs without holding the real key. Strips clientAuthorization, credential headers, andAccept-Encoding; injects credentials only on verified allowed hosts; never follows redirects; redacts secrets from headers & bodies. - Scoped & time-boxed grants + human approval: Narrow grants with
--read-only,--paths /v1/*,--hosts,--commands,--cwd,--session 15m, and--expires 1h|24h|7d. Approve per-use or session requests from Chrome, Edge, Firefox, Android,vault.keyrook.com, orpasshold approve. Pause every machine immediately withpasshold machine stop-all. - Offline secret leak scanner & Git pre-commit hook (
passhold scan): 100% local and free (no account required). Scans directories or staged Git blobs (--staged) for exposed API keys, private keys, database URLs, JWTs, and high-entropy assignments, and installs a pre-commit hook withpasshold scan --install-hook. - Secrets by reference & SSH agent:
passhold run,passhold inject,passhold import --env,passhold send, andpasshold ssh-agent(asks before each signature).
# 1. Block hardcoded secrets before they hit Git (free, offline, no sign-in)
passhold scan --install-hook
# 2. Import an existing .env into an isolated agent vault
passhold import --env .env --agent-vault Dev
# 3. Grant scoped, time-boxed access and print MCP client config
passhold machine grant "Workstation" Dev/"Stripe test" \
--approval session --session 15m --read-only --paths /v1/* --expires 24h
passhold machine config --client standard
# 4. Or run a zero-secret loopback HTTP proxy for any SDK
passhold proxy --item "Stripe test" --target https://api.stripe.com --read-only --expires 1h
Password Manager (0.6.1)
- Autofill & passkeys: Fills logins, payment cards (HTTPS only, including split payment frames), and addresses on click — never on page load. Stores and signs websites' passkeys in the isolated service worker (and on Android 14+ Credential Manager).
- Rich vault items: Logins (with password history), payment cards, addresses, secure notes, SSH keys, API keys (with service/host/env detection and expiry reminders), custom hidden fields, folders, and trash.
- Native migration & backups:
- Direct local KeePass
.kdbx(3.1 & 4.x) decryption (Argon2d, Argon2id, AES-KDF, ChaCha20, Salsa20, AES-256-CBC) — no plaintext CSV export required. - Imports 1Password
.1pux, Bitwarden.json, and browser/manager CSVs (Chrome, Edge, Firefox, Safari, Apple Passwords, LastPass, Dashlane, Proton Pass, NordPass). - Encrypted backups, CSV export, and a Printable Recovery Sheet.
- Direct local KeePass
- Web Vault (
vault.keyrook.com): Full vault management, Agents management & approvals, local Security Checkup inside an isolated Web Worker, and offline Emergency Kit — works on desktop and iPhone Safari with nothing to install. - Unified sign-up & recovery: Sign up with Google, GitHub, or email and set your vault password in one flow; unlock with Touch ID, Windows Hello, PIN, passkey, or security key; single unified recovery key with instant in-app rotation.
- End-to-end encrypted Send: Share self-destructing encrypted text links (free on every plan) or files & login copies via
send.keyrook.com. - 52 languages, light & dark mode, zero ads, zero trackers, zero external icon requests.
Repository layout
packages/core/ @passhold/core — AES-256-GCM encryption, vault model, site
matching, generator, KDBX / 1PUX / Bitwarden / CSV importers,
offline secret scanner, agent guards & redaction. Zero DOM.
apps/extension/ MV3 browser extension (Chrome, Edge, Firefox, Brave): service
worker, popup, settings, Agents panel, isolated fill frames.
apps/web/ Zero-trust Web Vault (vault.keyrook.com) with Worker isolation,
Trusted Types CSP, Agents, Checkup, and offline Emergency Kit.
apps/cli/ Passhold CLI (passhold mcp, proxy, scan, run, inject, ssh-agent,
machine, approve) & reproducible Node SEA packaging.
vendor/keyrook-brand/ Keyrook design tokens, marks, icons, and bundled service logos.
vendor/keyrook-account/ Client-side Keyrook account crypto, sync, family & agent protocol.
docs/security.md Full threat model and security guarantees (test-backed).
NOTICE.md Bundled service marks and third-party licences.
Security in brief
- Every vault item is encrypted locally with AES-256-GCM under a random data key bound to the vault and record revision; password-derived keys use PBKDF2-SHA256 (600,000 iterations) verified client-side against downgrade.
- Content scripts never hold the vault: inline autofill lists render inside isolated extension frames, enforce registrable-domain matching (including private suffixes such as
github.io), and refuse hidden or covered fields. - Agent vaults use separate encryption keys from personal and family vaults;
passhold mcprefuses to start ifPASSHOLD_SESSIONis set in the environment. - Every claim in docs/security.md is backed by automated tests that try to break it.
Building & verifying from source
Requires Node.js 22+ and npm:
npm ci
npm run typecheck
npm test
npm run build -w @passhold/extension
npm run build -w @passhold/cli
npm run build -w @passhold/web
Load apps/extension/dist unpacked at chrome://extensions → Developer mode → Load unpacked.
Reproducible store verification
Extension and Web Vault builds are deterministic from a release tag (vX.Y.Z / web-vX.Y.Z):
- Check out the tag matching your installed version and run
npm ci && npm run build -w @passhold/extensionon Node 22. - Compare
apps/extension/distagainst your browser's installed extension directory (Extensions/<id>/<version>/). - Expect differences only in store-added
_metadata/and store manifest fields such asupdate_url.
Reporting a vulnerability
Please do not open a public issue for security reports. See SECURITY.md.
Contributing
Issues and pull requests are welcome. Read CONTRIBUTING.md first for coding rules and contribution terms.
Licence and trademarks
Copyright (C) 2026 BRICK IT ALL LLC.
Licensed under the GNU General Public License v3.0 or later (LICENSE). "Passhold" and "Keyrook", and their logos, are trademarks of BRICK IT ALL LLC. Modified distributions must use their own name and icons.
@keyrook/passhold-clinpm install @keyrook/passhold-cli