Security hooks

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

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

PreToolUse

289

reganomalley/claudia

Hook

Part of claudia

Runs before the agent uses a tool for Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write, MultiEdit, Edit, Write and MultiEdit tool calls, executing check-secrets.py, check-practices.py, check-deps.py…

4 6mo ago A tokens not measured original MIT

PreToolUse

290

bop-clocktower/canary

Hook Claude Code

Part of canary

Runs before the agent uses a tool for Bash, Write, Edit and mcp__.* tool calls, executing block-no-verify.js, protect-config.js, sentinel-pre.js and prefer-first-party-mcp.js via node with --show-toplevel (4 commands). From bop-clocktower/canary.

4 3d ago A tokens not measured original MIT

PreToolUse

291

soenkenils/mailbox-mcp-server

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool for Write and Edit tool calls, executing protect-sensitive-files.py. From soenkenils/mailbox-mcp-server.

4 2mo ago A tokens not measured original MIT

PreToolUse

292

DanceNitra/agora

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Bash, Write, Edit, MultiEdit and NotebookEdit tool calls, running python -m inspeximus.claude_code. From DanceNitra/agora.

3 yesterday A tokens not measured original MIT

PreToolUse

293

nometria/claude-code-plugin

Hook

One of 3 in hooks.json

Runs before the agent uses a tool for Skill and Bash tool calls, executing security-gate.sh. From nometria/claude-code-plugin.

3 1mo ago A tokens not measured original MIT

PreToolUse

294

ivuorinen/skills

Hook Claude Code

Part of ivuorinen-skills

Runs before the agent uses a tool for Bash, Bash, Read, Glob, Bash, Bash and Bash tool calls, executing deny-agents-path-hook.py, deny-unsafe-git-hook.py, guard-ctx-ok-hook.py and ask-destructive-restore-hook.py with --quiet and --no-verify (6 commands). From ivuorinen/skills.

3 3d ago A tokens not measured

PreToolUse

295

dinhanhthi/coding-friend

Hook

One of 8 in hooks.json

Runs before the agent uses a tool for Read, Write, Edit, Glob, Grep and apply_patch tool calls, executing privacy-block.sh and scout-block.cjs (2 commands). From dinhanhthi/coding-friend.

3 3d ago A tokens not measured original MIT

PreToolUse

296

iwritec0de/app-dev

Hook

Part of app-dev

Runs before the agent uses a tool for Write, Edit and Bash tool calls, executing security-check.sh, pre-edit.sh and pre-push.sh via bash (3 commands). From iwritec0de/app-dev.

3 4mo ago A tokens not measured copy · 59% MIT

PreToolUse

297

ArtemioPadilla/agent-triforce

Hook

Part of agent-triforce

Runs before the agent uses a tool for Write and Edit tool calls, executing security-scanner.py via python3 with --stdin and --audit-trail. From ArtemioPadilla/agent-triforce.

3 4mo ago A tokens not measured original MIT

BeforeTool

298

matanryngler/deployshield

Hook

Part of deployshield

Runs on the BeforeTool event for run_shell_command tool calls, executing validate-cloud-command.py via python3. From matanryngler/deployshield.

3 5mo ago A tokens not measured original MIT

UserPromptSubmit

300

lendtrain/mortgage

Hook

Part of mortgage

Runs when you submit a prompt, before the agent sees it, executing guard-sensitive-data.sh. From lendtrain/mortgage.

3 4mo ago A tokens not measured

PreToolUse

301

KingGyuSuh/gemini-search-cc

Hook

Part of gemini

Runs before the agent uses a tool for Bash tool calls, executing guard-filter.mjs via node. From KingGyuSuh/gemini-search-cc.

3 2mo ago A tokens not measured copy · 58% Apache-2.0

PreToolUse

302

danjdewhurst/hcloud-skills

Hook

Part of hcloud

Runs before the agent uses a tool for Bash tool calls, executing hcloud-safety.sh via bash. From danjdewhurst/hcloud-skills.

3 6mo ago A tokens not measured copy · 88% MIT

PreToolUse

303

chris-peterson/ClaudeWatch

Hook

Part of ClaudeWatch

Runs before the agent uses a tool for Bash, Monitor, Write and Edit tool calls, executing watchdog.py via python3 (2 commands). From chris-peterson/ClaudeWatch.

3 5d ago A tokens not measured original MIT

PostToolUse

304

choiyounggi/groundwork

Hook

Part of guardrails

Runs after a tool call finishes for Bash and mcp__.* tool calls, executing audit-log.sh via bash. From choiyounggi/groundwork.

3 3d ago A tokens not measured original MIT

PreToolUse

305

brunob54/superpowers-orchestrator

Hook

Part of superpowers-orchestrator

Runs before the agent uses a tool for Bash, Read, Edit, Write, Bash and Bash tool calls, executing block-dangerous-commands.js, protect-secrets.js and bash-compress-hook.js via node (3 commands). From brunob54/superpowers-orchestrator.

3 3d ago A tokens not measured original MIT

PreToolUse

306

SyloRei/claude-godmode

Hook

Part of claude-godmode

Runs before the agent uses a tool for Bash tool calls, executing pre-tool-use.sh and pre-tool-use-secrets.sh via bash (2 commands). From SyloRei/claude-godmode.

3 2mo ago A tokens not measured original MIT

PreToolUse

307

mauhpr/agentlint-plugin

Hook

Part of agentlint

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing resolve-and-run.sh with --event and --project-dir. From mauhpr/agentlint-plugin.

3 15d ago A tokens not measured original MIT

BeforeTool

308

tractorjuice/arckit-gemini

Hook

One of 4 in hooks.json

Runs on the BeforeTool event for write_file, write_file and edit_file tool calls, executing validate-filename.py and file-protection.py via python3 (2 commands). From tractorjuice/arckit-gemini.

3 14d ago A tokens not measured original MIT

BeforeTool

309

kenryu42/gemini-safety-net

Hook

Runs on the BeforeTool event, running npx -y cc-safety-net hook --gemini-cli. From kenryu42/gemini-safety-net.

3 16d ago A tokens not measured original MIT

PreToolUse

311

hmcts/agentic-plugins-marketplace

Hook

Part of hmcts-apim-sdlc-orchestrator

Runs before the agent uses a tool for Bash, Read, Write, Edit, Write and Edit tool calls, executing guard-bash.sh, guard-paths.sh, block-pii.sh and block-secrets.sh (4 commands). From hmcts/agentic-plugins-marketplace.

3 7d ago A tokens not measured original MIT

PreToolUse

312

lsiyu241-creator/awesome-claude-cookbook

Hook Claude Code

One of 3 in settings.json

Runs before the agent uses a tool, executing pre-write.sh and pre-bash.sh (2 commands). From lsiyu241-creator/awesome-claude-cookbook.

3 2mo ago A tokens not measured copy · 100% 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: