Skip to content

Instantly share code, notes, and snippets.

@denovo
Last active March 10, 2026 15:59
Show Gist options
  • Select an option

  • Save denovo/2b76035fe7e4ee159dd9795f4141d543 to your computer and use it in GitHub Desktop.

Select an option

Save denovo/2b76035fe7e4ee159dd9795f4141d543 to your computer and use it in GitHub Desktop.
Claude Code - settings.json (March 2026)
{
"permissions": {
"allow": [
"Bash(cat:*)",
"Bash(ls:*)",
"Bash(git status:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git diff:*)",
"Bash(git log:*)",
"Edit(/src/**)",
"Edit(/tests/**)",
"Edit(/package.json)",
"Edit(/README.md)",
"Bash(date:*)",
"Bash(echo:*)",
"Bash(mkdir:*)",
"Bash(wc:*)",
"Bash(head:*)",
"Bash(tail:*)",
"Bash(sort:*)",
"Bash(grep:*)",
"Bash(tr:*)",
"Bash(git tag:*)"
],
"deny": [
"Bash(npm install:*)",
"Bash(npm uninstall:*)",
"Bash(npm config:*)",
"Bash(yarn add:*)",
"Bash(pnpm add:*)",
"Bash(pip install:*)",
"Bash(rm:*)",
"Bash(rm -rf:*)",
"Bash(rmdir:*)",
"Bash(curl:*)",
"Bash(wget:*)",
"Bash(ssh:*)",
"Bash(scp:*)",
"Bash(sudo:*)",
"Read(.env)",
"Read(.env.*)",
"Read(**/secrets/*)",
"Read(**/*credential*)",
"Read(**/*.pem)",
"Read(**/*.key)"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment