slavaspitsyn / claude-code-security-hooks
Public7 layers of defense against prompt injection in Claude Code. Security hooks, read guards, canary files, and self-protection.
Security guards for AI coding tools that block access to private credential files and detect suspicious commands to prevent prompt injection attacks.
How It Works
You hear stories of AI helpers accidentally grabbing your private passwords and keys from your computer.
You discover a simple tool that adds layers of protection to stop sneaky tricks on your AI coding buddy.
With one quick click, you launch the friendly installer that sets up all the safety guards automatically.
It shows you exactly what to copy into your AI settings to turn on the protections.
Special alert files get placed in your private folders so the AI knows to stop if something fishy happens.
The tool scans your current setup and warns you about any loose permissions that could be dangerous.
You can now use your AI coding assistant confidently, knowing it's shielded from secret-stealing attacks.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.