T08 · Insecure Dependencies
- Location
SKILL.md:404- Finding
GitHub Actions Dependencies Are Not Pinned to Immutable Commit SHAs
- Content
View full analysis
- Remediation
View remediation
- name: Setup Godot uses: chickensoft-games/setup-godot@ ``` 2. Retain the release version in a comment for maintainability, for example: ```yaml - uses: actions/checkout@ # v4.x ``` 3. Review the source, ownership, release history, and security posture of third-party actions before approving their commit SHAs. 4. Use Dependabot or an equivalent controlled update process to propose action SHA updates, and require review before merging them. 5. Declare minimal workflow permissions explicitly, such as: ```yaml permissions: contents: read ``` 6. Grant write permissions only to jobs that demonstrably require them, and isolate release or deployment jobs from ordinary build and pull-request jobs. 7. Do not expose repository or deployment secrets to workflows triggered by untrusted pull requests. 8. Protect release environments with approval gates, branch protections, artifact verification, and provenance or signature checks. ]]>
