Skip to content

Conversation

@cameron-dunn-sublime
Copy link
Member

Originally done in #625. I am creating a separate PR to handle merge conflicts.

emonti-ltc and others added 2 commits October 8, 2025 11:14
By only expanding template values in the job as environment variables
instead of in-line in 'run:' and 'script:' blocks we can broadly avoid
injection issues via template expansion.

This change broadly implements this best practice fix as well as ensuring
safe use of environment variables within 'run:' and 'script:' blocks as
needed to avoid shell and script expansion issues.

For reference, see:
https://github.blog/security/vulnerability-research/how-to-catch-github-actions-workflow-injections-before-attackers-do/#h-explaining-actions-workflow-injections
@cameron-dunn-sublime cameron-dunn-sublime marked this pull request as ready for review October 10, 2025 16:29
Copy link

@dlynch-sublime dlynch-sublime left a comment

Choose a reason for hiding this comment

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

lgtm

@cameron-dunn-sublime cameron-dunn-sublime merged commit b1429d5 into master Oct 10, 2025
2 checks passed
@cameron-dunn-sublime cameron-dunn-sublime deleted the latacora-fix-gh-workflows branch October 10, 2025 17:09
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.

3 participants