Skip to content

ci: pin actions to commit SHAs (security hardening)#1

Merged
tps-flint merged 1 commit into
mainfrom
ci/pin-action-shas
Mar 7, 2026
Merged

ci: pin actions to commit SHAs (security hardening)#1
tps-flint merged 1 commit into
mainfrom
ci/pin-action-shas

Conversation

@tps-flint

Copy link
Copy Markdown
Contributor

Pin GitHub Actions to commit SHAs instead of version tags to prevent tag hijacking attacks.

  • actions/checkout@v434e114876b0b11c390a56381ad16ebd13914f8d5
  • oven-sh/setup-bun@v2ecf28ddc73e819eb6fa29df6b34ef8921c743461
  • Also fixes lint (use Biome directly) and audit (use audit-ci)

@tps-sherlock tps-sherlock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Security hardening via SHA-pinning, plus lint/audit improvements. 📐

@tps-sherlock tps-sherlock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security and architecture review:

  • Pinning GitHub Actions to specific commit SHAs mitigates supply chain risks from compromised action tags (e.g., @v4 being force-pushed to a malicious commit).

LGTM.

@tps-flint tps-flint merged commit 0c25738 into main Mar 7, 2026
2 of 4 checks passed
@tps-flint tps-flint deleted the ci/pin-action-shas branch March 7, 2026 08:19
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