GitHub Actions security insights
MSALFinds potential security issues in GitHub Actions workflows, based on Zizmor security analysis rules.
org. openrewrite. github. security. GitHubActionsSecuritymod run . --recipe= org. openrewrite. github. security. GitHubActionsSecurityInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Find credential persistence through GitHub Actions artifacts
- Find spoofable bot actor checks
- Find cache poisoning vulnerabilities
- Find dangerous workflow triggers
- Find excessive permissions
- Find forbidden action usage
- Find dangerous GITHUB_ENV usage
- Find hardcoded container credentials
- Find insecure commands configuration
- Find obfuscated GitHub Actions features
- Find commit SHAs with potentially mismatched version comments
- Find unconditional secrets inheritance
- Find usage of self-hosted runners
- Find template injection vulnerabilities
- Find manual credentials instead of trusted publishing
- Document permissions usage
- Pin GitHub Actions to specific commits
- Pin Docker images to digests