claude-code-safety-hooks
github.com/alittlenerdy/claude-code-safety-hooks- Category
- Cybersecurity
- Rank
- No. 3365Tools index
- Type
- TOOL
- Date
About
A set of four dependency-free Python hooks for Claude Code that keep secret values out of session transcripts. They block commands and file reads that would print values from env files and credential files, block prompts containing pasted credentials, redact key-shaped values from browser tool output, and make the agent recheck before handing work back. Transcripts persist and rotating a key does not scrub them, so preventing the read is the safeguard.
Similar tools
Permission Slipsgithub.comHook-based guard that lets only user-typed prompts issue scoped, expiring grants for risky agent actionsCloakroomgithub.comMasks API keys and personal data before a coding agent sees them, then restores them locally.AI Time Estimatorgithub.comClaude Code add-on that estimates task time in AI minutes from your own transcripts and scores itself.Vibecheckgithub.comScans AI-built apps for leaked keys, open database rules and billing risks, then gives a GO or NO-GO score
Browse all tools →Tags
claude-codehookssecretsenv-filespythonagent-safety
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.