Security hooks

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

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

PreToolUse

49

jvm-skills/jvm-skills

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing git-guardrails.sh. From jvm-skills/jvm-skills.

136 27d ago A tokens not measured original Apache-2.0

PreToolUse

50

dcb/homeassistant-claude-kit

Hook Claude Code

Runs before the agent uses a tool for Bash, Read, Glob, Grep and Bash tool calls, executing pretooluse-ha-push-validation.sh and privacy-guard.sh (2 commands). From dcb/homeassistant-claude-kit.

119 5d ago A tokens not measured original MIT

PreToolUse

51

686f6c61/alfred-dev

Hook

Runs before the agent uses a tool for Write, Edit, Bash, mcp__.*, Bash and Read tool calls, running python3 (3 commands). From 686f6c61/alfred-dev.

119 18d ago A tokens not measured original MIT

PreToolUse

52

dralgorhythm/claude-agentic-framework

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit, NotebookEdit and Bash tool calls, executing pre-tool-use-validator.sh, dangerous-command-guard.sh, pre-commit-verification.sh, pre-push-main-blocker.sh and branch-pr-discipline.sh (6 commands). From dralgorhythm/claude-agentic-framework.

118 1mo ago A tokens not measured

PreToolUse

53

xiaolai/claudepot-app

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From xiaolai/claudepot-app.

118 4d ago A tokens not measured original ISC

PreToolUse

54

001TMF/blatant-why

Hook Claude Code

Runs before the agent uses a tool for mcp__by-adaptyv__adaptyv_confirm_submission tool calls, executing safety-gate.js via node. From 001TMF/blatant-why.

114 16d ago A tokens not measured original MIT

PreToolUse

55

assafkip/kipi-system

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing token-guard.py, read-first-gate.py, claude-path-write-guard.py and merge-bypass-gate.py via python3 (4 commands). From assafkip/kipi-system.

108 yesterday A tokens not measured original MIT

PreToolUse

56

jayminwest/kotadb

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, MultiEdit, Edit and Write tool calls, executing pre-edit-context.py and scope-enforcement.ts via python3 (2 commands). From jayminwest/kotadb.

102 4mo ago A tokens not measured original MIT

PreToolUse

57

EBISPOT/ols4

Hook Claude Code

Runs before the agent uses a tool for Bash, Read and Glob tool calls, running /Users/haideri/.local/share/uv/tools/graphifyy/bin/graphify (2 commands). From EBISPOT/ols4.

101 4d ago A tokens not measured original Apache-2.0

PreToolUse

58

ivo-toby/mcp-picnic

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing claude-protect-main.sh, claude-block-force.sh and claude-secrets-scan.sh (3 commands). From ivo-toby/mcp-picnic.

97 18d ago A tokens not measured original MIT

PreToolUse

59

Szotasz/marveen

Hook Claude Code

Runs before the agent uses a tool for Bash, .*send_email.* and mcp__plugin_telegram_telegram__reply tool calls, executing outgoing-copy-gate.py via python3 (3 commands). From Szotasz/marveen.

96 yesterday A tokens not measured original MIT

PreToolUse

60

josipjelic/orchestrated-project-template

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing guard-destructive.sh. From josipjelic/orchestrated-project-template.

96 +1 1mo ago A tokens not measured

PreToolUse

61

deepklarity/harness-kit

Hook Claude Code

Runs before the agent uses a tool for Edit, Write, Edit and Write tool calls, running an inline shell check (2 commands). From deepklarity/harness-kit.

95 1mo ago A tokens not measured original MIT

PreToolUse

62

ShipWithAI/claude-code-mastery

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing npm-audit-check.sh. From ShipWithAI/claude-code-mastery.

93 1mo ago A tokens not measured original MIT

PreToolUse

63

coleam00/harness-engineering-demo

Hook Claude Code

Runs before the agent uses a tool for Bash, Read, Edit, Write, MultiEdit, NotebookEdit, Glob and Grep tool calls, executing security_guard.py via python. From coleam00/harness-engineering-demo.

93 +1 3mo ago A tokens not measured

PreToolUse

64

ai-sdlc-framework/ai-sdlc

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing enforce-blocked-actions.sh via bash. From ai-sdlc-framework/ai-sdlc.

92 +1 9d ago A tokens not measured original Apache-2.0

PermissionRequest

65

ai-sdlc-framework/ai-sdlc

Hook Claude Code

Runs when the agent asks permission for an action for Bash tool calls, executing permission-check.sh via bash. From ai-sdlc-framework/ai-sdlc.

92 +1 9d ago A tokens not measured original Apache-2.0

PreToolUse

66

90le/worker-rights-cn

Hook

Runs before the agent uses a tool, executing claude_hook_adapter.py via python3 with --event, --audit and --db-path. From 90le/worker-rights-cn.

92 +1 21d ago A tokens not measured original Apache-2.0

PreToolUse

67

Clear-Capabilities/agentic-security

Hook

Runs before the agent uses a tool for Edit, Write, MultiEdit and Bash tool calls, executing dispatch-pre-tool.js and pre-bash-guard.js via node (2 commands). From Clear-Capabilities/agentic-security.

90 +3 4d ago A tokens not measured

PreToolUse

68

jjanczur/tyran

Hook

Runs before the agent uses a tool for Bash, ^(Write, Edit, NotebookEdit, Bash, mcp__.*)$, .+, ^$, .+ and ^$ tool calls, executing secrets-gate.mjs, write-guard.mjs, policy-gate.mjs and usage-gate.mjs (4 commands). From jjanczur/tyran.

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

PreToolUse

69

justi/claude-code-project-boundary

Hook

Runs before the agent uses a tool for Bash, Edit, Write and MultiEdit tool calls, executing guard.sh via bash (4 commands). From justi/claude-code-project-boundary.

86 1mo ago A tokens not measured copy · 61% MIT

PreToolUse

70

NVIDIA/elements

Hook Claude Code ✓ vendor

Runs before the agent uses a tool for Edit, Write and Bash tool calls, executing pre-tool-use-edit-write.sh and pre-tool-use-bash.sh with --show-toplevel (2 commands). From NVIDIA/elements.

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

PreToolUse

71

wlsdks/ontology-atlas

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit, Write, MultiEdit and NotebookEdit tool calls, executing block-npm-publish.sh, block-unsafe-git.sh and block-generated-edit.sh (3 commands). From wlsdks/ontology-atlas.

77 2d ago A tokens not measured copy · 42% MIT

PreToolUse

72

sneg55/agent-starter

Hook

Runs before the agent uses a tool for Bash tool calls, executing block-dangerous-commands.sh. From sneg55/agent-starter.

76 1mo ago A tokens not measured original MIT