Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alpb
6 days ago
|
parent
|
context
|
favorite
| on:
Shall I implement it? No
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
help
Aeolun
6 days ago
[–]
Maybe that means you need to change the text that comes out of the pre hook?
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: