mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[PR #5274] [CLOSED] fix: using variable interpolation `${{ in build-and-push-image.yml (y... #5223
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5274
Author: @orbisai0security
Created: 4/1/2026
Status: ❌ Closed
Base:
dev← Head:fix-fix-shell-injection-build-and-push-image📝 Commits (1)
0418feafix: using variable interpolation `${{ in build-and-push-image.yml📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
.github/workflows/build-and-push-image.yml(+4 -2)📄 Description
Summary
Fix high severity security issue in
.github/workflows/build-and-push-image.yml.Vulnerability
yaml.github-actions.security.run-shell-injection.run-shell-injection.github/workflows/build-and-push-image.yml:34Description: Using variable interpolation
${{...}}withgithubcontext data in arun:step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code.githubcontext data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable withenv:to store the data and use the environment variable in therun:script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".Changes
.github/workflows/build-and-push-image.ymlVerification
Automated security fix by OrbisAI Security
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.