Commit 07d2dce
authored
security(gha): fix potential for shell injection (#4099)
Running these workflows is gated pretty well, but this mitigates the
potential for a script injection attack by passing the input to an
intermediary environment variable first.
See
https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#example-of-a-script-injection-attack
for more details.1 parent 189e4a9 commit 07d2dce
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
0 commit comments