Skip to content

ci: harden composite action inputs before shell use - #1512

Open
SashaMIT wants to merge 1 commit into
across-protocol:masterfrom
SashaMIT:ci/harden-composite-inputs-dco
Open

ci: harden composite action inputs before shell use#1512
SashaMIT wants to merge 1 commit into
across-protocol:masterfrom
SashaMIT:ci/harden-composite-inputs-dco

Conversation

@SashaMIT

@SashaMIT SashaMIT commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • CI hygiene for .github/actions/setup-node-if-needed, cache-svm-artifacts, and generate-svm-artifacts.
  • Bind free-string inputs (node_version, type) under env: before run: script use (quoted $NODE_VERSION / $SVM_TYPE).
  • with: / path: / key: expressions left as-is (not shell script text).
  • Mirrors the existing CACHE_PATHS env binding in generate-svm-artifacts.
  • Defense-in-depth for Actions composites — not framed as a vulnerability ticket.

Test plan

  • Workflow YAML review
  • Existing pr.yml / publish.yml SVM cache + generate paths still invoke the composites with type: artifacts / verified-test-binaries

Note

Supersedes #1511 — same change re-applied with a DCO Signed-off-by commit (previous tip lacked sign-off).

Made with Cursor

Bind free-string composite inputs under env before interpolating them in
run scripts, matching the existing CACHE_PATHS pattern.

Signed-off-by: SashaMIT <sash@ela.city>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant