mirror of
https://github.com/trailofbits/claude-code-config
synced 2026-06-21 14:11:43 +00:00
Add Write() deny rules for shell configs
Deny Write(~/.bashrc), Write(~/.zshrc), and Write(~/.ssh/**) to match the existing Edit() rules for those paths. The two tools are separate — denying Edit does not block Write. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
"Edit(~/.bashrc)",
|
||||
"Edit(~/.zshrc)",
|
||||
"Edit(~/.ssh/**)",
|
||||
"Write(~/.bashrc)",
|
||||
"Write(~/.zshrc)",
|
||||
"Write(~/.ssh/**)",
|
||||
|
||||
"Read(~/.ssh/**)",
|
||||
"Read(~/.gnupg/**)",
|
||||
|
||||
Reference in New Issue
Block a user