• 9tr6gyp3@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    AUR packages can be sandboxed with many different solutions. Any pckage can be sandboxed really.

    • Default Username@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      This attack was executed by a script running in the PKGBUILD itself. You didn’t have to run the application to be infected since just building it will infect your machine.

      • patlefort@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        It also had an install script that will be run as root when the package is installed. Can’t sandbox that.

      • 9tr6gyp3@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Yeah, I bet the build process could also be sandboxed, but Im sure its not the default.

        • Default Username@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          Sandboxing the build process would be a process. Nix already does it, for example. Many AUR packages don’t include a full list of dependencies.