-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why you should pin your GitHub Actions by commit-hash #49
Comments
Thank you for the article! It makes sense and maybe should become the default. Are there any known attacks using this method? |
Hi @dreua! The attack vector is the supply chain attack one mentioned in the blog post |
@RafaelGSS it would be interesting to know if there was any known real incident using this attack vector. I think that's what dreua wanted to know as well. |
What I wonder additionally is whether it is possible to get automatic updates with pinned hashes. Dependabot is really great with checking your used actions and creating PRs for updates. Not sure if it us a worthy trade to use pinned outdated Actions but never get them updated. (Assuming you can't get both and have someone or some bot to help with updating the pins.) |
I know a few real incidents, but I don't have references to share them.
Dependabot automatically updates it. See nodejs/node#51334 |
Renovate also does it: detekt/detekt@fde578d |
Why you should pin your GitHub Actions by commit-hash
A tech blog focused on Application Performance and Software Architecture. The Front-end is just JSON over here.
https://blog.rafaelgss.dev/why-you-should-pin-actions-by-commit-hash
The text was updated successfully, but these errors were encountered: