Remediation Priority¶
Key Insight
Prioritize Branch-Protection fixes based on repository criticality and team capacity.
Remediation Priority¶
Order of implementation for fastest score improvement:
- Dependency-Update-Tool (0.5 hours) - Add Renovate or Dependabot config
- Branch-Protection (1 to 2 hours) - Configure branch protection with all required settings
Total estimated effort: 1.5 to 2.5 hours for both checks.
Quick win: Add Dependabot config first (10 minutes), then configure branch protection while waiting for Scorecard to rescan.
Check Interactions¶
Branch-Protection + Code-Review:
Branch protection enforces code review requirements. These two checks measure the same control from different angles:
- Branch-Protection: Configuration exists
- Code-Review: Configuration is actually being followed (checks commit history)
Dependency-Update-Tool + Vulnerabilities:
Automated updates prevent vulnerabilities from accumulating. Projects with active dependency updates score higher on Vulnerabilities check because known CVEs are patched faster.
Dependency-Update-Tool + Pinned-Dependencies:
Renovate auto-pins GitHub Actions to SHA digests, directly improving Pinned-Dependencies score. Dependabot does not pin by default.
Branch-Protection + Dangerous-Workflow:
Branch protection prevents attackers from merging malicious workflow changes directly. Requires PR review even for .github/workflows/*.yml files.
Branch-Protection + Maintained:
Active branch protection signals ongoing maintenance. Abandoned projects often have disabled or weakened branch protection.
Related Content¶
Existing guides:
- Scorecard Index - Overview of all 18 checks
- Code Review Checks - Code-Review check details with branch protection patterns
- Supply Chain Checks - Pinned-Dependencies automated management with Renovate
- Security Practices Checks - Vulnerabilities check and dependency scanning
- Tier 1 Progression - Quick wins including basic branch protection
- Tier 2 Progression - Advanced branch protection with up-to-date branches
Blog posts:
- Stuck at 8: The Journey to 10/10 - Branch protection "up to date" requirement
- 16 Alerts Cleared Overnight - Mass remediation patterns
Related patterns:
- Scorecard Workflow Examples - Complete workflows with status checks referenced in branch protection
- Scorecard Compliance - Core patterns for achieving 10/10 scores