Skip to content

Prevent script injection in GHA workflows#688

Open
rakshil14-2 wants to merge 1 commit into
mainfrom
fix-script-injection
Open

Prevent script injection in GHA workflows#688
rakshil14-2 wants to merge 1 commit into
mainfrom
fix-script-injection

Conversation

@rakshil14-2

@rakshil14-2 rakshil14-2 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Move untrusted github.event.* interpolations out of run: blocks and into env: variables, then reference via "$VAR" inside the shell script. Eliminates script-injection sinks flagged by AppSec.

Affected workflows:
release.yml (release.tag_type)
issue-regression-labeler.yml (issue.number, repository, steps.check_regression.outputs.is_regression)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

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