CC-SET-035: Ineffective Permission Rule Syntax
Summary
- Rule ID:
CC-SET-035 - Severity:
HIGH - Category:
Claude Settings - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
claude-code - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
{"permissions": {"allow": ["Bash(git * main)", "mcp__*", "Bash(ls) x"], "deny": ["Bash(command:rm *)", "Read(/Users/alice/secrets/**)"]}}
Valid
{"permissions": {"allow": ["Bash(git status *)", "mcp__github__*"], "deny": ["Read(//Users/alice/secrets/**)"]}}