ai-security hooks

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

Browse within: ai-coding 20agent-security 18ai-governance 15agents 13llm-security 13AI Safety 10cybersecurity 10owasp 10appsec 9ai-agent-security 8ai-agent-skills 8ai-agents-mcp 8owasp-juice-shop 8threatmodeler 8

PreToolUse

01

Agent-Threat-Rule/agent-threat-rules

Hook Claude Code

Runs before the agent uses a tool, executing atr_scan.py via python3. From Agent-Threat-Rule/agent-threat-rules.

not rated 416 +6 today A tokens not measured original MIT

PreToolUse

02

r3dlight/phantom

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, running true. From r3dlight/phantom.

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

BeforeAgent

03

ilyautov/cordon

Hook Claude Code

One of 4 in hooks.json

Runs on the BeforeAgent event, executing cli.js via node with --harness. From ilyautov/cordon.

not rated 5 4d ago A tokens not measured original MIT

BeforeTool

04

GigantesHJI/securedact-mcp

Hook Claude Code

One of 6 in hooks.json

Runs on the BeforeTool event for ^(mcp_.*, .*(http, web, search, fetch, request, api, connect).*, Read, Write, Edit, MultiEdit, NotebookEdit, Bash, Grep and Glob)$ tool calls, running python -m securedact_enforced.gemini_hook --event BeforeTool. From GigantesHJI/securedact-mcp.

not rated 2 8d ago A 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: