I haven’t heard a peep about the security status of AUR since the headlines about malware injections into thousands of packages. I’ve ensured that none of my installed software is affected by the attack (to the best of my ability), but I’ve held off on my regular yay -Syu since then. What has you all done to keep your machine updated but clean?

And is there any update from AUR maintainers that the situation is under control? Most of my installed AUR packages simply don’t exist in the official Arch repos, so if not I’d have to look for other sources.

    • MyNameIsRichard@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      22 days ago

      The first thing to check is that the software is being downloaded from the correct place. Look for additional downloads and make sure they’re legit. Look for obfuscated code. If you’re not sure, ask.

      • mystic-macaroni@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        22 days ago

        Not that it is a replacement to doing it manually, but if I were to write a script to look at “important” pieces, what should I be grepping?

    • ZWQbpkzl [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      21 days ago

      You have to have some expectations and understandings of what the PKGBUILD for the package should be doing and look for something out of the ordinary. The upstream repo will usually have packaging instructions in its readme or wiki which should be reflected in the PKGBUILD.

      In the case of the last incident, the attacker was adding npm as a dependency so they could execute npm install atomic-lockfile, which was the actual attack. That was a huge red flag because most of the packages had nothing to do with JavaScript.