Claude Security Guard
Provides a comprehensive security and enforcement layer for Claude Code through automated hooks, intelligent MCP tools, and interactive skill commands.
Claude Security Guard revolutionizes how Claude Code operates by integrating a robust, multilayered defense and automation stack. It evolved from basic context rules to silent, token-free hooks that enforce security and automate operations, complemented by a persistent MCP server for real-time stateful queries and complex orchestrations. This powerful plugin delivers advanced security scanning, prompt injection defense, and comprehensive audit logging without consuming valuable context tokens, making Claude Code a more secure and efficient development environment.
Key Features
01Multilayer security defense including prompt injection, SSRF, and secret leak protection
020 GitHub stars
03Intelligent detection of dependency typosquatting, file upload vulnerabilities, and data exfiltration
04Automated enforcement hooks that block critical operations (e.g., `rm -rf`, force push)
05Comprehensive audit logging and session management capabilities for transparency
06Persistent MCP tools for real-time VPS operations, configuration comparisons, and live answers
Use Cases
01Preventing unauthorized actions and maintaining code integrity through pre-execution hooks
02Automating DevOps tasks such as VPS synchronization, dependency installs, and process restarts
03Conducting interactive system health checks and context budget audits within Claude Code
04Securing AI-driven development environments from prompt injection and credential leaks