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
    ·
    7 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
      ·
      5 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
      ·
      7 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
        ·
        5 hours ago

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