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

PostToolUse

217

slbug/claude-ruby-grape-rails

Hook

Part of ruby-grape-rails

Runs after a tool call finishes for Edit, Write, Edit, Write, Edit, Write, Bash, Edit, Write and Bash tool calls, executing log-progress.sh, secret-scan.sh, security-reminder.sh, rubyish-post-edit.sh, plan-stop-reminder.sh, compress-verify-output.rb and skill-discovery-observer.rb (33 commands). From…

7 3d ago A tokens not measured original MIT

PreToolUse

218

jfrog/claude-plugin

Hook

Part of jfrog

Runs before the agent uses a tool for Skill and Read tool calls, running an inline shell check. From jfrog/claude-plugin.

6 +1 yesterday A tokens not measured original Apache-2.0

PreToolUse

219

Zyoffsec/airtight-secure-coding

Hook

Part of airtight

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, executing airtight-surface-guard.py via python3. From Zyoffsec/airtight-secure-coding.

6 29d ago A tokens not measured original MIT

PreToolUse

220

sashamitrovich/milepost

Hook

Part of milepost

Runs before the agent uses a tool for Write, Edit and Bash tool calls, executing milepost-secret-guard.sh via bash. From sashamitrovich/milepost.

6 1mo ago A tokens not measured original MIT

PreToolUse

221

gosha70/code-copilot-team

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing protect-files.sh and protect-git.sh (2 commands). From gosha70/code-copilot-team.

6 3d ago A tokens not measured original MIT

PreToolUse

222

moberghr/mtk-agent-toolkit

Hook Claude Code

Part of mtk

Runs before the agent uses a tool for Bash, Edit, Write, Read, Grep, Glob, Bash, Edit and Write tool calls, executing security-gate.sh, interactive-guard.sh, scope-guard.sh, read-guard.sh and rule-trigger.sh (5 commands). From moberghr/mtk-agent-toolkit.

6 8d ago A tokens not measured original MIT

PreToolUse

223

nerviq/nerviq

Hook Claude Code

Runs before the agent uses a tool for Read, Write, Edit and Bash tool calls, executing protect-secrets.sh via bash. From nerviq/nerviq.

6 1mo ago A tokens not measured original MIT

PostToolUse

224

thesaadmirza/blindfold

Hook

Part of blindfold

Runs after a tool call finishes for Bash tool calls, executing secret-redact.sh via bash. From thesaadmirza/blindfold.

6 3mo ago A tokens not measured original MIT

PreToolUse

225

hybridlabor-api/bdb-dev-optimized-agent-skills

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing go-gate.mjs via node. From hybridlabor-api/bdb-dev-optimized-agent-skills.

6 +1 5d ago A tokens not measured copy · 50% Apache-2.0

PreToolUse

226

ProductOfAmerica/mcp-server-kicad

Hook

Part of kicad

Runs before the agent uses a tool for Read, Write and Edit tool calls, running an inline shell check. From ProductOfAmerica/mcp-server-kicad.

5 18d ago A tokens not measured original MIT

PreToolUse

227

akashsebastian333/peephole

Hook

Part of peephole

Runs before the agent uses a tool for Write, Edit, MultiEdit, NotebookEdit, Bash, write, search_replace, run_terminal_command, mcp__.* and .+__.* tool calls, executing peephole.sh. From akashsebastian333/peephole.

5 4d ago A tokens not measured copy · 81% MIT

PreToolUse

228

23ag1/completely

Hook

Part of completely

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and NotebookEdit tool calls, executing guard-dangerous.sh, guard-close.sh and guard-write-zone.sh via bash (3 commands). From 23ag1/completely.

5 2mo ago A tokens not measured copy · 61% MIT

PreToolUse

229

randomittin/heimdall

Hook

Part of hmd

Runs before the agent uses a tool for Bash, Read, Grep, Glob, Agent, Write, Edit, Edit, MultiEdit and Write tool calls, executing heimdall-stub-patterns.sh with --show-toplevel, ---, --task, --spec and --arg (5 commands). From randomittin/heimdall.

5 12d ago A tokens not measured original MIT

PostToolUse

230

turenlabs/batou

Hook Claude Code

Runs after a tool call finishes for Write, Edit and NotebookEdit tool calls, executing batou-hook.sh. From turenlabs/batou.

5 1mo ago A tokens not measured original MIT

PreToolUse

231

oikon48/claudecode-book

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous-command.sh. From oikon48/claudecode-book.

5 20d ago A tokens not measured original MIT

PreToolUse

232

yurukusa/cc-safe-setup

Hook

Part of cc-safe-setup

Runs before the agent uses a tool for Bash, Bash, Bash, Write, Edit, Bash and Bash tool calls, executing move-delete-sequence-guard.sh and system-dir-protection-guard.sh with --force-with-lease (6 commands). From yurukusa/cc-safe-setup.

5 3d ago C tokens not measured original MIT

PreToolUse

233

asq-sheriff/embediq

Hook Claude Code

Runs before the agent uses a tool, executing dlp-scanner.py and command-guard.py via python3 (4 commands). From asq-sheriff/embediq.

5 1mo ago A tokens not measured original MIT

PreToolUse

234

adriancarriger/lambda

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing dev-permission-hook.cjs via node. From adriancarriger/lambda.

5 6mo ago A tokens not measured original MIT

PostToolUse

236

rbah31/claude-code-workflow

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, running an inline shell check (2 commands). From rbah31/claude-code-workflow.

5 2mo ago A tokens not measured original Apache-2.0

PreToolUse

237

zebbern/termstack

Hook Claude Code

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing protect-files.mjs, warn-large-files.mjs and block-dangerous-commands.mjs via node (3 commands). From zebbern/termstack.

5 4mo ago A tokens not measured

PreToolUse

238

0x0w1/jig

Hook

Runs before the agent uses a tool for Bash tool calls, executing guard-push.sh. From 0x0w1/jig.

5 3d ago A tokens not measured original MIT

PreToolUse

239

NFTYoginis/agency-of-one

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write and MultiEdit tool calls, executing safety-check.py, snapshot-before-edit.py and handoff-files-guard.py (3 commands). From NFTYoginis/agency-of-one.

5 14d ago A tokens not measured

UserPromptSubmit

240

MangroveTechnologies/mangrove-agent

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing block-wallet-secrets.sh with --mode. From MangroveTechnologies/mangrove-agent.

5 1mo ago A tokens not measured original MIT

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: