GitHub Actions Security: How Did Orphaned Commits Skip Review?
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Now, walk us through how those orphaned commits actually allowed the attacker to trigger workflows without opening a pull request or more importantly without alerting reviewers. How did that happen? >> So, basically it's a case of miss
mismanagement of the GitHub repository. >> Mhm. On the part of who? >> On the part of the Red Hat. >> Okay. >> Because instead of limiting the secrets and deployment abilities only to specific branches or specific PRs, the entire all self-hosted runners had those [music] secrets and deployment capabilities. That means that even orphaned commits, which usually are not running in any mainline branch, um still had access to those keys and those privileges needed to publish packages.





