Commit aba8dd0
committed
fix(security): prevent command injection in GitHub Actions workflows
- Use environment variables instead of direct interpolation for user inputs
- Add proper quoting for environment variables in shell commands
- Fix create-release.yml: use INPUT_VERSION env var for inputs.version
- Fix retry-workflow.yml: use RUN_ID env var for inputs.run_id
Resolves high-severity security vulnerability in workflow variable interpolation1 parent 752a81f commit aba8dd0
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
0 commit comments