QooryBeta
← News

this sucks but there's a simple way to prevent this from ever happening: add a PreToolUse hook that hard-blocks any command touching paths outside the repo (works even in yolo mode) + maybe permissions.deny rules as backup. might as well install it on all local projects. github.com/dabit3/bash-gu…

@dabit3·Jul 10, 2026·2 sources·neutral
Read article
AI Summary

A user recommends adding a PreToolUse hook to block commands that touch paths outside the repository as a security measure.

All Sources