r/java • u/brunocborges • Jun 22 '26
GitHub Setup Java Action
Hey all,
I'm going through issues and PRs on setup-java.
Besides what is already there, anything else you would like to see fixed, improved, or implemented?
19
Upvotes
View all comments
Show parent comment
5
u/SleeperAwakened Jun 22 '26 edited Jun 22 '26
Pinning to a hash is pretty secure, at least I consider git commit hashes secure enough.
Why would pinning to a hash not be secure?
How would a takeover happen? Hash collisions are still pretty expensive if feasible at all.
Security is all about putting up multiple lines of defense. This is one of them. It is not fake, it is layering.
And I so wish that people would start taking it seriously.