fix: harden GitHub Actions against supply chain attacks#18
fix: harden GitHub Actions against supply chain attacks#18
Conversation
This hardens the repository against supply chain attacks like the aquasecurity/trivy-action compromise (2026-03-19). Changes: - Pin all GitHub Actions to immutable commit SHAs - Add/update Dependabot configuration for github-actions ecosystem Ref: netresearch/ofelia#535 Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the security posture of the project's CI/CD workflows by implementing best practices to mitigate supply chain attacks. By enforcing immutable action references and automating dependency updates, it ensures the integrity and reliability of the build process against known vulnerabilities and future threats. Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a Dependabot configuration in .github/dependabot.yml to automate updates for GitHub Actions. The configuration correctly sets up weekly checks and groups all action updates into a single pull request, which will help manage the maintenance of the pinned action versions mentioned in the pull request description. The implementation is sound and I have no specific recommendations for changes.
|
Closing: this is a fork used for upstream PRs, not actively maintained by us. |
Summary
Context
On 2026-03-19,
aquasecurity/trivy-actionwas compromised via a tag force-push attack that exfiltrated secrets from CI runners. SHA-pinning prevents this class of attack entirely.The netresearch org now enforces
sha_pinning_required=true— workflows using tag/branch references will fail.Ref: netresearch/ofelia#535
Test plan