Directory · Hooks
MEDUSA
Static security scanner that vets repos for poisoned Claude Code hooks, permissions, skills, and AI editor configs, plus leaked secrets.
★ 1,024 stars · last updated 2026-08-10 · Free, open source · View on GitHub
Best for
- Checking a repo's .claude/ hooks, permissions, subagents, and skills before cloning
- Finding API keys leaked into Claude Code, Cursor, and shell histories
- Detecting prompt injection and MCP tool poisoning in AI editor config files
- SAST scanning of AI/LLM application code with SARIF output
Install
pip install medusa-security
Our take
A broad Python security scanner rather than a hook itself; its Claude Code relevance is vetting third-party hooks and configs via `medusa scan --git`, added in v2026.7. Secrets scanning is local-only with byte-identical backups before redaction. Licensed AGPL-3.0, actively maintained with about 1,000 stars; the claimed 40,000+ patterns were harvested from research papers, so false-positive rates may vary.
Similar hooks
- Claude Code Ultimate Guide: Large open guide to Claude Code covering agent workflows, hooks, skills, MCP, security, and team adoption, with reusable templates.
- dcg (Destructive Command Guard): Rust pre-execution hook that blocks destructive shell, git, filesystem, database, and cloud commands run by AI coding agents.
- Claude Code Showcase: Example Claude Code project config with hooks, skills, agents, slash commands, MCP setup, and GitHub Actions workflows to copy from.
- Claude Code Hooks Mastery: Reference project implementing all 13 Claude Code hook events as UV Python scripts, plus sub-agents, status lines, and output styles.
- Continuous Claude v3: Hooks, skills, and agents that keep Claude Code context across sessions via YAML handoffs, ledgers, and a PostgreSQL memory store.
- Build with Claude: Plugin marketplace and discovery hub of agents, commands, hooks, and skills for Claude Code users extending their workflows.