Marcin Dudek — Blog · Jun 2, 2026
Hooks That Won't Let the AI Shoot Me in the Foot
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Giving an agent bash is handing it scissors. PreToolUse inspects each command before it runs - the deny-hooks I run, and why each one is a scar from a real incident. Part 2 of 5.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.