248
submitted 5 days ago by Virual@lemmy.dbzer0.com to c/linux@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] thingsiplay@lemmy.ml 61 points 5 days ago* (last edited 5 days ago)

As an user of the AUR, this is devastating news to me. I am also guilty of accepting updates without reading the latest changes, even if yay asks me if I want to. This is a reminder to everyone to only install from the AUR for absolutely necessary stuff only, and only if you trust the maintainer. And to at least have a look if something suspicious is going in with the recent changes in the package recipe. AND to read in the communities and news.

I don't understand why there still no official announcement as a warning from the Archlinux team at https://archlinux.org/news/ . Is there a different place for security news specifically about the AUR to subscribe to? EDIT: https://archlinux.org/news/active-aur-malicious-packages-incident/ They did it, an official message.

[-] trevor 41 points 5 days ago* (last edited 5 days ago)

The fact that the Arch maintainers seem to prefer Reddit over their own fucking news channel is what made me switch from Arch years ago. I got sick of upstream breaking changes fucking my system because they wouldn't notify people through official channels, only to find it later on /r/archlinux 🙄🙄🙄

[-] Aatube@kbin.melroy.org 27 points 5 days ago

since the 2022 grub incident, Arch has done a great job at notifying the news channel when "manual intervention required" AFAIK, and I don't remember any instances of Arch maintainers only notifying Reddit (and I don't think they notified Reddit for the grub incident either lol).

[-] muhyb@programming.dev 5 points 5 days ago

It's been 4 years already? WTF?

load more comments (5 replies)
[-] Aatube@kbin.melroy.org 8 points 5 days ago

the arch news channel is for breaking changes to arch pacakges (so not the AUR) only. maybe you could subscribe to aur-general@lists.archlinux.org.

[-] thingsiplay@lemmy.ml 8 points 5 days ago

They are actually putting a message on the regular news feed about the AUR! https://archlinux.org/news/active-aur-malicious-packages-incident/ As it should be. It just took a bit too long in my opinion, as discussions are going on since yesterday.

load more comments (2 replies)
[-] araneae@beehaw.org 5 points 5 days ago* (last edited 5 days ago)

This is a reminder to everyone to only install from the AUR for absolutely necessary stuff only, and only if you trust the maintainer.

Unfortunately not foolproof either. I have no infected packages that I know of because I happen to be on a new install, but I caught wind of the LAST AUR botnet infiltration and switched to flatpaks or source builds. Since then I drifted back to AUR for convenience. I thought I was being clever only using AUR packages when I could be "sure" the author of the original software package pushed to AUR, and this was easy since devs who build on Arch typically recommend AUR whether they maintain the package or not. Today I found out spoofing package ownership is apparently easy and so is spoofing git credentials.

I was on Endeavour and it was incredible, but I'm not That Power User and I feel like part of the problem. The worst part of all of this is its owing to an influx of users who want the same ease of use they used to enjoy, but in Windows SOP is installing whatever the fuck you want on Internet Explorer and bugging your sysadmin to fix whatever happens. Its probably really hard to be any kind of FOSS developer right now.

[-] thingsiplay@lemmy.ml 5 points 5 days ago

Yes, definitely not foolproof. This is more of a wake up call to be at least careful and reconsider every single AUR package one has installed. For me, I was lucky too. But in my case it wasn't pure luck that the few AUR packages I have installed aren't affected. See, because since years using the AUR (sparingly! including my own package :D ) I always feared off orphaned packages and removed them as soon as I could. This incident here is proof I was right.

For some stuff I also prefer the Flatpak, because I do not trust everyone on the AUR, as they operate on root rights! When I brought this up on Endeavor, they disliked my opinion (as a fresh user) and the trusted community members there explained to me that the AUR is way more safe than Flatpak, because there is a trust system of upvotes and everyone can flag the packages, and that Flatpak has a wrong sense of security. That is what they told me and totally ignored my issues with AUR... one of the reasons why I do not visit the EndeavourOS community... I digress...

[-] bizdelnick@lemmy.ml 37 points 5 days ago

More Than 400

1579

I don't use Arch BTW.

[-] taiyang@lemmy.world 10 points 5 days ago

Useful list for those who do use Arch; I've only got like two things from AUR and neither is on that list (although I kinda recognize a couple with slightly different names, like what, knock off plugins for official stuff?)

[-] James@lemmy.ca 10 points 4 days ago

The AUR is basically just a shortcut for downloading random shit off GitHub.

It gives un-experienced users a false sense of security.

load more comments (2 replies)
[-] KarnaSubarna@lemmy.ml 10 points 4 days ago
[-] sonofearth@lemmy.world 11 points 5 days ago

Maybe maintenance of packages shouldn't just be handed over to newly created accounts. This is a design flaw on AUR's part. As Linux popularity rises, these types of attacks will just keep growing. There should also be some sort of system where it is easy to verify that the maintainer of the package is also the actual developer. Like brave-bin has brave has the maintainer who are also the creator. Just give a green check mark to them or something.

[-] davetortoise@reddthat.com 12 points 4 days ago

"No way to prevent this" says only repository where this regularly happens

[-] sonofearth@lemmy.world 2 points 4 days ago* (last edited 4 days ago)

I am gonna get a lot of hate for this but the AUR flaws are hidden behind a legal warning of “At your own risk”. They just don’t want to take the legal consequences for this. That’s why there are basically 0 preventive measures for detecting bad actors and preventing malicious attacks.

I can think of some solutions:

  1. If a package is orphaned then let a potential maintainer just fork it and flag the original for deletion. So the user who has actually installed the old package and want an update will manually go out looking for the updated one instead of just doing a yay -Syu one day and getting malware on the system.
  2. If the developer and maintainer are the same for an AUR package, let them maybe add a ArchWiki style captcha, whose output can be added to the upstream repo like in .aurverification file, which can be detected by AUR when putting in the upstream repo URL and the maintainer must verify with that captcha every 6 months or so just to prove active development. If they fail to do so, mark the package as abandoned or unverfied.
  3. Newly created accounts will have a cooldown of a week to add a new package to the AUR (I don’t know if this exists already as I haven’t looked into it). And they can only create one repo in a month until a year has passed. They can takeover or fork orphaned packages only after a year and if they are maintaining at-least one repo of their own.
[-] bitfucker@programming.dev 4 points 4 days ago* (last edited 4 days ago)

Or maybe don't use AUR blindly? You're doing the equivalent of `sudo curl


| bash`. Who knows what the script is doing. So only do it if you truly trust it. That's why we have warnings plastered all over. That's also why a warning label and sticker exists. And this is precisely the reason easy no user input AUR helpers are greatly discouraged

load more comments (4 replies)
load more comments (8 replies)
[-] ShinkanTrain@lemmy.ml 13 points 5 days ago
[-] IEatDaFeesh@lemmy.world 15 points 5 days ago* (last edited 5 days ago)

Ahh clearly Arch users didn't RTFM before installing shit. Skill issue.

PS: The above is an invitation to self-care, not an insult.

[-] ohshit604@sh.itjust.works 19 points 5 days ago

I must say, Read The Fucking Manual is a bit more clear than Read The Friendly Manual.

[-] yetAnotherUser@lemmy.ca 9 points 5 days ago* (last edited 5 days ago)

I disagree with the post you put here on a single thing: the manual is sometimes bad, by either not describing everything, or being unclear.

[-] wuphysics87@lemmy.ml 11 points 5 days ago

Is that worse than not reading it at all? Often it is a lead to something more useful

[-] yetAnotherUser@lemmy.ca 3 points 4 days ago

You know what? You're right

[-] Evil_Incarnate@sopuli.xyz 6 points 5 days ago

Best not to read any then, if it might be bad.

I've seriously gone through manuals in languages foreign to me and still learnt something from it.

My partner doesn't and will only use the basic features of tech. I read the manual, and I'm suddenly a wizard because I got two Bluetooth speakers to pair with each other and get stereo from them.

[-] thingsiplay@lemmy.ml 10 points 5 days ago

Reading the manual clearly won't help with the issue here. This is clearly not an appropriate use of RTFM terminology here, because it does not apply. The problem here is not that the user needs to read before asking for help. The problem here is to understand the changes made in the script are malicious. And reading the manual won't help with that.

[-] MonkeMischief@lemmy.today 8 points 5 days ago

Whelp...I've REALLY loved EndeavourOS for my laptop, especially because I felt I could mess around with stuff, but maybe this is my call to use something like Fedora or a OpenSUSE variant (I love Tumbleweed dearly).

Nothing against the incredible Arch, but I'm deffos that user who does

> yay 
> "Build files exist. Do clean build? N"  
> "View changes? N".

ENTER.

I want to learn, but also I'm a bit of a danger to myself if this malware threat is this broad.

[-] kuerbiskernoel@feddit.org 4 points 4 days ago

Opensuse is great, been daily driving it for 1.5 years with no issues (issues were solved by booting an old snapshot and rolling back, updating again 2d later)

[-] HaraldvonBlauzahn@feddit.org 2 points 4 days ago

OpenSuSE also comes in two flavours, Leap (a stable release) and Tumbleweed (which is rolling release and sligthly less bleeding edge than Arch).

You can even run Opensuse stable, and in a VM on top Tumbleweed to have a system where you can safely try out new stuff.

[-] kuerbiskernoel@feddit.org 2 points 4 days ago

There's also Slowroll which is Tumbleweed but like 1 week behind in updates for a stable experience, and there's some immutable flavour that I forgot the name of.

I'm using Tumbleweed, the one issue of rolling release (things occasionally breaking) is not an issue since OpenSuse natively supports snapshots (and automatically makes a snapshot before and after every update).

Something breaks? Reboot -> Boot from read-only snapshot -> selecting the one from before the update -> in terminal: snapper rollback -> done. Update again 2d later.

[-] HaraldvonBlauzahn@feddit.org 2 points 4 days ago

I’m using Tumbleweed, the one issue of rolling release (things occasionally breaking) [...]

My 5 cents is the risk of breaking is overblown in many cases. Of course, you don't want important servers to break. But I am running Debian since 15 years and in fact, for me it broke more often than Arch, for example because of GNOME issues, or NVidia issues. And well that's a biased sample because I use Debian for a larger proportion of time. I think for desktop users, it matters more to have a backup system.

[-] kuerbiskernoel@feddit.org 1 points 4 days ago

Yes, the only thing that ever breaks for me are my nvidia drivers (specifically if there arent new drivers for a new kernel yet). Sometimes I don't roll back and just keep it, but often I'm using local AI for uni stuff so I roll back to fix them.

[-] HaraldvonBlauzahn@feddit.org 2 points 4 days ago

I solved that one by buying an AMD radeon card. Zero fuss since then.

[-] somegeek@programming.dev 4 points 5 days ago* (last edited 5 days ago)

Have you heard about the recent fuckups of fedora? fedora is a shitshow.

If you just yolo with yay anyway, you will get compromised on any system you use, ni matter the OS or distro, my dude.

[-] MonkeMischief@lemmy.today 5 points 4 days ago* (last edited 4 days ago)

Have you heard about the recent fuckups of fedora? fedora is a shitshow.

Oh really? I guess I haven't. 😬

Yeah it was late here so I think I was poorly mushing two separate thoughts together there. I meant I was thinking of moving to a distro that isn't as bleeding-edge for the laptop I'm not updating every single day...But also I should find something that still has a nice large software variety so I stay off AUR.

OpenSUSE has the "Open Build System" which I've used for like one package. So that's pretty neat.

This is really tough because I have two gamers in the family using Nvidia cards I want to help move off of Windows, but I don't want them running into having to roll back as often as I have or fiddle too much, but I feel like Mint is a little too far behind.

So I was considering the KDE spin of Fedora for them...But yeah, the answer isn't so easy anymore lol.

[-] DisasterTransport@startrek.website 3 points 4 days ago* (last edited 4 days ago)

Could you elaborate wrt Fedora being a shitshow? It's my daily driver and I haven't experienced any kind of instability and (to my knowledge) I have not been compromised.

[-] M33@piefed.world 10 points 5 days ago

Wow that’s bad 🫢

[-] starblursd@lemmy.zip 9 points 5 days ago* (last edited 4 days ago)

There were announcements and security ping in the arch Linux community discord... But I wish they'd be more vocal on this outside discord especially given discords controversy as of late

Update: they finally posted about it in the arch news feed last night... A bit late but better than never. Npm removed the malicious package, but then the bad actors started using bun instead...

As others have proposed, I really think that orphaned packages should require a moderator of the aur to approve the commit and acquisition of an orphaned package. Currently nothing stops someone from spinning up accounts and hijacking these abandoned projects

load more comments (3 replies)
[-] zipkag@lemmy.world 3 points 4 days ago

Maybe someone here can advise. I ran two of the available "checking" scripts to see if I have any packages installed. Both came up with 1 package I have installed. It is gtkimageview, which is on the list.

However, if I look through the pacman.log I see it was installed on 2024-10 and last upgraded 2025-01. It seems to me that suggests I installed it before this all started, so I'm probably not infected?

[-] helix@feddit.org 4 points 4 days ago

How do I check if a system has been affected most easily? As far as I have seen it's related to the npm package atomic-lockfile, so would that be enough?

npm ls atomic-lockfile
[-] demizerone@lemmy.world 4 points 5 days ago

I learned 10 years ago not to use aur helpers because they hide the sources. Aurutils + vifm baby!

load more comments
view more: next ›
this post was submitted on 12 Jun 2026
248 points (100.0% liked)

Linux

65844 readers
1305 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS