What is secret-scrub?
secret-scrub is a Claude Code mod by funkadelic that redacts tokens, keys and passwords from tool results before they reach the model or the session transcript. It is listed under Security and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | funkadelic |
| Repository | funkadelic/claude-secret-scrub |
| Popularity | 2 GitHub stars |
| Category | Security |
| Security | Low risk (92/100) |
| Rank | #2,333 of 9,397 Claude Code mods; #282 in Security |
| Last commit | 2026-10-30 |
| Hooks | 1 events |
| Sees | every tool call |
| Draws on | nothing |
Is secret-scrub safe to install?
secret-scrub scores 92/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.ui.toast | draws interface |
How do I install secret-scrub?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/funkadelic/claude-secret-scrub claude plugin validate ./claude-secret-scrub/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add funkadelic/claude-secret-scrub && claude plugin install secret-scrub@claude-secret-scrub
Or ask Claude to set it up
Paste this into Claude Code and it installs secret-scrub for you:
Install the "secret-scrub" Claude Code mod from https://github.com/funkadelic/claude-secret-scrub. Run claude plugin validate on it first and show me what it can access before you enable it.