Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ray-amjadv0.5.14MITIn 1 marketplace
Claude can use a secret without seeing it: a masked box saves keys to .env and gives Claude a placeholder, every key a tool prints comes back as a placeholder, and committing .env is refused
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Hide personal informationpii
Hide email addresses and public IP addresses
booleandefault false
Never hide theseallow
Exact strings to leave alone, separated by commas
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; writes files; reads files; reads environment variables (CDPATH, HOME, OS); reads or rewrites your prompts; changes what Claude reads (system prompt, context, reminders).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Say when something is hiddennotify
Show a count on the tool row and a toast on a prompt
booleandefault true
Hide secretssecrets
Hide vendor-shaped keys and high-entropy tokens
booleandefault true
Length floorminLength
The shortest token the entropy test looks at
numberdefault 24
Hide emailshideEmails
With pii on, also hide email addresses. Turn off to hide only IP addresses
booleandefault true
Entropy floor (bits per character)minEntropy
A mixed-case token above this floor is treated as a secret. Raise it to hide less
numberdefault 3.6
Never hide these emailsallowEmails
Exact addresses, or a domain written as @example.com, separated by commas
stringdefault
Always test tokens starting withdenyPrefixes
Prefixes to put back under the entropy test even though they look like a public id, separated by commas
stringdefault
Tools that get real valuesrestoreTools
Tools that run on this machine and may receive the real value behind a placeholder, separated by commas. Never list a tool that sends its input to another model or the network (Agent, WebFetch, WebSearch)
stringdefault Bash,Write,Edit,MultiEdit,NotebookEdit
Never hide tokens starting withallowPrefixes
Extra id prefixes to treat as public, separated by commas (price_, prod_ and the other Stripe object ids are already public)
stringdefault
Never hide URL paths on these hostsallowUrlHosts
Hosts such as app.todoist.com or *.example.com, separated by commas. The path of a link on one of them is kept as written; its query string is still scanned. Never list a host that puts credentials in the path
stringdefault
Hide private IP addressesredactPrivateIps
With pii on, also hide private and reserved IP addresses recognized by the detector
booleandefault false
Entropy floor next to a key namecontextMinEntropy
The floor used when the token sits after API_KEY=, "token":, Bearer and the like
numberdefault 3
Put real values back for toolsrestoreInToolInputs
Swap a placeholder back for its real value before a tool runs, so commands and file writes keep working
booleandefault true
A Claude Code mod that lets Claude use a secret without ever seeing it. When Claude needs an API key, it calls a request_secret tool, a masked box opens, you paste the key, and the mod writes it to .env. Claude gets a placeholder like [REDACTED-SECRET-3f9a1c2e] instead of the value, and the placeholder turns into the real key whenever a tool runs. Any key a tool prints comes back to Claude as a placeholder, and committing .env is refused.

A key that reaches the conversation is in the transcript for good. It is sent to the model on every turn after, kept in the session file on disk, and replayed into every fork of the session. You can't take it back afterwards, so the only fix is to never send it. Keys get in two ways: you paste one, or a tool prints one (a cat .env, a config file, an API answer). secret-box closes both, and still lets Claude run the code that needs the key.
request_secret takes a variable name and a one-line reason. Its description tells Claude to use it instead of asking you to paste.NAME=value to .env (and makes sure .gitignore covers it), then tells Claude the name and a placeholder. Claude can put the placeholder in a command or a file: curl -u [REDACTED-SECRET-3f9a1c2e]: https://api.stripe.com/v1/balance runs with the real key..env file goes in the folder you launched Claude from, even after Claude has cd-ed into a subfolder, so a key never lands inside a source folder that ships. In a monorepo, start Claude in the package that needs the key.sk_live_, ghp_, AKIA, xoxb- and more), any key shaped like a short lowercase prefix and a long random body (imp_ and 40 hex), passwords on CLI flags and in connection strings, base64 that decodes to a key, high-entropy tokens, every .env value with a secret name, and every value the mod already knows come back as placeholders. cat .env still shows PORT=3000.git add .env and a git commit that would carry a .env file are refused, because a pushed key can't be taken back.

claude plugin marketplace add ray-amjad/claude-code-mods
claude plugin install secret-box@claude-code-mods
Or inside Claude Code: /plugin marketplace add ray-amjad/claude-code-mods, then /plugin install secret-box@claude-code-mods.
Ask for something that needs a secret, such as billing.js needs the Stripe secret key, get it set up. Claude calls secret-box - request_secret.
Then ask Claude to use it: check the key works. It writes the placeholder into a command and the real key is used. A tool row says secret-box: hid 1 value(s) whenever something was swapped on the way out.
If you'd rather not wait for Claude to think of the tool, say use the secret box to ask me for STRIPE_SECRET_KEY.
The example folder is a tiny app whose billing.js reads STRIPE_SECRET_KEY, with a .env.example beside it.
cp -R example /tmp/shop && cd /tmp/shop && git init
claude
Accept the trust prompt (mods don't load in an untrusted folder). Tell Claude billing.js needs the Stripe secret key, paste a fake key such as sk_test_123, and press Enter. Then ask prove the key is in .env without showing it to me, and cat .env to see the placeholder.
Set them with /plugin configure secret-box@claude-code-mods, or under pluginConfigs in your user settings.
7-day copy clicks
npx claudepluginhub ray-amjad/claude-code-mods --plugin secret-boxBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground