summaryrefslogtreecommitdiff
path: root/tool/ruby_vm
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-05-20 16:05:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-05-20 16:56:02 +0900
commit0dc0280bb2542a7c8721536ce998bfb8f2401b5d (patch)
tree5117b6825c232444b996329cd368042ff0b0fe2c /tool/ruby_vm
parentfd6a25342f071ada81bf0b452a6fd530468d7bb8 (diff)
Pass archname through env to avoid template injectionHEADmaster
zizmor flags `cd "${{ inputs.archname }}/"` inside `run:` blocks as code injection via template expansion: GitHub Actions substitutes the input value into the shell script verbatim, so a caller passing shell metacharacters could execute arbitrary code. Hoist `ARCHNAME: ${{ inputs.archname }}` to the job-level `env:` block and reference it as `$ARCHNAME` in shell, matching the pattern already used by tarball-windows.yml (see 942f45b2af). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'tool/ruby_vm')
0 files changed, 0 insertions, 0 deletions