Refuse a Read, Grep or Bash call that reads ~/.claude/.env or a config's env-file #524
Reference in New Issue
Block a user
Delete Branch "item-369"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.