this post was submitted on 26 Jul 2026
14 points (81.8% liked)

Arch Linux

9878 readers
2 users here now

The beloved lightweight distro

founded 6 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] wuphysics87@lemmy.ml 3 points 6 days ago (3 children)

What is it you look for in the diffs more specifically?

[–] MyNameIsRichard@lemmy.ml 3 points 5 days ago (1 children)

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.

[–] wuphysics87@lemmy.ml 1 points 5 days ago (1 children)

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?

[–] MyNameIsRichard@lemmy.ml 1 points 5 days ago

You need to look at all the changes or if you are installing it, the whole package build file.

[–] ZWQbpkzl@hexbear.net 1 points 5 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.

[–] whatiswrongwithyou@lemmy.ml 0 points 6 days ago

Anything that could compromise your security, privacy, anonymity or safety.