Skip to content

fix(ci): version-faithful replacement of fake action SHA pins#14

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/fix-fake-action-shas-round2
May 30, 2026
Merged

fix(ci): version-faithful replacement of fake action SHA pins#14
hyperpolymath merged 1 commit into
mainfrom
claude/fix-fake-action-shas-round2

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Summary

Replaces fake action SHA pins with version-faithful real SHAs. Each fake here is a partial-prefix corruption of a real version's SHA — the author intended a specific version (per the # vX.Y.Z comment) but the suffix was fabricated.

The fix restores author intent rather than blindly bumping. This matters for actions where check-name reporting can differ between major versions (CodeQL especially) — preserving the major version preserves any branch-protection contexts referencing check names.

Replacement table

Only substitutions where the fake SHA was actually present in this repo's workflows were applied; the diff shows exactly what changed.

Action Version intent Real SHA
goto-bus-stop/setup-zig v2.2.1 abea47f85e598557f500fa1fd2ab7464fcb39406
erlef/setup-beam v1.24.0 / v1.19.0 / v1.18.2 per-pin (see diff)
denoland/setup-deno v2.0.4 / v2.0.2 / v1.1.4 per-pin
haskell-actions/setup v2.11.0 cd0d9bdd65b20557f41bea4dbe43d0b5fbbfe553
actions/upload-artifact v4.6.2 ea165f8d65b6e75b540449e92b4886f43607fa02
actions/setup-node v4.4.0 / v4.2.0 per-pin
trufflesecurity/trufflehog v3.95.3 / v3.82.13 / v3.63.6 per-pin
github/codeql-action/* v3.36.0 / v3.31.10 / v3.28.0 / v4.36.0 per-pin (major preserved)
Swatinem/rust-cache v2.7.8 9d47c6ad4b02e050fd481d890b2ea34778fd09d6
gitleaks/gitleaks-action v2.3.7 83373cf2f8c4db6e24b41c1a9b086bb9619e9cd3

All real SHAs verified via gh api repos/<org>/<action>/commits/<sha>.

Provenance

Estate audit 2026-05-30 found 67 fake action SHA pins across ~50 repos via gh-api 422 verification of 372 unique pins. Round-1 (16 repos) swept the 4 widespread template-comment fakes; this PR is part of round-2 covering the long-tail single/few-repo fakes.

Full audit data at ~/Documents/estate-fake-shas-2026-05-30.tsv.

Test plan

  • Diff shows only fake-SHA → real-SHA substitutions in .github/workflows/*.yml
  • No major version changes (same X in vX.Y.Z); check-name reporting unchanged
  • Action steps that previously 422'd now resolve correctly

These pins were partial-prefix-corruption fakes — fabricated SHAs that
share a prefix with a real version's SHA but have fabricated suffixes,
slipping past visual review. Verified fake via `gh api commits/<sha> ->
422`.

The fix preserves the version the author originally intended (read from
the `# vX.Y.Z` comment alongside each pin), rather than blindly bumping
to latest. This is important for actions where check-name reporting can
differ between major versions (e.g. CodeQL) — keeping the same major
preserves any branch-protection contexts that reference check names.

Substitutions applied (those present in this repo only — see diff):

  goto-bus-stop/setup-zig         v2.2.1   abea47f85e...
  erlef/setup-beam                v1.24.0  fc68ffb904...
  erlef/setup-beam                v1.18.2  5304e04ea2...
  erlef/setup-beam                v1.19.0  8aa8a857c6...
  denoland/setup-deno             v2.0.4   667a34cdef...
  denoland/setup-deno             v2.0.2   909cc5acb0...
  denoland/setup-deno             v1.1.4   041b854f97...
  haskell-actions/setup           v2.11.0  cd0d9bdd65...
  actions/upload-artifact         v4.6.2   ea165f8d65b6e75b...
  actions/setup-node              v4.4.0   49933ea5288caeca8642d1e84afbd3f7d6820020
  actions/setup-node              v4.2.0   1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
  trufflesecurity/trufflehog      v3.95.3  37b77001d0...
  trufflesecurity/trufflehog      v3.82.13 1aa1871f9a...
  trufflesecurity/trufflehog      v3.63.6  f699f60e89...
  github/codeql-action/*          v3.36.0  03e4368ac7...
  github/codeql-action/*          v3.31.10 4bdb89f480...
  github/codeql-action/*          v3.28.0  48ab28a6f5...
  github/codeql-action/*          v4.36.0  7211b7c807...
  Swatinem/rust-cache             v2.7.8   9d47c6ad4b...
  gitleaks/gitleaks-action        v2.3.7   83373cf2f8...

Verified real via `gh api repos/<org>/<action>/commits/<sha>`.

Provenance: [[project_estate_fake_action_sha_punch_list_2026_05_30]];
caught during the estate audit triggered by hyperpolymath/snifs#30.
@hyperpolymath hyperpolymath merged commit a57370a into main May 30, 2026
@hyperpolymath hyperpolymath deleted the claude/fix-fake-action-shas-round2 branch May 30, 2026 18:58
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