build: pin the new lint job actions by commit
What changed, and why it matters
This change updates two GitHub Actions used in the project's automated lint workflow so they are locked to specific commit hashes instead of floating version tags. A floating tag could be silently repointed to a different, possibly malicious commit, meaning the project's own build servers might run unexpected code. The patch is a preventive hardening measure, not a fix for an active attack.
No urgent action is required. Treat this as a good security hygiene commit. Reviewers should verify the pinned commit hashes match the intended v3 releases of the actions and consider applying the same pinning policy to any remaining unpinned third-party actions in the repository.
Security signals we found
CI/CD supply-chain hardening
third-party action pinning by commit hash
prevention of tag-movement attacks
no active vulnerability or exploit described
Evidence from the diff
The commit pins crazy-max/ghaction-github-runtime and docker/setup-buildx-action in .github/workflows/main.yml from mutable major tags (@v3) to immutable commit hashes (3cb05d89e1f492524af3d41a1c98c83bc3025124 and 8d2750c68a42422c14e847fe6c8ac0403b4cbd6f). This mitigates supply-chain risk where a compromised or renamed tag could execute attacker-controlled code during CI lint runs. The change is defensive; no vulnerability in the actions themselves is identified in the commit.
Changed components
.github/workflows/main.ymlGitHub Actions lint jobcrazy-max/ghaction-github-runtimedocker/setup-buildx-actionInspect captured patch +4 / −2
### .github/workflows/main.yml
@@ -349,10 +349,12 @@ jobs:
# to plain run: steps; without it the gha cache backend in a
# manually invoked docker build has no way to reach the cache store.
- name: Expose GitHub runtime credentials for BuildKit
- uses: crazy-max/ghaction-github-runtime@v3
+ # crazy-max/ghaction-github-runtime v3
+ uses: crazy-max/ghaction-github-runtime@3cb05d89e1f492524af3d41a1c98c83bc3025124
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
+ # docker/setup-buildx-action v3
+ uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
- name: lint
run: GOGC=50 make lintWhy this scored 31/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.