Check ID:
Provider: GitHub
Service:
Severity: HIGH
Categories:
Resource type:
organization_default_repository_permission_strictProvider: GitHub
Service:
organizationSeverity: HIGH
Categories:
identity-accessResource type:
NotDefinedWhat this check verifies
GitHub organization base repository permission for members uses a strict setting such asread or none rather than permissive options like write or admin. Applies to members, not outside collaborators.
Risk
Excessive default permissions (write/admin) erode code integrity and availability.
Any member-or a compromised account-can alter many repos, inject malicious commits, change tags/releases, or delete branches, enabling supply-chain compromise and large-scale disruptions.
Recommendation
Apply least privilege: set base permission tonone or read.
Grant higher access explicitly via teams per repo and enforce separation of duties with required reviews and branch protection. Regularly audit memberships and access to limit blast radius and maintain defense in depth.
Remediation
- Terraform
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your GitHub account. Findings appear at Cloud Security → Findings filterable byCheck ID = organization_default_repository_permission_strict. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GitHub checks