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

Linux

13973 readers
512 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] dream_weasel@sh.itjust.works 26 points 1 day ago (1 children)

Ah yes, review the PKGBUILD for every AUR update. Luckily I do this while I'm rereading the ToS every time those get changed for all my software as well.

When I finish that I intend to read the changelog in git for each of the commits since the last update.

[–] FiniteBanjo@programming.dev 10 points 1 day ago

I always check with my contract lawyer before installing or updating from the AUR. It's worth it for me.

[–] kboy101222@sh.itjust.works 50 points 2 days ago (1 children)

God, even the Arch malware uses npm as a vector. And thus, my hatred of npm deepens even further

[–] ugjka@lemmy.ugjka.net 9 points 1 day ago (1 children)

Tbf, it is run in package post install section so it could be anything even the typical "curl malware.om | bash". There is a new wave of attacks now pulling things in with Bun which i guess is similar thing to NPM

[–] kboy101222@sh.itjust.works 13 points 1 day ago

I'm just a web guy whose tired of installing 10 xetabytes of 2 line libraries every time I wanna check out anything web related

[–] brucethemoose@lemmy.world 12 points 1 day ago* (last edited 1 day ago) (2 children)

Here’s a incomplete list:

https://gr.ht/aur_pkg_list.txt

I know some on Lemmy here use the RuneScape launcher.

[–] mal3oon@lemmy.world 4 points 1 day ago (1 children)

For an automated script to help you check, you can use https://github.com/lenucksi/aur-malware-check to see if you're infected.

[–] brucethemoose@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

Very useful, thanks.

Came up clear, fortunately.

Out of curiosity, did Arch send any notifications through pacman or anything? The first I heard of this was on Lemmy.

[–] YellowParenti@lemmy.wtf 3 points 1 day ago (1 children)

on archlinux. org

I haven't seen anything through pacman though

[–] brucethemoose@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

Yeah…

Im just thinking: I was just doing my usual Linux things, and happened to not be on a Lemmy binge, I wouldn’t have seen this. I barely missed it, but could have been infected and had no idea.

[–] FiniteBanjo@programming.dev 3 points 1 day ago

I miss the browser, but luckily I haven't played RS since the new CEO cancelled new Pride Events right after the Trump Admin was reelected.

[–] Solemarc@lemmy.world 14 points 2 days ago (4 children)

Hilarious that it's JavaScript again, truely npm, pypi and cargo are obvious targets. Also, guys, minimise your usage of the AUR! I don't use any AUR packages.

Core > Extra > flathub >>>>>>>>>>>>> AUR

Not that core/extra/flathub can't be pwned but it's harder then the AUR.

load more comments (4 replies)
[–] Mio@feddit.nu 27 points 2 days ago (5 children)

What can be done to prevent this from happening to the AUR?

[–] teawrecks@sopuli.xyz 8 points 1 day ago

The AUR is unsafe by design. It's not intended to be something you just install from willy-nilly. It's intended to be a helpful way for arch users who know what they're doing to exchange a convenient way to install arbitrary packages. But you should always be just as wary of it as copy/pasting shell code from a random person on the internet.

[–] Feyd@programming.dev 48 points 2 days ago (7 children)

The AUR is kind of a trap. It can be useful but it has the warnings it has for a reason. Maintainers are not vetted so you depend on them both to be benevolent and competent and neither are reliable.

No one should really use it without taking the time to understand pkgbuild but you have people recommending AUR helpers like yay and tying AUR updates to regular system updates which is a terrible idea

load more comments (7 replies)
[–] excel@lemming.megumin.org 17 points 1 day ago (1 children)

The way to prevent it is to get more stuff into the official repos so people aren’t forced to rely on AUR in the first place.

load more comments (1 replies)
[–] iltg@sh.itjust.works 9 points 2 days ago (1 children)

in theory? getting rid of paru and friends, manually reviewing the pkgbuild and the source of whatever it is installing

realistically? nothing. the AUR is a glorified repository of build scripts anyone can upload. the script or the package itself can ship malware

the AUR is mostly the same as downloading and running random exes on windows. you should avoid it, make it as manual as possible (forcing you to double check what's happening) and be able to review the installer/package or trust someone who can vouch for its safety

[–] Bananskal@nord.pub 3 points 1 day ago* (last edited 1 day ago) (2 children)

paru shows you the PKGBUILD diffs on upgrade, so you can review then and deny upgrades.

But realistically I am not going to go into the code itself on my installed packages to check for malware or other types of attacks. That's too time consuming for my risk level, and requires more knowledge than can be expected, to be honest.

Edit: but maybe you're talking about when first installing a package? Come to think of it, I'm not sure it shows the PKGBUILD at that point. 🤔

[–] nlgranger@lemmy.world 2 points 1 day ago (1 children)

It does, the diff shows the full files.

[–] Bananskal@nord.pub 1 points 1 day ago

Ah right, perfect. Thanks!

[–] iltg@sh.itjust.works 1 points 1 day ago (1 children)

the diff is noise in the potentially big update log. the point of doing it manually is forcing you to take your time and verify stuff one by one. also pkgbuild is just one place, seeing the hash changed means nothing if you don't check what that archive contains, or seeing the install steps don't change mean very little when the installer invokes other scripts anyway

i understand that you aren't going to vet the source itself, but at that point you are exposing yourself to this kind of malware without mitigation. the aur is unsafe by design (fast way to publish a package without any involvement from anyone else) and should be avoided whenever possible. im not an arch hater, i too run arch

[–] Bananskal@nord.pub 1 points 1 day ago

the diff is noise in the potentially big update log. the point of doing it manually is forcing you to take your time and verify stuff one by one.

I guess it depends on your discipline. If I'm already so inclined that I'd go to the lengths of forcing myself to check each package "manually", I'm also going to be so disciplined to check each diff when paru pauses the upgrade process for me to do so. It's the same thing for me.

also pkgbuild is just one place, seeing the hash changed means nothing if you don't check what that archive contains, or seeing the install steps don't change mean very little when the installer invokes other scripts anyway

Yup, and as I said, that's where I draw the line with my trust and my threat level. I don't have a lot of important data.

i understand that you aren't going to vet the source itself, but at that point you are exposing yourself to this kind of malware without mitigation. the aur is unsafe by design (fast way to publish a package without any involvement from anyone else) and should be avoided whenever possible. im not an arch hater, i too run arch

Yup, I'm aware of the risks I'm taking. 🙂 That's the important part to me. I really don't have time to vet sources with two small kids and a full-time job, and hobbies and exercise every week. It's impossible, and a sacrifice I'm willing and forced to make if I want some life balance. Quite a simple choice.

load more comments (1 replies)
[–] oce@jlai.lu 22 points 2 days ago (1 children)

Trying to escape surveillance capitalism while installing aur packages willy-nilly.

[–] FiniteBanjo@programming.dev 15 points 2 days ago (3 children)

Are you one of the malicious actors? Thats some shit I'd expect to hear from the people doing this, trying to justify the attack by blaming the users for "capitalism".

[–] oce@jlai.lu 10 points 1 day ago (1 children)

I am quite confused by your assumptions. I am just making a joke about people trying to avoid surveillance capitalism tools on one side and gleefully installing aur packages from random people on the other side, potentially making their surveillance exposure worse. I'm part of them some time because it's too hard to verify everything everytime.

load more comments (1 replies)
load more comments (2 replies)
[–] FiniteBanjo@programming.dev 17 points 2 days ago* (last edited 2 days ago) (9 children)

~~Users can check if they're already compromised with pacman -Q | grep alvr I think maybe?~~ EDIT: No, sorry, alvr was just one of countless affected packages. Also, several is an understatement since a huge number of packages are affected.

Post with more information here: https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/

load more comments (9 replies)
[–] GandalfDG@beehaw.org 3 points 1 day ago (1 children)

yikes, I'm glad I decided to switch to debian stable recently, not that it's a foolproof system either

load more comments (1 replies)
load more comments
view more: next ›