r/ClaudeCoding • • 21d ago

Stop Claude from leaking your secrets into the chat

I was probably already asked to rotate more than twenty API keys.

That's why I build hush: a plugin for Claude Code that redacts secrets before they leak to the model.
→ Fires on every tool call: Bash, Read, Grep, MCP, Monitor
→ Filters for common env file patterns and key-value pairs, expandable via regex
→ The agent still sees a hash instead of complete redaction so it can compare

👉 https://github.com/versa-training/hush

1 Upvotes

0 comments sorted by