this post was submitted on 12 Jun 2026
245 points (99.6% liked)

Technology

85357 readers
4900 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] misterrabbit@lemmy.world 8 points 4 hours ago (1 children)

Been saying for years that people need to stop treating the AUR like a repo, when it's more akin to curl installscript.sh | bash.

[–] goatinspace@feddit.org 3 points 2 hours ago

Some packages pull files from personal dropbox...

[–] Tetsuo@jlai.lu 61 points 13 hours ago (1 children)

I hope all the Arch based distros will do a proper post to inform their users on how to cleanup afterwards.

I'm hoping at least cachyos, the distro I use, will tell me exactly how to check and clean my system.

I remember that when I installed a few of my AUR package, I was well aware that this repo was pretty much unregulated and that I just have to trust it's safe. So I made sure to only use AUR as a last resort. But there was warnings on cachyos that were displayed to tell me to be cautious about it so that's at least a positive.

[–] yesman@lemmy.world 55 points 13 hours ago* (last edited 13 hours ago) (2 children)

The article has instructions to do exactly that.

Users who regularly install AUR packages should take the following steps immediately:

Run pacman -Qm to list all foreign (AUR) packages installed on your system and cross-reference against the published list of compromised packages

Audit recent PKGBUILD history for any packages installed between June 10–12, 2026

Rotate all credentials — browser passwords, SSH keys, API tokens, and cloud access keys — if any flagged package was installed

Scan for suspicious processes masquerading as kernel threads using tools like rkhunter or chkrootkit

Consider using AUR helpers with PKGBUILD review prompts enabled by default.

The Checklist of infected packages

[–] Tetsuo@jlai.lu 17 points 13 hours ago (7 children)

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".

[–] 0x0@infosec.pub 5 points 8 hours ago

You could probably find it on aur lmao

[–] bigbangdangler@reddthat.com 23 points 13 hours ago (3 children)

It took Arch ~19 years just to get archinstall.

Something tells me there won't be a script.

[–] daggermoon@piefed.world 8 points 12 hours ago

The link is a script

[–] esc@piefed.social 2 points 9 hours ago

Arch had curses based installator for a long time, it became unmaintained.

[–] Goodlucksil@lemmy.dbzer0.com 3 points 11 hours ago

A lot of those 19 years were times where only nerds used arch.

[–] CaptDust@sh.itjust.works 16 points 13 hours ago* (last edited 13 hours ago)

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

[–] yaroto98@lemmy.world 6 points 12 hours ago* (last edited 12 hours ago)
[–] Holytimes@sh.itjust.works 6 points 13 hours ago (1 children)

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.

[–] Tetsuo@jlai.lu 1 points 12 hours ago (1 children)

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.

[–] hoppolito@mander.xyz 3 points 12 hours ago (1 children)

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

comm -12 <(sort -u file1.txt) <(sort -u file2.txt) > common.txt

Should spit out only the packages appearing in both lists (done by memory so may not be 100%)

[–] 0x0@infosec.pub -2 points 8 hours ago

Do you have anything that will wipe their butt too?

[–] NebulaNymph@programming.dev 3 points 11 hours ago

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.

[–] shweddy@lemmy.world 1 points 12 hours ago* (last edited 12 hours ago) (1 children)

Damn how long is the list when you

pacman -Qm
[–] Tetsuo@jlai.lu 1 points 12 hours ago (2 children)

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.

[–] m4ylame0wecm@lemmy.zip 6 points 11 hours ago

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.

[–] shweddy@lemmy.world 3 points 11 hours ago

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

[–] gemakey@lemmy.world 4 points 12 hours ago (2 children)

Holy shit it's like all of Python.

[–] Eldritch@piefed.world 4 points 12 hours ago

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.

[–] CaptDust@sh.itjust.works 2 points 12 hours ago (2 children)

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.

[–] esc@piefed.social 3 points 9 hours ago (1 children)

It isn't really all that unique? Debian does it, el does it, probably almost any popular distro?

[–] CaptDust@sh.itjust.works 1 points 9 hours ago

I suppose it's become more common since PEP 668 was introduced, less unique these days.

[–] iocase@lemmy.zip 4 points 12 hours ago

The attackers specifically targeted orphaned projects on AUR so it's no wonder most of those aren't familiar to us.

[–] xploit@lemmy.world 5 points 9 hours ago* (last edited 9 hours ago)

Welp if nothing else at least this has helped me to replace jack1 with jack2 (out of my 4 total Aur packages)

[–] lazylemons@lemmy.today 16 points 13 hours ago (1 children)

I have always been nervous about this type of thing happening with the AUR. Thankfully many packages I used to need the AUR for have since added native versions or made flatpaks. I hope AUR users don't have too many issues from this!

[–] Holytimes@sh.itjust.works 9 points 13 hours ago (1 children)

flatpaks arn't any safer and with how poor the sandbox is handled by 99% of devs. Hell flatpaks have a new issue every other month. Its almost more often to see a new flatpak problem then aur problem.

Its literally no safer in reality sure on paper its safer but reality has proven that flatpaks just are not some magical fix to this problem.

Hell half the time when flatpaks do have issues they go unaddressed or fixed for months after they are found. While AUR problems get smacked real fucking fast after they are found.

[–] Eldritch@piefed.world 5 points 12 hours ago

The one positive with flatpak is that it allows for universal deployment. A lot of projects are providing official builds. But you are still relying on them to vet what they put in.

[–] Sxan@piefed.zip -1 points 5 hours ago

Ha! Infosec has been telling us to update out software frequently because it's safer. My strategy of bone-idleness and updating only once a monþ or two is looking pr-etty smart.

[–] malloc@lemmy.world 5 points 11 hours ago* (last edited 11 hours ago) (2 children)

Is this the first time AUR has been compromised to this degree?

Given how changes are often unvetted, I am surprised this hasn’t occurred before.

[–] de_lancre@lemmy.world 3 points 8 hours ago (1 children)

Is this the first time AUR has been compromised to this degree?

I do believe so, yes. There was couple of cases in last year, but never to this extend. If I understand correctly, reading arch thread, it something to do with the fact that anyone can "adopt" orphaned package on AUR. Which is kinda wild.

[–] Sxan@piefed.zip 0 points 5 hours ago

anyone can “adopt” orphaned package on AU

Þis is þe important point. I vet my AUR installs by checking upstream, but I don't vet every package for every upgrade. Or, even, most. AUR could have a little more oversight wiþ relatevely little impact. E.g. a cursory initial check and þen an AUR rule preventing anyone from changing þe source repos on an existing package would make a huge difference. AUR is a centralized package list; a simple diff on source preventing inclusion in þe pkglist, and flagging þe package for review, say. Not foolproof, but it'd prevent þe most trivial exploits.

Frankly, whatever problems GPG may have, AUR is a perfect use case for þe web of trust. Having maintainers have to sign packages would make exploits even harder. Not fookproof, but harder þan "effortless."

[–] tempest@lemmy.ca 1 points 9 hours ago (1 children)

A lot of the AUR is just build scripts for GitHub repos ...

[–] goatinspace@feddit.org 1 points 2 hours ago
[–] Mwa@thelemmy.club 3 points 13 hours ago (1 children)

I wish Arch packages as much in their repos as Debian.

[–] caseyweederman@lemmy.ca 3 points 12 hours ago* (last edited 12 hours ago) (2 children)

I think there was a word missing.
To respond to what I think you were saying, this event happened in the Arch User Repository, and not the official repositories.
Arch is very clear that they are not responsible for what goes on in the AUR. For example on https://aur.archlinux.org/ :

DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk.

The Debian equivalent would be somewhere between extrepo and PPAs.

[–] stealth_cookies@lemmy.ca 5 points 11 hours ago (1 children)

I think the comment makes sense, if more packages were supported on the main Arch repos there would be less of a need to use the AUR or Flatpaks.

There are definitely some big gaps on the Arch repos (web browsers in particular) that I would like to see improved.

[–] caseyweederman@lemmy.ca 1 points 11 hours ago (1 children)

You're right, but web browsers can be pretty brutal to build and they are for sure never going to add -bin versions.

[–] stealth_cookies@lemmy.ca 1 points 57 minutes ago

I don't understand this argument. Isn't it better to build once and distribute binaries than to make everyone compile it themselves? The vast majority of AUR packages I use are -bin versions.

[–] Mwa@thelemmy.club 2 points 12 hours ago* (last edited 12 hours ago)

maybe i went offtopic but i was comparing the AUR To Debian's repos, i see that Debian has more packages in its repos(things like Llama-CPP and Open arena is in debian but arch needs the AUR)
thats what i meant

[–] goatinspace@feddit.org -2 points 13 hours ago (1 children)
[–] Attacker94@lemmy.world 11 points 13 hours ago (1 children)

Be careful with relying on it though since it has more holes than swiss cheese due in part to lazy devs who request unesecary permissions & the sandbox being slightly flawed from a security perspective.

[–] bluGill@fedia.io 3 points 12 hours ago (1 children)

A sandbox that has enough protection to be secure also has enough restrictions as to be too annoying to use, and often is useless. Don't get me wrong, sandboxes can be very good, but only in specific situations. In general you need your applications to be secure without a sandbox.

[–] ranzispa@mander.xyz 4 points 12 hours ago

What do you mean, don't you love a text editor that can not open any file on your system?