-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(github): GitHub actions command injection
Command injection is possible with untrusted env.UNIVERSUM_BRANCH input. See #841 for an injection example. An attacker can steal repo secrets that are stored in the env URL variable and maybe GITHUB_TOKEN. This commit fixes this problem by following the official guide https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
- Loading branch information
1 parent
8db4db9
commit 0c3480b
Showing
1 changed file
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters