npx claudepluginhub steeef/claude-hooks --plugin env-protectionDefined in hooks/hooks.json
Bashpython3 ${CLAUDE_PLUGIN_ROOT}/hooks/env_hook.pyReadpython3 ${CLAUDE_PLUGIN_ROOT}/hooks/env_hook.pyGreppython3 ${CLAUDE_PLUGIN_ROOT}/hooks/env_hook.pyPreToolUse hook runs block-dangerous-git.sh before Bash tool calls to block dangerous Git commands. Executes bash for security without file writes.