Back to Hooks

Shell Wrapper Guard

Hooks security 117
Install Command
npx claude-code-templates@latest --hook security/shell-wrapper-guard
View on GitHub

Content

JSON
{
"description": "Detects destructive commands hidden inside shell wrappers (sh -c, bash -c, pytho..."
"supportingFiles": [
{3 keys}
]
"hooks": {
"PreToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.