326
400+ Arch Linux AUR Packages Compromised in a Supply Chain Attack Deploying Infostealers
(cybersecuritynews.com)
This is a most excellent place for technology news and articles.
The article has instructions to do exactly that.
The Checklist of infected packages
Well, nothing to do but start at the first one and work our way down...
Ok, but I was expecting something a bit more automated then opening a list of package in kate and comparing it to my list of installed AUR package... Plus it's 400 package so that's a lot of things to check and plenty of space to miss one package by manually checking.
But I get it I'm lazy and just need to script something myself. This is affecting so many people I thought we would have a script to check quickly if you are "infected".
It's at the bottom of the doc:
Not sure why it uses -Qi instead of -Qm since there's no point in scanning pacman packages, but I'm no expert
It took Arch ~19 years just to get
archinstall.Something tells me there won't be a script.
The link is a script
Arch had curses based installator for a long time, it became unmaintained.
A lot of those 19 years were times where only nerds used arch.
You could probably find it on aur lmao
CachyOS community seems to have a detection script, I have not vetted this run at your own discretion.
https://discuss.cachyos.org/t/aur-compromised-400-packages-affected-20260611/31040
Here's a script:
https://gist.github.com/Kidev/59bf9f5fb53ab5eee99f19a6a2fc3992
how many aur packages do you have? Most people i know have like AT MOST 20 or so packages from the aur. Which takes less then 2 mins to manually check against the list.
I have much more than 20 packages in aur, most of them are dependencies from steam-native-runtime. Since steam is popular, I can understand that many have more than 20 packages.
Now when I was reading the ArchWiki I saw that it is mentioned as an alternative, so I assume I can remove steam-native-runtime and all dependencies. Perhaps the instructions have been updated or I googled for instructions and found another page. But there could be other popular packages with many dependencies.
I'm not home for a few days so I can't check yet.
But I think I have something like 3/4 packages at the most.
But I need to compare that to a 400+ list I'm not sure I agree with you it's that easy to do rigorously.
Not sure I understand - if you only have 3-4 packages you can just search for them specifically in the long list?
Even if you have 50 or 100s of packages, bash makes it pretty doable
Should spit out only the packages appearing in both lists (done by memory so may not be 100%)
Do you have anything that will wipe their butt too?
I haven't used kate but does it not have some sort of easy search?
ex. pacman -Qm to list AUR packages; should display the 3/4 pkgs you have installed. Then just search in kate for those 3/4 results?
Alternatively cat & grep in the terminal is pretty straight forward.
That is if it's 3/4 pkgs that are from AUR, but if someone has hundreds installed that is a bigger issue on its own.
Damn how long is the list when you
Am I missing something ?
Just because I have 3/4 package on my system doesn't mean the 400+ list of affected package gets shorter on the other side...
I'm actually pretty cautious with AUR and I only install them when there is no other options.
Especially for a small list, 3-4, that you actually need to check, what's the actual issue? Open list of 400, ctrl+f for the few names you care about, move on.
I was just curious because I didnt think it was so tediuous to check against an alphabetical list on a website using ctrl+f. But thats just me. It took me less than a minute to check my 8 aur packages against the list
Holy shit it's like all of Python.
Yeah, Python has been a massive vulnerability for a long while. And the AUR has similar issues. This is only getting widespread coverage now. But it's always been a risk.
Yes, we need a kind of Debian for Python.
Part of the solution could be the Guix package manager. Part could be the commercial offerings, like Anaconda.
Well, those are mostly extension libraries, stuff "normally" installed using pip. Arch is kind of unique that they encourage using system aur over pip, npm and other package managers. While it is a big radius, none of the python packages stick out to me, but maybe I just haven't encountered the popular ones.
It isn't really all that unique? Debian does it, el does it, probably almost any popular distro?
I suppose it's become more common since PEP 668 was introduced, less unique these days.
The attackers specifically targeted orphaned projects on AUR so it's no wonder most of those aren't familiar to us.