Hacker News new | ask | show | jobs
by albrewer 86 days ago
I have a hook that auto-denies when it sees 'python -c "', ' awk ', ' sed ', and '&&'
2 comments

It can still invoke them in subagents and does this.
And find --exec too.