Skip to content

Pin trivy-action to SHA after supply chain attack#18

Merged
matthew-on-git merged 1 commit intomainfrom
fix/pin-trivy-action-sha
Mar 23, 2026
Merged

Pin trivy-action to SHA after supply chain attack#18
matthew-on-git merged 1 commit intomainfrom
fix/pin-trivy-action-sha

Conversation

@matthew-on-git
Copy link
Copy Markdown
Contributor

Summary

  • Pin aquasecurity/trivy-action from tag @0.28.0 to SHA @57a97c7e7821a5776cebc9bb87c984fa69cba8f1 (v0.35.0)
  • Response to supply chain attack where all trivy-action tags before 0.35.0 were force-pushed to malicious commits containing an infostealer

Impact assessment

  • No secrets were compromised. Our CI runs on March 19 completed at ~04:58 UTC, approximately 13 hours before the attack window started (~17:43 UTC)
  • The trivy binary inside the container (0.69.3, installed via APT) was not affected — only the GitHub Action tags were poisoned
  • This is a preventive fix to ensure future CI runs use a verified, SHA-pinned action

References

🤖 Generated with Claude Code

All trivy-action tags before 0.35.0 were force-pushed to malicious
commits during March 19-20 2026 (aquasecurity/trivy-action#541).
Pin to SHA 57a97c7 (v0.35.0) which was not compromised.

Our CI runs on March 19 completed at ~04:58 UTC, before the attack
window (~17:43 UTC), so no secrets were exposed. This is a preventive
fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@matthew-on-git matthew-on-git merged commit ac2d591 into main Mar 23, 2026
3 checks passed
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.

1 participant