Highlights
Credential Leak: 1 prior fix. Scrutinize any change in this area.
.github/workflows/main.yml: most-fixed (2 issues). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Credential Leak: By default, the actions/checkout step persists the GITHUB_TOKEN in the local .git directory, making it accessible to subsequent steps, untrusted build scripts, or compromised external dependencies. Disabling this persistence is critical for mitigating token theft.
Privilege Escalation: Workflows running with default broad permissions run the risk of serious privilege escalation if an attacker compromises a run. Restricting the GITHUB_TOKEN explicitly to read-only scopes minimizes the impact of potential workflow injections.