minor adjust claude code permissions
This commit is contained in:
parent
66f94c827c
commit
38cf82c219
1 changed files with 4 additions and 5 deletions
|
|
@ -66,11 +66,6 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
deny = [
|
deny = [
|
||||||
# Prevent access to sensitive files
|
|
||||||
"Read(.env*)"
|
|
||||||
"Read(*.env*)"
|
|
||||||
"Read(./.env*)"
|
|
||||||
|
|
||||||
# Prevent dangerous system operations
|
# Prevent dangerous system operations
|
||||||
"Bash(rm -rf:*)"
|
"Bash(rm -rf:*)"
|
||||||
"Bash(sudo:*)"
|
"Bash(sudo:*)"
|
||||||
|
|
@ -132,6 +127,10 @@ let
|
||||||
|
|
||||||
"Bash(curl:*)"
|
"Bash(curl:*)"
|
||||||
"Bash(wget:*)"
|
"Bash(wget:*)"
|
||||||
|
|
||||||
|
"Read(.env*)"
|
||||||
|
"Read(*.env*)"
|
||||||
|
"Read(./.env*)"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue