Last Updated: 2026-06-12T19:14:16Z
What’s Happening
It appears a new AUR package maintainer impersonating a trusted maintainer adopted and infected 408+ packages. The compromise was reported and other AUR maintainers have been working to remove the infected packages.
As of 2026-06-12T17:30:00Z, the AUR maintainers believe they have removed all malicious commits.
They have also decided to implement some controls and limitations on functionality, including adopting packages.
The attack included at least two separate malicious dependencies.
The initial affected packages were modified with preinstall scripts to use npm to install the atomic-lockfile package, a malicious payload.
Here’s an example of the change:
Further infections used Bun to install the malicious js-digest. NPM has removed that package.
This blog has a deep dive into the attack.
Actions
If you don’t use Arch (btw), you’re fine.
- Arch users: review the list of affected packages and use this script to check your exposure: aur_check.sh (OUTDATED, check https://gist.github.com/Kidev/85756c3dcad3623ca5604a8135bafd14) · GitHub
- Review the Ioctl blog for the indicators of compromise and if found, preserve the system for forensic investigation as appropriate.
- If packages are found, follow normal compromise procedures. Rotate all credentials and consider reinstalling Arch. The possibility of a rootkit removes the possibility of system trust.
Also, just for good measure (and this is for everyone), deny outbound Tor traffic from your network.
Indicators of Compromise
In addition to the linked IOCs, this is the SHA256 of the malicious Linux executable embedded in js-digest.
7883bda1ff15425f2dbe622c45a3ae105ddfa6175009bbf0b0cad9bf5c79b316
You can also hunt for suspicious eBPF Maps using bpftool map list. Suspicious map names include:
hidden_pidshidden_nameshidden_inodes
Notes
An earlier version of this report stated that a known maintainer account was responsible for the malicious commits. That was inaccurate; the known maintainer account was spoofed.
Most of these packages are rare, but the scope is significant. Also, it’s rare to see a supply chain attack of this nature go so far as an eBPF rootkit in addition to infostealer behavior.
Socket.dev has the malicious NPM package. It shows 134 downloads.
https://socket.dev/npm/package/atomic-lockfile
The NPM package is maintained by user herbsobering. Searching that username on GitHub reveals a single container image that appears to be a reverse shell/proxy tool. Package herbsobering430 · GitHub
You might be wondering how this happened. The truth is, the AUR package repository allows anyone to “adopt” a package and submit a change to the PKGBUILD/associated files if the package is marked as unmaintained. It turns out automating the hunt for abandoned packages and adoption of them is not uncommon. See this Mastodon thread for additional context.
0xF21D (Robert Hollingshead) 2
This link ( aur_check.sh · GitHub ) contains a script for checking if you’re infected, but in the comments someone has started maintaining a list and another commenter posted the following bash command line that will only refer to the list, not download any script:
echo "Affected Packages Found:"; comm -12 <(pacman -Qqm | sort) <(curl -s https://cscs.pastes.sh/raw/aurvulnlist20260611.txt | sort) | { read -r l && printf '%s\n' "$l" || echo "None. No known compromised packages are installed."; }
NOTE: Obviously best effort, but sharing because it’s a good start.
mttaggart (Taggart) 3
Yeah this is gonna be like whack-a-mole. This list is already out-of-date and doesn’t include the new Bun-based attacks, like this package.
0xF21D (Robert Hollingshead) 4
True. For now it’s best to avoid running yay -Syu (or any other AUR package updater) and only sudo pacman -Syu to update software in the officially maintained repo in arch until an all clear is given, which given the pace of the maintainers so far, should be soon.
mttaggart (Taggart) 5
Here’s a current(ish) list for packages that were hit with js-digest. This npm package has already been removed, but if you updated AUR packages in the last 12 hours or so, worth checking out.