Skip to content

chore: onboard stepsecurity and apply security best practices - #8

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

chore: onboard stepsecurity and apply security best practices#8
ali-kafel wants to merge 2 commits into
circlefin:masterfrom
ali-kafel:patch-1

Conversation

@ali-kafel

Copy link
Copy Markdown
Member

Summary

This pull request improves the security and reliability of the CI workflow by hardening the runner environment and pinning GitHub Action dependencies to specific commit SHAs. These changes help prevent supply chain attacks and ensure consistent builds.

Detail

Security hardening:

  • Added the step-security/harden-runner action to the workflow to block unauthorized network egress and apply a global allowed endpoints policy.
  • Set the id-token permission to write for the workflow, which may be required for secure authentication with cloud providers or other services.

Dependency management:

  • Updated actions/checkout and actions/setup-node steps to use pinned commit SHAs instead of version tags, reducing the risk of unexpected changes in dependencies.

Testing

  • 100% test coverage is maintained

Documentation


Requested Reviewers: @mention

stepsecurity-app Bot and others added 2 commits October 30, 2025 17:43
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