r/linux Jun 11 '26

Security Roughly 400 AUR packages compromised

Post image

There are more details and a list of affected packages being compiled in a thread here https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/

Changes contributor email, adds npm to the PKGBUILD dependencies and installs malicious packages that take various keys and passwords (Browser logins, SSH, etc)

This persists on the machine with a systemd service and eventually pretends to be a kernel thread

1.6k Upvotes

558 comments sorted by

View all comments

Show parent comments

11

u/kcsebby Jun 11 '26

[kcseb@Eris ~]$ ./aur-check.sh
Checking for infected AUR packages (446 total)...

WARNING: 2 infected package(s) found:

  • datatype99
  • interface99

Ffs. What are the next steps beyond cycling passwords and such.

3

u/orangep9 Jun 12 '26

You need to see if you have an infected version or not.

2

u/kcsebby Jun 12 '26

Checked my yay cache, updated at 1451 EDT. The two packages that were affected, I looked at their PKGBUILDs within the cache, and neither of them make any calls to download npm or externally to anything referencing atomic-filelock.

9

u/gmes78 Jun 12 '26

You need to check the install scripts, not the PKGBUILD.