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

Plug credential leak in actions/checkout #10

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Plug credential leak in actions/checkout #10

merged 1 commit into from
Aug 16, 2024

Conversation

srgoni
Copy link
Contributor

@srgoni srgoni commented Aug 16, 2024

actions/checkout ships with an insecure default that leaks the GITHUB_TOKEN through the .git/config artifact that is kept between tasks. This can be a security issue, when different permission sets are used, or artifacts can be extracted before the token expires.

According to actions/checkout#485 , this issue can be mitigated by disabling persistence.

Also: Update to the latest checkout version.

@srgoni srgoni merged commit 144fc0e into main Aug 16, 2024
7 of 14 checks passed
@srgoni srgoni deleted the fix/checkout-leak branch August 16, 2024 16:19
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 this pull request may close these issues.

1 participant