SW-F-0219Critical
Pull-request workflow runs untrusted code with deploy credentials
- Asset
.github/workflows/preview.yml- Impact
- An outside contributor can exfiltrate production deploy secrets.
- Fix
- Split untrusted builds from privileged jobs and scope tokens to read-only.
Validatedexpert reviewIllustrative example, not a client finding