Passhold Agents
OfficialUse granted Passhold credentials to act on behalf of an AI agent while keeping secrets out of model context.
List granted items/grants (metadata only) and check machine identity, expiry, and granted item count.
Make HTTP(S) requests with a granted credential injected on allowed hosts, with redirects disabled and secrets redacted.
Run child commands without a shell, injecting granted secrets as environment variables and redacting output.
Fill a granted login into the active browser tab via the Passhold extension without returning the password.
Request one-time human approval to reveal a single secret field.
Ask the owner for access to an item the machine does not yet hold.
Save a newly created API key into the owner’s Passhold inbox for review, optionally directly from command stdout.
Imports environment variables from .env files into isolated Passhold agent vaults.
Installs a Git pre-commit hook and scans staged Git blobs or directories for exposed secrets before commits.
Uses stored Stripe credentials to make scoped, read-only HTTP requests to api.stripe.com through the MCP http_request tool or zero-secret proxy.
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 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.
Related MCP server: enigmagent-mcp
Passhold Agents & CLI (0.7.0 · Extension 0.8.0)
Install standalone binaries (no runtime dependencies), package manager, or the portable Agent Skill:
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 ReleasesAgent runtime | Recommended Passhold mode | Isolation guarantee |
Browser-operating agents (dedicated Chrome, Edge, Firefox profiles) | Isolated Agent Browser Mode ( | 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 |
| Binds strictly to |
Autonomous local / VPS bots (OpenClaw, Hermes) |
| Native presets ( |
Coding IDEs & CI pipelines (Cursor, VS Code, Windsurf, CI) |
| Local stdio MCP ( |
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) on127.0.0.1for 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, andstatus. Secrets are injected directly and scrubbed (raw, base64, hex, URL-encoded, Basic auth, and TOTP seeds) before returning;get_totpreturns only a short-lived 6-digit code and never exposes the underlying base32 seed.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.Isolated Agent Browser Mode (Chrome, Edge, Firefox, Brave): Enroll a dedicated browser profile as an agent machine (
phi_...invitation orpht_...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 (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 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 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 1hPassword 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.Passhold for desktop (Windows & Linux, preview): The vault in an app of its own, kept encrypted on the computer and opening offline, with Windows Hello, locking on idle, screen lock and sleep, and updates signed with a key that never touches a build machine. On paid plans, an SSH agent that asks before each use and
passhold unlockanswered by the app. Downloads underdesktop-v*on Releases.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
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.
apps/desktop/ Passhold for desktop (Tauri 2): the Web Vault's screens and worker
in a window of its own, the sealed vault file, the SSH agent's
and the CLI's doors, Windows Hello, signed updates.
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/webLoad 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.
Desktop releases (desktop-vX.Y.Z) are built from their tag and built again from this tree's copy of it by the Desktop workflow: npm run build -w @passhold/desktop writes .tmp/target-desktop/release/bundle/passhold-build.json, with the SHA-256 of the program and of every file of its window. Each release's notes say for which systems the two builds gave the same program, and its packages are checked against SHA256SUMS.
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.
Available Tools
8 toolsfill_loginA
Fill a granted website login into the active browser tab via the Passhold extension native bridge. Verifies the target host against the grant and never returns the password to the agent.
Inputs: url (required), item (required), reason.
http_requestA
Perform an HTTP(S) request injecting a granted Passhold credential on the allowed host. Never follows redirects, ignores proxy env vars, and redacts secrets from response headers and body.
Inputs: url (required), item (required), method (required), body, +4 more.
list_itemsA
List Passhold items granted to this machine (metadata only, never secret values).
Inputs: refresh.
request_accessB
Ask the human owner to grant this machine access to an item it does not hold yet.
Inputs: what (required), reason (required).
revealB
Request one-time human approval to reveal a single secret field value.
Inputs: item (required), reason (required), field.
run_commandA
Run a child command (shell: false) with granted Passhold secrets injected via environment variables. Strips Passhold auth variables and redacts secrets from stdout and stderr.
Inputs: env (required), argv (required), cwd, reason, +1 more.
save_api_keyA
Seal a newly created API key directly into the human owner’s Passhold inbox for review. Prefer passing from_command (argv array, shell: false) so the secret goes straight from command stdout into Passhold without entering model context.
Inputs: title (required), cwd, env, key, +9 more.
statusA
Return this machine identity status, expiry, and granted item count.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Password vault for AI agents with scoped, user-approved access
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
A vault for .env files and project credentials: one encryption key per project, a second factor before protected values open, an audit row for every reveal, and scoped MCP access for coding agents.
Governed access to sensitive data, secrets and APIs for AI agents. A signed proof for each decision.
Related MCP Servers
- AlicenseAqualityBmaintenanceZero-knowledge password manager with MCP credential gateway. BIP-39 seed phrase recovery, deterministic passwords, policy-gated AI agent access with scope, rate limits, time windows, and step-up approval. Supports 70+ API key providers with hash-chain audit trail.36MIT
- AlicenseAqualityBmaintenanceLocal AES-256-GCM encrypted vault for AI agents. Resolve {{PLACEHOLDER}} secrets in prompts at runtime — LLMs never see real API keys. Argon2id key derivation, zero cloud.270 npm7MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that lets AI agents call APIs without ever seeing the credentials, using a local encrypted vault and per-secret allowlist policies for HTTP requests and subprocess environment variables.1AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceSecret management MCP server for AI coding agents that prevents secrets from entering the LLM context window by returning metadata only and using side-channel injection. Integrates with Bitwarden and offers hooks for auto-capture and leak prevention.1MIT