Passhold

Passhold

Open-source, zero-knowledge password manager & AI-agent secrets vault by Keyrook.
Chrome, Edge, Firefox, Brave, Android, Web Vault (vault.keyrook.com), Isolated Agent Browser Mode & CLI (passhold mcp · --http · passhold proxy · passhold scan).

Website · Passhold Agents (MCP) · CLI · Security Design · Releases & SHA-256 · GPL-3.0-or-later

Passhold Agents MCP server on Glama

Passhold 0.7.0 and CLI 0.6.0 demo: isolated Agent Browser Mode, ephemeral 2FA get_totp with owner approval, and hardened Streamable HTTP MCP, HTTP proxy, and Agent Skill

--- ## 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 enrolled machines or Agent Mode browsers, 1 encrypted agent vault, zero per-call limits) — give browser-operating agents, cloud-VM agents, autonomous local/VPS bots (OpenClaw, Hermes), coding IDEs (Cursor, VS Code), and CI scripts the ability to *use* logins, 2FA codes, and API keys without holding your personal vault or seeing plaintext credentials. --- ## Passhold Agents & CLI (`0.7.0` · Extension `0.8.0`) Install standalone binaries (no runtime dependencies), package manager, or the portable Agent Skill: ```bash brew install keyrook/tap/passhold-cli # macOS & Linux npm install --global @keyrook/passhold-cli # Node.js 22+ npx skills add keyrook/passhold # Portable Agent Skill (skills/passhold-agents/SKILL.md) # Or download macOS / Linux / Windows binaries + SHA256SUMS from Releases ``` | Agent runtime | Recommended Passhold mode | Isolation guarantee | | --- | --- | --- | | **Browser-operating agents** (dedicated Chrome, Edge, Firefox profiles) | **Isolated Agent Browser Mode** (`Passhold 0.7.0`) | Mutually exclusive with personal/family vaults; fills granted logins & 2FA on verified HTTPS origins with zero personal vault keys in the profile | | **Cloud-VM & remote sandboxed agents** | **`passhold mcp --http`** (Streamable HTTP `2025-03-26`) | Binds strictly to `127.0.0.1` with Bearer auth, `Host`/`Origin` guards & `--expires` TTL behind your own HTTPS tunnel — zero hosted plaintext proxies | | **Autonomous local / VPS bots** (OpenClaw, Hermes) | **`passhold mcp` + `passhold proxy` + `SKILL.md`** | Native presets (`--client openclaw\|hermes`), `get_totp` without exposing base32 seeds, host-locked HTTPS & scrubbed output | | **Coding IDEs & CI pipelines** (Cursor, VS Code, Windsurf, CI) | **`passhold mcp` (stdio) + `passhold scan`** | Local stdio MCP (`--client cursor\|vscode`), offline Git leak hook, and scoped `PASSHOLD_MACHINE_TOKEN` | ### 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 & Streamable HTTP MCP server (`passhold mcp` / `passhold mcp --http`):** Runs on your own machine or VPS (never a hosted third-party plaintext proxy). Supports both local stdio MCP clients (Cursor, VS Code, OpenClaw, Hermes) and hardened **Streamable HTTP (`2025-03-26`)** on `127.0.0.1` for bridging to remote cloud VM and desktop/browser agents behind HTTPS. Exposes 9 focused tools: `list_items`, `http_request`, `run_command`, `fill_login`, `get_totp`, `save_api_key`, `request_access`, `reveal`, and `status`. Secrets are injected directly and scrubbed (raw, base64, hex, URL-encoded, Basic auth, and TOTP seeds) before returning; `get_totp` returns only a short-lived 6-digit code and never exposes the underlying base32 seed. - **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`. - **Isolated Agent Browser Mode (Chrome, Edge, Firefox, Brave):** Enroll a dedicated browser profile as an agent machine (`phi_...` invitation or `pht_...` token) with zero access to your personal or family vault. Fills only granted logins and short-lived 2FA codes on verified allowed HTTPS origins with optional per-use human approval — passwords and TOTP seeds never render in the popup or content scripts. - **Portable agent skill & client presets:** Shipped with [skills/passhold-agents/SKILL.md](skills/passhold-agents/SKILL.md) (compatible with OpenClaw, Hermes, and Agent Skills runners) and `passhold machine config --client standard|cursor|vscode|openclaw|hermes|http|cloud`. - **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 config (local or remote HTTP) passhold machine grant "Workstation" Dev/"Stripe test" \ --approval session --session 15m --read-only --paths /v1/* --expires 24h passhold machine config --client openclaw # or standard, cursor, vscode, hermes, http, cloud # 4. Run Streamable HTTP MCP on loopback for a cloud VM / remote agent behind HTTPS passhold mcp --http --port 8765 --allowed-host mcp.example.com --expires 8h # 5. 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.8.0`) - **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. - **Email aliases:** Makes a new address for a login at your own SimpleLogin, addy.io, or Firefox Relay, with your own API key, called directly from your device — never through Keyrook. The key is kept encrypted in your vault and sent only to its own service; the service is told the login's domain name and nothing else (free on every plan; also `passhold alias`). - **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///`). 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.