-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security update:remove branch name injection
Branch names are external user generated, therefore, they constitute a vulnerability point (altought very niche). For this reason it's better to limit user generated input in shell scripts like the one in our file, when using clever-tools. Instead of using env.BRANCH_NAME in our script, we'll use github.event.number, which is the number of the PR on the repo.
- Loading branch information
Showing
2 changed files
with
9 additions
and
11 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
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