diff options
| author | mmoore <mmoore@anthropic.com> | 2026-07-22 16:17:51 +0000 |
|---|---|---|
| committer | mmoore <mmoore@anthropic.com> | 2026-07-22 16:17:51 +0000 |
| commit | 4b3d2a2a965ce1a36eb4b03078db891ab46bc257 (patch) | |
| tree | 0961f052c654edbaf6d5f5c1da676920ddc38706 /plugins/claude-security/hooks/hooks.json | |
| parent | cc4dbb9c00508fd98627d83da23957e8697e585a (diff) | |
Claude Security Plugin for Claude Code 0.10.0claude-security-0.10.0
:house: Remote-Dev: homespace
Diffstat (limited to 'plugins/claude-security/hooks/hooks.json')
| -rw-r--r-- | plugins/claude-security/hooks/hooks.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/claude-security/hooks/hooks.json b/plugins/claude-security/hooks/hooks.json new file mode 100644 index 00000000..9608c949 --- /dev/null +++ b/plugins/claude-security/hooks/hooks.json @@ -0,0 +1,16 @@ +{ + "description": "A display-only banner: on the /claude-security menu it prints the Claude Security banner as a systemMessage. It fires only on UserPromptExpansion for that slash command. It is a sensor: it emits a message and never returns a permission decision.", + "hooks": { + "UserPromptExpansion": [ + { + "matcher": "^claude-security:claude-security$", + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/hooks/banner_hook.sh\"" + } + ] + } + ] + } +} |
