github_check_workflow_permissions
Check GitHub Actions workflow token permissions to ensure they are set to read-only, preventing write access risks (ACT-003).
Instructions
Check GITHUB_TOKEN default permissions (should be read, not write). Detects ACT-003.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "github_check_workflow_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |