python-aws-ssm icon indicating copy to clipboard operation
python-aws-ssm copied to clipboard

[StepSecurity] Apply security best practices

Open stepsecurity-app[bot] opened this issue 2 months ago • 0 comments

Summary

This pull request has been generated by StepSecurity as part of our 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.

Feedback

For any questions or issues, please contact AppSec (#team-appsec on Slack).

stepsecurity-app[bot] avatar Oct 17 '25 14:10 stepsecurity-app[bot]