News for hackers. Stuff that matters.
Re:Supply Chain Attack on Trivy by wilkystyle on Sunday March 22, 2026 @07:38PM (#47483545)
I have generally preferred to avoid using community-maintained actions as far as possible, instead installing and configuring the runners as though I would a normal machine.

This started from a desire to avoid an unknown amount of bloat and untrusted code, but also because I'm pretty tired of getting Node deprecation warnings for installing/using something that has nothing to do with JavaScript at all.

I've always installed a pinned version of Trivy of my choosing, and installed by curl | sh.

Looks like curl | sh may have saved my skin, whereas even older versions of the github action were force-pushed to install the vulnerable binary.

Re:Supply Chain Attack on Trivy by SahAssar on Sunday March 22, 2026 @07:48PM (#47483611)
> avoid using community-maintained actions as far as possible, instead installing and configuring the runners as though I would a normal machine.

A runner and a action are two very different things.

You could run on the default runners with no community actions, and you can run on self-hosted runners with a lot of community actions.

Re:Supply Chain Attack on Trivy by wilkystyle on Sunday March 22, 2026 @08:26PM (#47483925)
If you're getting hung up on "normal machine", what I meant is a computer in general that is not related to GitHub Actions at all.

If that's not the part of my message you're referring to, then your message seems completely orthogonal to what I posted.

Re:Supply Chain Attack on Trivy by K3UL on Monday March 23, 2026 @03:31AM (#47486416)
They're right though, using a self-hosted runner has nothing to do with using community actions or not. Installing with curl and sh can be done in a github public runner just as well.
Re:Supply Chain Attack on Trivy by wilkystyle on Monday March 23, 2026 @05:49AM (#47487239)
Of course it's a true statement, but I'm not using self-hosted runners, nor does my comment mention them.