Bypassing GitHub Actions policies in the dumbest way possible
blog.yossarian.net
Bypassing GitHub Actions policies in the dumbest way possible
1–10 of 129 posts
Re: Bypassing GitHub Actions policies in the dumbest way possible
#2Re: Bypassing GitHub Actions policies in the dumbest way possible
#3That the policy can be "bypassed" by a code change doesn't seem so severe. If you are not reviewing changes to your CI/CD workflows all hope is lost. Your code could be exfiltrated, secrets stolen, and more.
Re: Bypassing GitHub Actions policies in the dumbest way possible
#4That the policy can be "bypassed" by a code change doesn't seem so severe. If you are not reviewing changes to your CI/CD workflows all hope is lost. Your code could be exfiltrated, secrets stolen, and more.
Or as an intuitive framing: if you can understand the value of branch protection and secret pushing policies for helping your junior engineers, the same holds for your CI/CD policies.
Re: Bypassing GitHub Actions policies in the dumbest way possible
#5Re: Bypassing GitHub Actions policies in the dumbest way possible
#6If someone is actively subverting a control like this, it probably means that the control has morphed from a guardrail into a log across the tracks.
Somewhat in the same vein as AppLocker &co. Almost everyone says you should be using it, but almost no-one does, because it takes a massive amount of effort just to understand what "acceptable software" is across your entire org.
Re: Bypassing GitHub Actions policies in the dumbest way possible
#7That the policy can be "bypassed" by a code change doesn't seem so severe. If you are not reviewing changes to your CI/CD workflows all hope is lost. Your code could be exfiltrated, secrets stolen, and more.
and
“We only allow actions published by our organization and reusable workflows OR ones that are manually downloaded from an outside source”
are very very different policies
Re: Bypassing GitHub Actions policies in the dumbest way possible
#8Re: Bypassing GitHub Actions policies in the dumbest way possible
#9This is a prime example of "If you make an unusable secure system, the users will turn it into an insecure usable one." If someone is actively subverting a control like this, it probably means that the control has morphed from a guardrail into a log across the tracks. Somewhat in the same vein as AppLocker &co. Almost everyone says you should be using it, but almost no-one does, because it takes a massive amount of e…