Appearance
SEC531 / CLAUDE-GH-API-PUT-PERMISSION
SEC531 flags shared Claude settings when permissions.allow grants blanket GitHub CLI API mutation authority through gh api --method PUT.
Why It Matters
gh api --method PUT is a generic remote mutation path against GitHub resources. In shared committed settings that is broader than most teams actually need and harder to review than narrower workflow-specific subcommands.
Trigger Shape
- committed shared Claude settings surface
permissions.allowcontains the exact tokenBash(gh api --method PUT:*)
Safer Example
json
{
"permissions": {
"allow": ["Bash(gh api --method GET:*)", "Read(*)"]
}
}