Skip to content
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

Hash pin actions used on workflows and enable depenadabot #1386

Closed
joycebrum opened this issue Sep 25, 2023 · 0 comments · Fixed by #1387
Closed

Hash pin actions used on workflows and enable depenadabot #1386

joycebrum opened this issue Sep 25, 2023 · 0 comments · Fixed by #1387

Comments

@joycebrum
Copy link
Contributor

Hi again, I'd like to suggest another security practice that helps increasing CI stability and prevent tag renaming attack.

This practice is recommended by both the OpenSSF Scorecard and the github security hardening.

It is really important to ensure privileged actions and/or third-party actions are always hash-pinned.

Considering dependabot grouping PRs, it is now much more easier to ensure keeping actions immutable, but still up to date.

Any concerns or questions about it, let me know!
Thanks.

Additional Context

A tag renaming attack is a type of attack whereby an attacker:

  • Hijack an action.
  • Upload a malicious version.
  • Replace existing tags with malicious versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant