Skip to content

Commit bd74b72

Browse files
committed
fix(claude): add permissions block to settings.json
Clears AgentShield medium finding "No permissions block configured" by adding scoped allow/deny lists. Fleet-standard 8-entry deny list + 9 commonly used Bash allow entries, both arrays sorted alphanumerically per the recently landed sorting rule. Grade improves from A (97/100) to A (99/100); 2 medium → 0 medium.
1 parent 1723e71 commit bd74b72

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(cat*)",
5+
"Bash(cp*)",
6+
"Bash(git*)",
7+
"Bash(grep*)",
8+
"Bash(ls*)",
9+
"Bash(mkdir*)",
10+
"Bash(mv*)",
11+
"Bash(node*)",
12+
"Bash(pnpm*)"
13+
],
14+
"deny": [
15+
"Bash(*> /dev/*)",
16+
"Bash(chmod 777*)",
17+
"Bash(chmod*)",
18+
"Bash(curl*)",
19+
"Bash(rm -rf*)",
20+
"Bash(ssh*)",
21+
"Bash(sudo*)",
22+
"Bash(wget*)"
23+
]
24+
},
225
"hooks": {
326
"PreToolUse": [
427
{

0 commit comments

Comments
 (0)