Block AI agents reading your SSH keys and credentials

Your agent works in one project. Muzzle stops its commands and MCP tools reading the keys, tokens and passwords the rest of your Mac keeps, and you allow the ones it needs with one click.

Download for MacFree for Claude Code

What your agent can't read

SSH keys~/.ssh private keys; .pub, known_hosts and config stay readable
Block
Cloud credentialsAWS, Google Cloud, Azure, Kubernetes
Block
Tool tokensDocker, npm, PyPI, Cargo, GitHub CLI, .netrc, .git-credentials
Block
GPG keys~/.gnupg
Block
Browser passwords and cookiesChrome, Arc, Brave, Edge, Firefox, Safari cookies
Block
The keychainsecurity find-generic-password -w, dump-keychain, export
Block
.env files from other projectsThe project you're in, and templates like .env.example, stay readable
Block

Copies and uploads count. Using the key doesn't.

Your agent can't print, copy, pack, encode or upload these files, from a command, a script or an MCP tool. Logging in with a key, as in scp -i, still works.

Questions

My agent needs one of these files. Now what?

Click Allow on the blocked entry in Muzzle's Activity. That file, or that keychain item, is readable from then on.

Does it work with Codex?

Yes, with Pro. On Free it covers Claude Code.

Can I switch it off?

Yes, with the Credential files switch in Settings.

Put Muzzle between your agents and the internet

Download for Mac

Free · Apple Silicon · macOS 12 or later