• Vendetta9076@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    23 minutes ago

    I feel like when this pops up everyone freaks out and yells about how it’s proof the aur sucks and arch is doomed. Do you people randomly install GitHub repos without any due diligence? Do you click on random ads to download bake bean can cursors? There’s malware fuckin everywhere. Just do your due diligence and don’t get screwed. And if you do get malware, have a plan to make it irrelevant. Anyone who doesn’t do these things should in no way be using the AUR.

  • Asonyxi@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    18 hours ago

    Man I feel like I dodged a bullet switching to Fedora right before this AUR fuckery started to happen…

    • motruck@lemmy.zip
      link
      fedilink
      arrow-up
      9
      ·
      13 hours ago

      You don’t have to use AUR to use Arch. Just like PPA for Ubuntu or Fedora’s Copr.

        • motruck@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          8 hours ago

          The chances malicious packages live in PPA now is quite high. Perhaps their adoption procedures are not conducive to the same type of attack AUR is experiencing.

    • Sanctus@anarchist.nexus
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 minutes ago

      You have to go download an AUR helper to even get into the AUR, it does not come by default on Arch systems. You have to actually do this to yourself to get the malware.

    • JamesBoeing737MAX@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      20
      ·
      1 day ago

      Well, just don’t use AUR for everything. They don’t even recommend helpers. It’s ment to be tedious, to discourage usage for non-necesarry bullshit.

      • bleustenns@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        1 day ago

        Yeah, there’s a ton of people that recommend Cachy when it is really meant for tinkerers IMHO

        • LordKitsuna@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          12 hours ago

          I’m very tired of the rhetoric that Arch is only meant for tinkerers. If all you do is have plasma steam and a web browser it’s no more or less likely to break than any other distro. You could go your entire life without ever looking at the terminal.

          And while yes this malware is a problem it is specifically in the aur, the arch user repository an unofficial repository not officially supported, just don’t use it. Unless you need a weird piece of software generally related to some type of specific hobby you’re unlikely to ever even want to look at it anyway.

        • peetabix@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I suppose so. I run Cachy now but that’s only after 3 years of switching distros several times and getting more confident with how Linux works.

    • Tekdeb@lemmy.zip
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 day ago

      Not if you follow the normal safety precautions for using the AUR. There are several things you can do to look for red flags, but the most essential thing is to read the PKGBUILDs. And helpers like yay, paru and Shelly can all show diffs which makes that much easier after the initial installation because in most cases you’ll just see that the version and checksum has changed which means it’s as trustworthy as last time.

      This has always been the case, and will continue to be the case unless the Arch team restricts the AUR which quickly can make it lose exactly what makes it so good.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      43
      ·
      2 days ago

      Adoption of unmaintained packages to maintain them is not a mistake. The problem is the current implementation, not the idea behind it. It’s like saying the AUR is a mistake, because some people do malicious stuff.

      They should find a better solution, like adoption shouldn’t be granted to everyone without question, especially new accounts who didn’t maintain anything before. Mass adoption shouldn’t be granted automatically (limit rate), in example 1 package adoption per day and if someone wants more, admins or moderators need to approve. And updates of newly adopted packages should wait a day.

      Also the AUR helpers should do a better job. Always ask if a new adopted package should be updated and give a warning the maintainer changed.

      • 𝘋𝘪𝘳𝘬@lemmy.ml
        link
        fedilink
        arrow-up
        13
        ·
        2 days ago

        The problem is the current implementation

        Yes, exactly this! I am not surprised it happens. I’m surprised it didn’t happen before.

        especially new accounts

        Weren’t there “sleeper accounts” registered years ago that became active in the current wave?

        Also the AUR helpers should do a better job.

        Even experienced people will just update as if nothing could happen. Adopted packages should have to use a different name and the current name being blocked so it WILL get attention when some tries to update their system.

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          Weren’t there “sleeper accounts” registered years ago that became active in the current wave?

          Which does not invalidate my point about new accounts, but yes. Its important for new accounts, so once a sleeper account is banned, its not that easy to just create thousands of new accounts while everyone is focusing on the current active ones. And if, as I suggested, mass adoption per account is not possible, then the attacker has less to attack.

          Edit: They need to make sure that sudden editing many packages in short time, with probably the same or similar lines should be automatically reported. They need some automated checks in place, at the very least. This would be a very suspicious behavior if many accounts are not active, and then suddenly all of them do something.

          Even experienced people will just update as if nothing could happen.

          Then you can’t fault the system, if you are this reckless.

          Adopted packages should have to use a different name and the current name being blocked so it WILL get attention when some tries to update their system.

          This would break all dependencies of this package. The point of adoption is to keep it working and stable. I’m highly against force changing the name, that is not a solution (at least not one I am happy about).

          • 𝘋𝘪𝘳𝘬@lemmy.ml
            link
            fedilink
            arrow-up
            6
            ·
            2 days ago

            [Changing a package’s name] would break all dependencies of this package.

            Yes, that is correct. But that should not be a big deal for packages that are actively maintained. The maintainer can simply change the dependency to the new name after making sure the new package is legit.

            • thingsiplay@lemmy.ml
              link
              fedilink
              arrow-up
              4
              ·
              2 days ago

              OK, that’s a good point. It would prevent auto updating. However any package that is NOT updated, should stay with same name in my opinion. So that everything (with the old secure code) stays intact and working. The name change should be part of the the update process. So it only breaks if you want to update, which would ensure compatibility if you choose not to (as it is safe). Something along the likes like this. I agree with your suggestion now, because that seems to be sensible idea.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        4
        ·
        2 days ago

        They should find a better solution

        Who’s “they”? Because it’s not Arch. Arch doesn’t want to have anything to do with AUR, and neither does any of the Arch-derived distros. They’re all perfectly happy taking advantage of it, of course, but not the responsibility.

        • thingsiplay@lemmy.ml
          link
          fedilink
          arrow-up
          9
          ·
          2 days ago

          Who’s “they”? Because it’s not Arch. Arch doesn’t want to have anything to do with AUR, and neither does any of the Arch-derived distros. They’re all perfectly happy taking advantage of it, of course, but not the responsibility.

          Where did you got this nonsense from? What do you mean “they are not Arch”? The AUR is managed and operated by the Archlinux team. As the packages are community-driven content, they cannot guarantee and give support, because it is not their package. But they are still managing and supporting the AUR itself.

          • lemmyvore@feddit.nl
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            9
            ·
            2 days ago

            And you’re gonna see the Arch team wash their hands of the whole thing, like they did in the past whenever the AUR was in trouble.

            That’s not real ownership.

              • lemmyvore@feddit.nl
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                4
                ·
                2 days ago

                Is the current state of the AUR, despite the previous waves of attacks, not evidence enough? The Arch team has never made the AUR a priority and I don’t see why they would start now.

                The way I see it there are three possibilities:

                • They do nothing.
                • They shut it down.
                • They give it up for adoption.

                What is not going to happen is the Arch team putting time and effort into overhauling the AUR.

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      13
      ·
      2 days ago

      Remove unmaintained packages and block the name for several months.

      Alright, but that would mean most of AUR. Have a look at the package statistics box on the AUR homepage. Most packages fall under that definition in one way or another. The vast majority of the AUR is package some random person added once then never bothered with ever again.

      Frankly I’m surprised that the AUR has survived for so long in its current form, for what is basically a shell script distribution system with zero supervision and zero safety guards.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    2 days ago

    Why tf didn’t they leave it disabled since the last attack?

      • eremophila@lemmy.zip
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        I only use official and flatpak, I wouldn’t even use flatpak if official had more.

        Chaotic aur might be worth looking into if aur is what you want. Everything there is theoretically checked.

        • JC1@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Are you sure about chaotic? I removed it as I thought it wasn’t really checked as I read in a comment here.

          • eremophila@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            23 hours ago

            might be worth looking into

            I’m not sure of anything, I would look into it further were I planning on using it, which I might do in the future, Garuda KDE lite looks like a decent distro.

            From the little I have looked into it, it is all meant to be checked, adding an extra layer of protection, as long as your trust the people behind it (much like official I guess)

    • kahoodd@reddthat.com
      link
      fedilink
      arrow-up
      5
      arrow-down
      6
      ·
      1 day ago

      all they have to do is to check the damn diff, if that’s not easy for someone then they should stop using a computer altogether. I mean they could just click to random links on the internet right?

      • Axolotl@feddit.it
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        12 hours ago

        , if that’s not easy for someone then they should stop using a computer altogether

        No. It just means they should stop using AUR

      • krolden@lemmy.ml
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 day ago

        Literally what the AUR says to do before installing any package yet apparently no one does it.

  • Admetus@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    2 days ago

    Just saw DeepSeek TUI in there, that’s probably going to be a whopper that hit quite a few users.

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I mean, nobody is saying there is no way to prevent this, and I would hardly say that “twice” can be cathegorized as regularly.

      Also I find this of extremely bad taste as you seem to compare this to school shootings, with literal children deaths. I would say that a few thinkerers getting pwned from their claude tokens is a couple orders of magnitude less serious.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      9
      arrow-down
      4
      ·
      2 days ago

      Besides all the other non infected ways to install the software, there is a way to prevent this: Just read the AUR package before install and don’t trust blindly any new maintainer.

      • Faux@lemmy.ml
        link
        fedilink
        arrow-up
        10
        arrow-down
        2
        ·
        2 days ago

        It’s metaphysical approach to security. Enshrined rules that can’t be enforced don’t define user’s behavior.

    • BradleyUffner@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Isn’t this similar to the reason a lot of people hate snaps? Or am I misunderstanding something? I’m not an Arch user (btw) so I’m not super familiar with AUR.