Commit fa99fca
fix: Prevent shell injection in GitHub Actions workflow
Fix shell injection vulnerability in e2e-v2.yml by using environment
variables instead of direct interpolation of github.ref context data.
The github.ref value is now passed through an intermediate environment
variable (REF) and accessed with double-quotes in the script to prevent
potential code injection attacks.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 819f027 commit fa99fca
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
294 | 296 | | |
295 | | - | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
0 commit comments