• 4dpuzzle ( tesseract@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 years ago

        You are right, except for one detail. Package managers almost always validate the packages using digital signatures, to avoid man-in-the-middle attacks. You don’t need to trust the network anymore. Shell scripts piped to a shell don’t have that protection. You still have to trust the developers and maintainers, though.

    • shaked_coffee ( shaked_coffee@feddit.it ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 years ago

      Agree. Not at all a security expert here, but maybe doing it inside a distrobox could be a temporary fix?

      Forget it, I just tried and it seems it gets installed in your home directory so using distrobox doesn’t change anything (apparently, but as I said I’m not an expert so feel free to correct me if I’m wrong).

      However, I’ve seen they also have it available through a bunch of package managers like nix, arch and Fedora