2025-10-09 09:10:43 -07:00
|
|
|
{
|
2026-01-08 20:08:08 +00:00
|
|
|
"description": "Security hooks for file access validation and security pattern warnings",
|
2025-10-09 09:10:43 -07:00
|
|
|
"hooks": {
|
|
|
|
|
"PreToolUse": [
|
2026-01-08 20:08:08 +00:00
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/symlink_deny_hook.py"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"matcher": "Edit|Write|MultiEdit|Read"
|
|
|
|
|
},
|
2025-10-09 09:10:43 -07:00
|
|
|
{
|
|
|
|
|
"hooks": [
|
|
|
|
|
{
|
|
|
|
|
"type": "command",
|
|
|
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py"
|
|
|
|
|
}
|
|
|
|
|
],
|
2026-01-08 20:08:08 +00:00
|
|
|
"matcher": "Edit|Write|MultiEdit|Read"
|
2025-10-09 09:10:43 -07:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|