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.4MITIn 1 marketplace
Keeps secrets and email addresses out of the session transcript: swaps each one for a stable placeholder on the way in, and puts the real value back on the way into a tool call
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
stringdefault
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; reads files; 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 keeps secrets out of the session transcript without taking them away from Claude. Every key that reaches the conversation (pasted, printed by a tool, sitting in a file) is swapped for a placeholder like [REDACTED-SECRET-5c1e9a7b]. Claude works with the placeholder, and it turns back into the real key when a command runs on your machine.

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 and every subagent. You can't take it back, so the only fix is to never let it in. Keys get in more ways than you'd think: you paste one, a tool prints one (cat .env, a config file, an API answer), a file you @ mention holds one, or CLAUDE.md does.
@ file or in a hook's context is swapped before Claude reads it.cat .env shows PORT=3000 and a placeholder for the key.Bash command or a file, the mod puts the real key back first, so curl -H "Authorization: Bearer [REDACTED-SECRET-5c1e9a7b]" really authenticates.
claude plugin marketplace add ray-amjad/claude-code-mods
claude plugin install transcript-redactor@claude-code-mods
Or inside Claude Code: /plugin marketplace add ray-amjad/claude-code-mods, then /plugin install transcript-redactor@claude-code-mods.
There is nothing to call. Once installed it runs on every turn.
transcript-redactor: hid 1 value(s) when something was swapped in a result.test/sample-env.mts prints a fake .env built at run time: fake keys, a database URL with a password, a port and an email.
node --experimental-strip-types test/sample-env.mts > /tmp/sample.env
claude
Then ask cat /tmp/sample.env and repeat the values back to me. The port and the email come back as they are. The two keys and the database password come back as placeholders. Ask how long is the Anthropic key? use the placeholder and Claude gets the real length from the shell.

A value is hidden when it passes one of these tests:
sk-ant-, ghp_, AKIA, sk_live_, whsec_, AIza, xoxb- and the rest), a JWT, a Slack or Discord webhook, a PRIVATE KEY block (also one whose BEGIN line was cut off, and an OpenSSH key body with no markers at all), the password in a [REDACTED:DB Connection String] string, and passwords on CLI flags like sshpass -pandredis-cli -a`.imp_ plus 40 characters of lower case and digits, and keys like it from services the list doesn't name yet.API_KEY=, "token":, Authorization:, password: and the like, or in a sibling field (a HAR header's name and value, a Kubernetes - name: entry).7-day copy clicks
npx claudepluginhub ray-amjad/claude-code-mods --plugin transcript-redactorBuilt 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