feat: Add security-guidance plugin in claude-code repo (#9223)
This commit is contained in:
parent
a0317fcc53
commit
f876b85116
3 changed files with 305 additions and 0 deletions
16
plugins/security-guidance/hooks/hooks.json
Normal file
16
plugins/security-guidance/hooks/hooks.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"description": "Security reminder hook that warns about potential security issues when editing files",
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/security_reminder_hook.py"
|
||||
}
|
||||
],
|
||||
"matcher": "Edit|Write|MultiEdit"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue