Skip to content

chore: onboard stepsecurity and apply security best practice#83

Open
ali-kafel wants to merge 2 commits intocirclefin:masterfrom
ali-kafel:patch-1
Open

chore: onboard stepsecurity and apply security best practice#83
ali-kafel wants to merge 2 commits intocirclefin:masterfrom
ali-kafel:patch-1

Conversation

@ali-kafel
Copy link
Copy Markdown

This pull request updates the GitHub Actions workflow configuration in .github/workflows/ci.yml to improve security and reliability. The main changes include hardening the runner environment, setting explicit permissions, and pinning action versions to specific commit SHAs for better reproducibility.

Security hardening:

  • Added the step-security/harden-runner action to all jobs (lint-and-test, analyze-message-transmitter, analyze-message-transmitter-v2, and analyze-token-messenger-minter) to block unauthorized network egress and enforce a global allowed endpoints policy. [1] [2] [3] [4]
  • Explicitly set permissions: id-token: write for all jobs to control GitHub token permissions. [1] [2] [3] [4]

Workflow reliability and reproducibility:

  • Updated all action usages (actions/checkout, actions/setup-python, and actions/setup-node) to use pinned commit SHAs instead of version tags, ensuring consistent and reproducible builds. [1] [2] [3] [4]

stepsecurity-app bot and others added 2 commits October 30, 2025 17:45
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
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