Passhold Agents
Official<p align="center">
<img src="vendor/keyrook-brand/assets/passhold-icon-128.png" width="88" height="88" alt="Passhold">
</p>
<h1 align="center">Passhold</h1>
<p align="center">
Open-source, zero-knowledge password manager & AI-agent secrets vault by <a href="https://keyrook.com">Keyrook</a>.<br>
Chrome, Edge, Firefox, Brave, Android, Web Vault (<a href="https://vault.keyrook.com">vault.keyrook.com</a>) & CLI (<code>passhold mcp</code> · <code>passhold proxy</code> · <code>passhold scan</code>).
</p>
<p align="center">
<a href="https://keyrook.com/passhold/">Website</a> ·
<a href="https://keyrook.com/agents/">Passhold Agents (MCP)</a> ·
<a href="https://keyrook.com/cli/">CLI</a> ·
<a href="https://keyrook.com/security/passhold/">Security Design</a> ·
<a href="https://github.com/keyrook/passhold/releases/latest">Releases & SHA-256</a> ·
GPL-3.0-or-later
</p>
<p align="center">
<a href="https://glama.ai/mcp/servers/keyrook/passhold">
<img src="https://glama.ai/mcp/servers/keyrook/passhold/badges/score.svg" alt="Passhold Agents MCP server on Glama">
</a>
</p>
---
## 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:
1. **Free forever password manager** (personal + family of up to 6, synced end-to-end across Chrome, Edge, Firefox, Brave, Android, and `vault.keyrook.com`).
2. **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.0`)
Install standalone binaries (no runtime dependencies) or via package manager:
```bash
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`, and `status`. 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 to `127.0.0.1` so standard SDKs and scripts can call upstream APIs without holding the real key. Strips client `Authorization`, credential headers, and `Accept-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`, or `passhold approve`. Pause every machine immediately with `passhold 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 with `passhold scan --install-hook`.
- **Secrets by reference & SSH agent:** `passhold run`, `passhold inject`, `passhold import --env`, `passhold send`, and `passhold ssh-agent` (asks before each signature).
```bash
# 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**.
- **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
```text
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 mcp` refuses to start if `PASSHOLD_SESSION` is set in the environment.
- Every claim in [docs/security.md](docs/security.md) is backed by automated tests that try to break it.
---
## Building & verifying from source
Requires **Node.js 22+** and `npm`:
```bash
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`):
1. Check out the tag matching your installed version and run `npm ci && npm run build -w @passhold/extension` on Node 22.
2. Compare `apps/extension/dist` against your browser's installed extension directory (`Extensions/<id>/<version>/`).
3. Expect differences only in store-added `_metadata/` and store manifest fields such as `update_url`.
---
## Reporting a vulnerability
Please do not open a public issue for security reports. See [SECURITY.md](SECURITY.md).
## Contributing
Issues and pull requests are welcome. Read [CONTRIBUTING.md](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](LICENSE)).
"Passhold" and "Keyrook", and their logos, are trademarks of BRICK IT ALL LLC. Modified distributions must use their own name and icons.
TDQS
Scored across 8 tools
Most tools target clearly distinct lifecycle actions: list_items, status, reveal, request_access, and save_api_key are unambiguous. http_request, run_command, and fill_login all inject credentials, but their channels are separated (HTTP request, child process, browser tab); only http_request vs run_command could be mildly confused when a command itself makes HTTP calls.
All names use consistent snake_case and most follow a verb_noun pattern (list_items, http_request, run_command, fill_login, request_access, save_api_key). status and reveal are noun-only or verb-only deviations, but they remain readable and predictable.
Eight tools are well-suited to a focused credential-broker server, falling comfortably in the appropriate 3-15 range. Each tool appears to earn its place by covering a distinct capability without obvious redundancy.
The surface covers discovery, identity status, credential use across HTTP/command/browser, one-time reveal, access requests, and secure saving of new secrets, which is strong lifecycle coverage. Minor gaps include no way to check the status of an access request, list pending requests, or revoke/clean up saved material, though the human-owner model likely mitigates these.