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 davila7v0.2.0MITIn 1 marketplace
Redacts API keys, tokens, JWTs, private keys and connection strings from every tool result before the model reads them, notes the redaction through context, and refuses to echo a redacted placeholder back into a Bash command. A tool.call hook in the after placement.
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.
Extra patternspatterns
Comma-separated regex sources to redact on top of the built-in credential patterns
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.
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.
Replaces credential-shaped strings in every tool result before the model
reads it, and refuses to echo a redacted placeholder back into a Bash
command. One tool.call hook: it awaits next(e) (the "after" placement),
deep-replaces every string in what came back and tells the model, through
context, that a redaction happened so it is not confused by placeholders.
This is the shape the engine's author gives for a redactor:
on("tool.call", async ($, e, next) => recursiveStrReplace(await next(e), ...))
Seat it as low as possible (an org appends it in managed settings) so no plugin above ever sees the raw value on the way up.
If redaction itself fails (it throws or runs out of its time budget), the output is withheld, never passed on unredacted. The tool has already run by then; only what it printed is kept back.
patterns: string extra regex sources, comma-separated (global flag is added)
Declared in .claude-plugin/plugin.json (userConfig). Set them in /config, in user settings (~/.claude/settings.json, not project settings), with --settings <file> or in managed settings:
{ "pluginConfigs": { "secret-redactor@skills-dir": { "options": { } } } }
npx claude-code-templates@latest --mod security/secret-redactor
claude
It is written to .claude/skills/secret-redactor/, which Claude Code auto-loads as secret-redactor@skills-dir. For one session with hot reload: claude --plugin-dir .claude/skills/secret-redactor. claude plugin validate .claude/skills/secret-redactor prints every event it hooks and every $ call it makes.
Requirements. Mods are on by default in Claude Code 2.1.287+. Typed against Anthropic's declarations: https://github.com/anthropics/claude-code/tree/main/mods
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (davila7/claude-code-templates) — no native marketplace selected
npx claudepluginhub p/davila7-secret-redactor-cli-tool-components-mods-security-secret-redactorPlugins from other owners that cover similar ground