Skip to content

[StepSecurity] Apply security best practices - #31

Closed
stepsecurity-app[bot] wants to merge 1 commit into
mainfrom
chore/GHA-041919-stepsecurity-remediation
Closed

stepsecurity-app[bot] wants to merge 1 commit into
mainfrom
chore/GHA-041919-stepsecurity-remediation

Conversation

@stepsecurity-app

Copy link
Copy Markdown

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.

Security Fixes

Harden Runner

Harden-Runner is an open-source security agent for the GitHub-hosted runner to prevent software supply chain attacks. It prevents exfiltration of credentials, detects tampering of source code during build, and enables running jobs without sudo access.

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.

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 19:19

Copilot AI 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.

🟡 Changes recommended

The new hardening action in .github/workflows/action-e2e.yaml uses the mutable v2 tag rather than a full commit SHA, allowing upstream tag changes to introduce unreviewed code despite the dependency-pinning goal.

1 open issue
What changed in this PR

This PR strengthens supply-chain security in the action’s end-to-end workflow, focusing on the xz-compressed tarball test job.

Changes:

  • Adds Harden-Runner to audit outbound network calls.
  • Pins actions/checkout to a full commit SHA corresponding to v7.0.1.
File Description
.github/​workflows/​action-e2e.yaml Adds runner auditing and pins checkout in the xz tarball test job.

Review effort: Balanced

steps:
- uses: actions/checkout@v7
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@v2
@stepsecurity-app

Copy link
Copy Markdown
Author

Closed by StepSecurity: this pull request had no activity for 7 days, which is past the stale threshold set in your policy-driven pull request template. A new pull request with the current remediations is being opened in its place, and this branch has been deleted.

@stepsecurity-app stepsecurity-app Bot closed this Nov 12, 2026
@stepsecurity-app
stepsecurity-app Bot deleted the chore/GHA-041919-stepsecurity-remediation branch November 12, 2026 14:20
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