Refuse a Bash command that recursively searches a folder holding an env-file #527

Merged
lilleman merged 13 commits from item-370 into main 2026-11-13 23:12:07 +01:00
Owner

rule-hook's env-file-read rule now also refuses a Bash grep -r, rg or ag over a folder that holds a guarded env-file, or over the directory cd left it in when it names none, unless the tool skips the file as hidden or ignored.

rule-hook's env-file-read rule now also refuses a Bash `grep -r`, `rg` or `ag` over a folder that holds a guarded env-file, or over the directory `cd` left it in when it names none, unless the tool skips the file as hidden or ignored.
lilleman added 4 commits 2026-11-13 22:04:24 +01:00
lilleman marked the pull request as ready for review 2026-11-13 23:09:30 +01:00
lilleman added 9 commits 2026-11-13 23:09:30 +01:00
lilleman merged commit 0e0b17cd92 into main 2026-11-13 23:12:07 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#527