Comment by alpb
16 days ago
I see on a daily basis that I prevent Claude Code from running a particular command using PreToolUse hooks, and it proceeds to work around it by writing a bash script with the forbidden command and chmod+x and running it. /facepalm
Maybe that means you need to change the text that comes out of the pre hook?