PreToolUse hook that intercepts dangerous database operations before execution.
- Catches destructive DDL/DML operations without safety clauses
- Safe overrides for idempotent recreate patterns
- Configurable patterns via config.json
- Works with mysql, psql, sqlite3, mongosh, and MCP database tools
- Python 3.10+, stdlib only, no dependencies