{ "permissions": { "allow": [ "Bash(ls:*)", "Bash(cat:*)", "Bash(echo:*)", "Bash(pwd)", "Bash(date)", "Bash(wc:*)", "Read", "Write", "Edit", "Glob", "Grep", "WebSearch", "WebFetch" ], "deny": [ "Bash(rm -rf *)", "Bash(sudo *)", "Bash(chmod 777 *)", "Bash(curl * | bash)", "Bash(wget * | bash)" ] }, "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash hooks/pre-tool-use.sh" } ] } ], "PostToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "bash hooks/post-tool-use.sh" } ] } ] } }