Security hooks

482 tagged Security, measured the same way as everything else here.

Browse within: ai-security 14hooks 13agent-memory 9agentic 9agentic-workflow 9code-quality 9codex-cli 9gemini-cli-extension 8Guardrails 7Multi-Agent 7ai-governance 7gemini 7gemini-cli 7plugin 7

PreToolUse

169

dfirtnt/Huntable-CTI-Studio

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From dfirtnt/Huntable-CTI-Studio.

11 5d ago A tokens not measured original MIT

PreToolUse

170

brolag/neural-claude-code

Hook

Part of neural

Runs before the agent uses a tool for Bash, Bash, Write, Edit, WebFetch, Read, Edit, Write, Grep and Glob tool calls, executing dangerous-actions-blocker.sh, prompt-injection-detector.sh and sensitive-file-guard.sh via bash (3 commands). From brolag/neural-claude-code.

11 13d ago A tokens not measured copy · 63% MIT

PreToolUse

171

ajsai47/holyclaude

Hook

Part of holyclaude

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing security_reminder_hook.py. From ajsai47/holyclaude.

11 5mo ago A tokens not measured original MIT

PreToolUse

172

hzeng-otterai/ai-course-example

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From hzeng-otterai/ai-course-example.

11 4mo ago A tokens not measured original Apache-2.0

PreToolUse

173

idoforgod/baduk-AgenticWorkflow

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write, Edit, Write, Edit and Write tool calls, executing block_destructive_commands.py, block_test_file_edit.py, predictive_debug_guard.py and verify_gate_passage.py (4 commands). From idoforgod/baduk-AgenticWorkflow.

11 5mo ago A tokens not measured

PreToolUse

174

iselegant/cchb

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing protect-config.sh and block-destructive.sh via bash (2 commands). From iselegant/cchb.

11 29d ago A tokens not measured original Apache-2.0

PreToolUse

175

Ninjabeam20/SportIQ-MCP

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous-bash.sh. From Ninjabeam20/SportIQ-MCP.

10 4d ago A tokens not measured original MIT

PreToolUse

176

Smart-AI-Memory/attune-ai

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing security_guard.py, worktree_path_guard.py and dirty_switch_guard.py (4 commands). From Smart-AI-Memory/attune-ai.

10 3d ago A tokens not measured original Apache-2.0

PreToolUse

177

akasecurity/claude-tools

Hook

Part of claude-tools

Runs before the agent uses a tool for Bash, WebSearch, WebFetch and mcp__searxng__ tool calls, executing bun-hook-launch.sh (2 commands). From akasecurity/claude-tools.

10 1mo ago A tokens not measured original MIT

PreToolUse

178

muzafferkadir/nextjs-loop-engineering-starter

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, executing deny-edit.mjs via node. From muzafferkadir/nextjs-loop-engineering-starter.

10 2mo ago A tokens not measured original MIT

PreToolUse

179

whiteknightonhorse/APIbase

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From whiteknightonhorse/APIbase.

10 3d ago F tokens not measured original MIT

PreToolUse

180

usrrname/cursorrules

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing security-block.sh. From usrrname/cursorrules.

10 4mo ago A tokens not measured original ISC

PreToolUse

181

LindaHaviv/second-brain

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit and NotebookEdit tool calls, running an inline shell check. From LindaHaviv/second-brain.

10 9d ago A tokens not measured original MIT

PreToolUse

182

InterCooperative-Network/icn

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, Edit, Write and Bash tool calls, executing firewall-guard.sh, panic-guard.sh, dep-guard.sh, scope-guard.sh, todo-guard.sh, pre-tool-guard.py and pre-bash-guard.py with --show-current (8 commands). From InterCooperative-Network/icn.

10 yesterday A tokens not measured AGPL-3.0

PreToolUse

183

jeffweiss/elixir-production

Hook

Part of elixir-production

Runs before the agent uses a tool for Write:*.ex, Write:*.exs, Edit:*.ex, Edit:*.exs, Bash:git commit* and Bash:git push* tool calls, executing enforce-precommit.sh. From jeffweiss/elixir-production.

10 5mo ago A tokens not measured

PreToolUse

184

phanbaohuy96/flutter_base_structure

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, executing guard_generated_sensitive_files.py via python3 with --show-toplevel. From phanbaohuy96/flutter_base_structure.

10 12d ago A tokens not measured

PreToolUse

185

huangjia2019/claude-code-engingeering-EN

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous.sh. From huangjia2019/claude-code-engingeering-EN.

10 1mo ago A tokens not measured original MIT

PreToolUse

187

Soul-Brews-Studio/opensource-nat-brain-oracle

Hook Claude Code

Runs before the agent uses a tool for Bash, Task and Read tool calls, executing safety-check.sh, token-check.sh and log-task-start.sh (5 commands). From Soul-Brews-Studio/opensource-nat-brain-oracle.

10 18d ago A tokens not measured

PreToolUse

188

matsuni-kk/agent_template_public

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing deny-check.sh. From matsuni-kk/agent_template_public.

10 7mo ago A tokens not measured

PreToolUse

189

LuisFelipeMoro/Harness-devkit

Hook

Part of coding-pipeline

Runs before the agent uses a tool for Read, Bash, Grep, Glob, Bash, Write, Edit and MultiEdit tool calls, executing env-guard.sh, destructive-guard.sh and secret-write-guard.sh via bash (3 commands). From LuisFelipeMoro/Harness-devkit.

10 3d ago A tokens not measured original MIT

PreToolUse

190

bugrabilge/bilge-development-kit

Hook Claude Code

Runs before the agent uses a tool for Bash, Write and Edit tool calls, executing dangerous_cmd_check.sh and secret_scanner.sh via bash (2 commands). From bugrabilge/bilge-development-kit.

10 4mo ago A tokens not measured original MIT

PreToolUse

191

rahulsethi/SAPDatasphereMCP

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, Read and MultiEdit tool calls, executing block-secrets.ps1. From rahulsethi/SAPDatasphereMCP.

10 2mo ago A tokens not measured

PreToolUse

192

trebormc/drupal-ai-agents

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From trebormc/drupal-ai-agents.

10 1mo ago C tokens not measured original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: