Passhold Agents
OfficialImports 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 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.
Related MCP server: enigmagent-mcp
Passhold Agents & CLI (0.5.0)
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 ReleasesGive 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 1hPassword 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
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/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.
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.
Hosted MCP server for scoped credential retrieval by AI agents. Approve specific service keys, review credential-access audit logs, and revoke future retrieval access. Connect with OAuth or an agent token.
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