Github — Hard
Key points
- Checking out the head SHA executes untrusted code
- Merge SHA ensures a trusted codebase
- Separate jobs are necessary for attacker code
- Repository secrets are exposed with head SHA
- Write permissions are vulnerable with head SHA
Ready to go further?
Related questions
