Refuse a Read, Grep or Bash call that reads ~/.claude/.env or a config's env-file #524

Merged
lilleman merged 8 commits from item-369 into main 2026-11-13 21:28:59 +01:00
Owner

rule-hook gets an env-file-read rule, which takes no override: it refuses a Read, a Grep and a Bash command that read ~/.claude/.env or any config's env-file. The hook now runs before Grep too.

rule-hook gets an env-file-read rule, which takes no override: it refuses a Read, a Grep and a Bash command that read ~/.claude/.env or any config's env-file. The hook now runs before Grep too.
lilleman added 1 commit 2026-11-13 20:56:22 +01:00
lilleman added 3 commits 2026-11-13 21:11:03 +01:00
lilleman added 1 commit 2026-11-13 21:17:19 +01:00
lilleman added 3 commits 2026-11-13 21:26:29 +01:00
lilleman marked the pull request as ready for review 2026-11-13 21:26:31 +01:00
lilleman merged commit c8eeeadd24 into main 2026-11-13 21:28:59 +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#524