spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / plugins / security-guidance / hooks / hooks.json
25 lines · 605 BRaw
1{
2 "description": "Security hooks for file access validation and security pattern warnings",
3 "hooks": {
4 "PreToolUse": [
5 {
6 "hooks": [
7 {
8 "type": "command",
9 "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/symlink_deny_hook.py"
10 }
11 ],
12 "matcher": "Edit|Write|MultiEdit|Read"
13 },
14 {
15 "hooks": [
16 {
17 "type": "command",
18 "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py"
19 }
20 ],
21 "matcher": "Edit|Write|MultiEdit|Read"
22 }
23 ]
24 }
25}