Skip to content

[StepSecurity] Apply security best practices#689

Merged
cpanato merged 2 commits intomainfrom
chore/GHA-150521-stepsecurity-remediation
Jan 16, 2026
Merged

[StepSecurity] Apply security best practices#689
cpanato merged 2 commits intomainfrom
chore/GHA-150521-stepsecurity-remediation

Conversation

@stepsecurity-app
Copy link
Contributor

This PR implements go/ssdlc-2. Please raise issues to ProdSec's on-call rotation.

Ref: https://github.com/chainguard-dev/prodsec/issues/138

Summary

This pull request has been generated by StepSecurity as part of your enterprise subscription to ensure compliance with recommended security best practices. Please review and merge the pull request to apply these security enhancements.

At a high level, this PR:

  • Adds the harden-runner Action if not already present
  • Pins Actions to a digest rather than mutable tags
  • Restricts GitHub token permissions to be as minimal as possible

Security Fixes

Pinned Dependencies

Pinning GitHub Actions to specific versions or commit SHAs ensures that your workflows remain consistent and secure.
Unpinned actions can lead to unexpected changes or vulnerabilities caused by upstream updates.

StepSecurity Maintained Actions

Risky GitHub Actions can expose your project to potential security risks. Risky actions have been replaced with StepSecurity maintained actions, that are secure drop-in replacements.

Feedback

For bug reports, feature requests, and general feedback; please create an issue in step-security/secure-repo or contact us via our website.

@cpanato
Copy link
Member

cpanato commented Jan 15, 2026

is this okay @eslerm ?

@eslerm
Copy link
Contributor

eslerm commented Jan 15, 2026

hrm, they merged the feature but didn't bump

I'm having a meeting with StepSecurity today. I'll ask about for maintenance.

I'll see if putting this in draft mode will prevent followup PRs.

@eslerm eslerm marked this pull request as draft January 15, 2026 19:43
@eslerm eslerm marked this pull request as ready for review January 15, 2026 20:10
@eslerm
Copy link
Contributor

eslerm commented Jan 15, 2026

Spoke to StepSecurity. The 1.4.0 pinned version is up to date (they did not cut a release, since upstream added files that were dropped in the secure version). StepSecurity did sync with upsteam, but did not bump. They are considering making version bumps for parity going forward. Regardless, this is good to go ➕

@cpanato cpanato added this pull request to the merge queue Jan 16, 2026
Merged via the queue into main with commit 5492493 Jan 16, 2026
10 checks passed
@cpanato cpanato deleted the chore/GHA-150521-stepsecurity-remediation branch January 16, 2026 08:04
cpanato added a commit that referenced this pull request Jan 20, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 22, 2026
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