chore(claude): sandbox bash, deny git push/commit

This commit is contained in:
Kevin Veen-Birkenbach committed 2026-07-07 09:21:59 +02:00
1 parent d89a433695
commit 509ed85fb2
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
{
"permissions": {
"defaultMode": "dontAsk",
"deny": [
"Bash(git push)",
"Bash(git push:*)",
"Bash(git commit)",
"Bash(git commit:*)",
"Bash(git -C * push)",
"Bash(git -C * push:*)",
"Bash(git -C * commit)",
"Bash(git -C * commit:*)"
]
},
"sandbox": {
"enabled": true,
"autoAllowBashIfSandboxed": true,
"allowUnsandboxedCommands": false
}
}