Skip to content

fix: move pull request details from run to env vars#154

Merged
calummoore merged 1 commit intomainfrom
fix-potential-security-issue-in-pr-merge-workflow
Jan 2, 2025
Merged

fix: move pull request details from run to env vars#154
calummoore merged 1 commit intomainfrom
fix-potential-security-issue-in-pr-merge-workflow

Conversation

@timmyjose
Copy link
Contributor

This PR moves PR_TITLE, PR_BODY et al from the run section of the workflow (where it is susceptible to code injection) to the env section of the step.

Special thanks to: Francesco Garofalo francesco.garofalo@goteleport.com for pointing out the potential security issue.

Reference: https://securitylab.github.com/research/github-actions-untrusted-input/

@timmyjose timmyjose requested a review from calummoore June 26, 2024 07:03
@timmyjose timmyjose changed the title fix: move pr info details from run to env vars fix: move pull request details from run to env vars Jun 26, 2024
@calummoore calummoore merged commit ed1054e into main Jan 2, 2025
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