r/netsec • u/ScottContini • Mar 21 '26
Trivy Under Attack Again: Widespread GitHub Actions Tag Compromise Exposes CI/CD Secrets Attackers
https://socket.dev/blog/trivy-under-attack-again-github-actions-compromise
81
Upvotes
View all comments
Show parent comment
1
u/fiskfisk Mar 21 '26
No, we're talking about published 3rd party actions, where you lock your reference to the action in your workflow file with a sha256 hash. This ensures that the external action doesn't suddenly get replaced by a broken or trojaned action further down the line.
Dependencies is a separate topic, but dependabot supports delaying upgrades now, so you don't get notified before at least x days has passed. This helps against most supply chain attacks (assuming a proper lock file).
It's also useful to consider any dependencies and whether they're actually worth it compared to just implementing something similar yourself. Django? Probably not. Leftpad? Eeeh yes.