Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
.github/workflows/test-e2e-gpu.yaml: most-fixed (2 issues). Treat as high-risk during review.
2 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.
Privilege Escalation: The workflow was triggered via the highly privileged pull_request_target event while running end-to-end GPU tests, exposing the repository to unauthorized secret access and workflow injection from fork pull requests. This was mitigated by switching the trigger mechanism and introducing environment approval gates.
Token Privilege Escalation: The GITHUB_TOKEN permissions for the GPU E2E workflow were not explicitly restricted, leaving it open to potential token hijacking and repository compromise by malicious code submitted through untrusted pull requests.
Auth Bypass: The TrainJob controller was deployed with unnecessary create and delete RBAC privileges in the base roles, expanding the attack surface within the cluster by violating the principle of least privilege.