ai security hooks

77 tagged ai security, measured the same way as everything else here.

Browse within: ai-governance 14agent-security 12llm-security 10owasp 10appsec 9AI Safety 8ai-agent-security 8ai-agent-skills 8ai-agents-mcp 8owasp-juice-shop 8owasp-llm 8owasp-llm-top-10 8LangChain 7agentic-coding 6

PreToolUse

02

FlorianBruniaux/claude-code-ultimate-guide

Hook Claude Code

Runs before the agent uses a tool for Bash, Edit and Write tool calls, executing dangerous-actions-blocker.sh via bash. From FlorianBruniaux/claude-code-ultimate-guide.

5.9k +10 today A tokens not measured CC-BY-SA-4.0

PostToolUse

03

FlorianBruniaux/claude-code-ultimate-guide

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing auto-format.sh, version-consistency-check.sh and activity-logger.sh via bash (3 commands). From FlorianBruniaux/claude-code-ultimate-guide.

5.9k +10 today A tokens not measured CC-BY-SA-4.0

Stop

04

Awarexone/Agentic-Bug-Hunter

Hook Claude Code

Runs when the agent finishes a response, executing memory_gc.py with --rotate. From Awarexone/Agentic-Bug-Hunter.

4.7k +30 today A tokens not measured original MIT

PostToolUse

05

stacklok/toolhive

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From stacklok/toolhive.

2.1k +1 yesterday A tokens not measured original Apache-2.0

UserPromptSubmit

06

secureagentics/Adrian

Hook

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From secureagentics/Adrian.

553 12d ago A tokens not measured original Apache-2.0

PreToolUse

07

secureagentics/Adrian

Hook

Runs before the agent uses a tool, running an inline shell check. From secureagentics/Adrian.

553 12d ago A tokens not measured original Apache-2.0

PostToolUse

08

secureagentics/Adrian

Hook

Runs after a tool call finishes, running an inline shell check. From secureagentics/Adrian.

553 12d ago A tokens not measured original Apache-2.0

SessionStart

10

zhuyansen/agent-skills-hub

Hook Claude Code

Runs when a session starts, executing hot-restore.sh. From zhuyansen/agent-skills-hub.

342 2d ago A tokens not measured

PreToolUse

11

zhuyansen/agent-skills-hub

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, executing protect-critical.sh and secret-scan.sh (2 commands). From zhuyansen/agent-skills-hub.

342 2d ago A tokens not measured

PostToolUse

12

zhuyansen/agent-skills-hub

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing format-frontend.sh. From zhuyansen/agent-skills-hub.

342 2d ago A tokens not measured

PostToolUse

13

guardana/guardana

Hook Claude Code

Runs after a tool call finishes for Edit, Write and NotebookEdit tool calls, executing ruff_on_edit.py via python3. From guardana/guardana.

89 2d ago A tokens not measured original Apache-2.0

PostToolUse

14

davidmatousek/tachi

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing reconcile-board.sh. From davidmatousek/tachi.

89 19d ago A tokens not measured original Apache-2.0

PreToolUse

15

mukul975/Threatswarm

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing scope_check.py via python3. From mukul975/Threatswarm.

75 4mo ago A tokens not measured original MIT

PostToolUse

16

mukul975/Threatswarm

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, executing cmd_log.sh via bash. From mukul975/Threatswarm.

75 4mo ago A tokens not measured original MIT

Stop

17

mukul975/Threatswarm

Hook Claude Code

Runs when the agent finishes a response, executing findings_sync.py via python3. From mukul975/Threatswarm.

75 4mo ago A tokens not measured original MIT

PreToolUse

18

appsec-foundry/appsec-advisor

Hook Claude Code

Runs before the agent uses a tool for Write, Edit, MultiEdit, NotebookEdit, Bash, PowerShell, mcp__.*, Edit, Write, MultiEdit, NotebookEdit and Bash tool calls, running python3 (2 commands). From appsec-foundry/appsec-advisor.

16 today A tokens not measured

UserPromptSubmit

19

appsec-foundry/appsec-advisor

Hook

Runs when you submit a prompt, before the agent sees it, executing security_steering.py via python3. From appsec-foundry/appsec-advisor.

16 today A tokens not measured

UserPromptSubmit

21

friedbotstudio/baseline

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing consent_gate_grant.mjs via node. From friedbotstudio/baseline.

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

SessionStart

22

friedbotstudio/baseline

Hook Claude Code

Runs when a session starts, executing memory_session_start.mjs via node. From friedbotstudio/baseline.

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

Notification

23

friedbotstudio/baseline

Hook Claude Code

Runs when the agent sends a notification for permission_prompt and idle_prompt tool calls, executing notify.mjs via node (2 commands). From friedbotstudio/baseline.

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

PreToolUse

24

akasecurity/claude-tools

Hook

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