Arch Linux’s AUR is experiencing a malware incident involving user-contributed packages with malicious commits that attempt to download npm-based payloads during installation. (…)

Arch users should not update AUR packages without review. Examine PKGBUILD diffs, check any new .install files, and be cautious if updates introduce npm commands or dependencies unrelated to the software.

Users who recently updated affected AUR packages should review package history, examine executed suspicious install scripts, and treat any unexpected npm-based installation behavior as a possible compromise.

  • vapeloki@lemmy.world
    cake
    link
    fedilink
    arrow-up
    3
    arrow-down
    11
    ·
    9 hours ago

    Maybe, just maybe, and nearly unmoderated repository where everybody can create packages, is not so secure after all? /s

    And AUR is the reason I keep arch miles away from any of my systems.

    • Hemingways_Shotgun@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 hours ago

      Nobody ever says the AUR is safe. In fact they say specifically that it’s not; for exactly the reasons you mention.

      That’s why it’s the Arch USER Repository. You take your fate in your own hands when you choose to use it.

      As for your comment about using a distro that has everything in the main repo? How so? Every flavour has software that isn’t included in the main repos. For Arch based systems, that means either the AUR or Flatpaks. For Debian based systems, that means adding new repos to your sources, which is exactly as unsafe as the AUR in most cases, or using Flatpaks.

      If you’ve ever added a repo on Ubuntu, than you’ve essentially used their version of an AUR. The end result is no different.

    • Strit@lemmy.linuxuserspace.show
      link
      fedilink
      arrow-up
      15
      ·
      9 hours ago

      You do have the choice to simply not use the AUR. Has nothing to do with using Arch or not.

      And no one has ever claimed the AUR to be safe.

      • vapeloki@lemmy.world
        cake
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        7 hours ago

        True, I also have a choice to use a distro that delivers the software I need in the main repo.

      • vapeloki@lemmy.world
        cake
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        7 hours ago

        And then, where get I 70% of my packages I need? For example a useful browser like brave? Yeah …

            • naught@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              2 hours ago

              There is an install script for linux front and center on the page (classic curl into sh). For other distros, they’re having you add their own repository and install from that. Just as sketchy.

              It’s unwise to trust Brave, anyway.

              • vapeloki@lemmy.world
                cake
                link
                fedilink
                arrow-up
                1
                ·
                1 hour ago

                That was an example. And as someone who works in sec, I know the benefits of a package manager.

                “I only need to trust brave”.

                I don’t get it, static linking, curl to bash pipes and userepace install and everybody thinks that is fine. But as someone who needs to write a security concept for Linux in the office so I can finally use it at work, no that is not ok. That is shit.

                Rust on desktop is also a nightmare for example.

                No I do not hate arch, I hate concepts and mindsets creeping into the Linux world