Skip to content

ci: pin workflow actions to commit SHAs#64

Merged
rcooney-sh merged 1 commit into
mainfrom
sec/pin-workflow-actions
Jul 20, 2026
Merged

ci: pin workflow actions to commit SHAs#64
rcooney-sh merged 1 commit into
mainfrom
sec/pin-workflow-actions

Conversation

@rcooney-sh

@rcooney-sh rcooney-sh commented Jul 20, 2026

Copy link
Copy Markdown

Resolves the Aikido action-pinning finding (group 14426944, Linear SEC-512). stickydisk is a public, customer-consumed action whose release workflow runs with contents: write + BUF_TOKEN and force-moves the v1 floating tag customers pull, so a compromised third-party action here is a supply-chain path into every consumer. All actions in build.yaml and release.yml are now pinned to full commit SHAs with version comments that Dependabot's existing daily github-actions config keeps updated:

uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0

Pins verified against upstream refs; bufbuild/buf-setup-action's v1 branch head is the same commit as v1.50.0, so behavior is identical to what @v1 resolves today.

Risk stoplight: GREEN. Config-only, no dependency or code changes; SHAs resolve to the exact commits the floating tags/refs point at today. Revert = single commit revert.

Pins bufbuild/buf-setup-action, actions/checkout, and actions/setup-node
to full commit SHAs (with version comments Dependabot keeps updated) in
build.yaml and release.yml, protecting CI/CD from supply chain attacks
via compromised action tags.

Co-authored-by: Codesmith Staging <codesmith-bot@users.noreply.github.com>
@rcooney-sh
rcooney-sh force-pushed the sec/pin-workflow-actions branch from 6279745 to 17c5975 Compare July 20, 2026 15:05
@linear-code

linear-code Bot commented Jul 20, 2026

Copy link
Copy Markdown

SEC-512

@rcooney-sh
rcooney-sh marked this pull request as ready for review July 20, 2026 15:05
@rcooney-sh rcooney-sh changed the title ci: pin third-party actions to commit SHAs and drop CI checkout credentials ci: pin workflow actions to commit SHAs Jul 20, 2026
@rcooney-sh
rcooney-sh requested a review from piob-io July 20, 2026 15:07
@rcooney-sh
rcooney-sh merged commit e4caf36 into main Jul 20, 2026
13 checks passed
@rcooney-sh
rcooney-sh deleted the sec/pin-workflow-actions branch July 20, 2026 18:51
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.

2 participants