• Maxxie@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      Running actions on your own machine doesn’t solve cache poisoning or supply chain attacks, your VM will download compromised npm package or github actions the same way GH runner does.

      Version pinning/script disabling makes a compromise slightly less likely, rolling your own package server helps a lot (but who got time to maintain version whitelist).

      Honestly the best solution is to have minimum amount of dependencies. You don’t need a GH action to ping indexers or generic foreign key library for your backed, hammer one yourself.

      That and scope all your keys so the leak won’t be as devastating 🤷‍♀️

      • lauha
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        3 months ago

        Honestly the best solution is to have minimum amount of dependencies.

        Isn’t this a sane practice in programming anyway? Just don’t go overboard with dependency minimalism.

        • Piatro@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          Yes but the reality of JavaScript codebases is that you’ll typically import hundreds if not thousands of dependencies fairly quickly. Last time I looked at the UI codebase at my job it was sitting at over 40k.

          • lauha
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 months ago

            That’s one of the reasons) why JS development is the shitshow it is.

        • Maxxie@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          IDK how other people are, but to me solving a problem with a single #include just feels right. Less code to maintain, responsibility is shifted to a dedicated person, obviously much faster… But also constant anxiety and daily monitoring of security blogs, so I’m trying to cut back

  • cockmushroom@reddthat.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    The 👏 death 👏 of 👏 github 👏 will 👏 never 👏 be 👏 the 👏 death 👏 of 👏 open 👏 source