Highlights
Privilege Escalation: 2 prior fixes. Scrutinize any change in this area.
.github/workflows/mypy_primer.yml: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Privilege Escalation: Execution of untrusted pull requests using privileged repository tokens allowed arbitrary write access. This was addressed by separating the workflow execution using the 'workflow_run' trigger to isolate secrets.
Privilege Escalation: Overly broad global permissions (like pull-requests: write and contents: read) elevated the risk of token leak or abuse during workflow execution. This was mitigated by applying the principle of least privilege at the individual job level.