Skip to content

Conversation

@stepsecurity-app
Copy link
Contributor

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.

Least Privileged GitHub Actions Token Permissions

The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.

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.

Maintain Code Quality with Pre-Commit

Pre-commit is a framework for managing and maintaining multi-language pre-commit hooks. Hooks can be any scripts, code, or binaries that run at any stage of the git workflow. Pre-commit hooks are useful for enforcing code quality, code formatting, and detecting security vulnerabilities.

Feedback

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

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 3 0 0.04s
✅ COPYPASTE jscpd yes no 1.58s
⚠️ REPOSITORY checkov yes 1 13.35s
✅ REPOSITORY gitleaks yes no 0.12s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 19.7s
✅ REPOSITORY secretlint yes no 0.78s
✅ REPOSITORY trivy yes no 5.64s
✅ REPOSITORY trivy-sbom yes no 4.39s
✅ REPOSITORY trufflehog yes no 5.18s
⚠️ SPELL cspell 5 16 3.06s
✅ YAML prettier 4 4 0 0.63s
✅ YAML v8r 4 0 4.08s
✅ YAML yamllint 4 0 0.47s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@SamErde SamErde merged commit b743dad into main Nov 5, 2025
5 of 6 checks passed
@SamErde SamErde deleted the chore/GHA-052020-stepsecurity-remediation branch November 5, 2025 20:26
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