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

create_pr_update: Use intermediary env variable to avoid unexpected side effects #5

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Dec 7, 2023

I was auditing for any "run" stanzas that accepted external inputs and found an unlikely-to-be-exploited case in 'create_pr_update'. This variable is not generally controlled by anyone except for repo owners, but I figured I should send a PR in any way.

Context: https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Thomas

@cpanato cpanato merged commit 6d454c6 into chainguard-dev:main Dec 7, 2023
3 checks passed
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.

2 participants