# 400+ AUR Packages Compromised with Infostealer and Rootkit

**URL:** <https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577>\
**Category:** Threat Intel\
**Tags:** supplychain, ebpf, rootkit, linux\
**Created:** [June 12, 2026, 4:35am UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577 "2026-06-12T04:35:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [June 12, 2026, 4:35am UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/1 "2026-06-12T04:35:30Z")

</div>

**Last Updated:** 2026-06-15T16:27:01Z

## 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-15T15:00:00Z, AUR registration is disabled.

> **[AUR registration disabled - Aur-general - lists.archlinux.org](https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/4JRS73YVTE7JUYHHE3ZDUIHXYHXZ3YQQ/)**

The attack included at least two separate malicious dependencies.

> **[AUR REPORT THREAD - Aur-general - lists.archlinux.org](https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/)**

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:

[https://aur.archlinux.org/cgit/aur.git/commit/?h=premake-git&id=232b22dd0aaedfa9fde1800710e0d52e4f4b542d](https://aur.archlinux.org/cgit/aur.git/commit/?h=premake-git&id=232b22dd0aaedfa9fde1800710e0d52e4f4b542d)

Further infections used Bun to install the malicious `js-digest`. [NPM has removed that package.](https://socket.dev/npm/package/js-digest)

A third wave on 2026-06-14T07:00:00Z was identified that attempts to obfuscate the bun dependency:

> **[Re: AUR REPORT THREAD - Aur-general - lists.archlinux.org](https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/message/TND7HA2KBQ46OHHUMMIAHKGXZE4WALM6/)**

This blog has a deep dive into the attack.

> **[Preliminary analysis of AUR malware](https://ioctl.fail/preliminary-analysis-of-aur-malware/)**
>
> Malware Analysis Report: deps
> 
> Report date: 2026-06-11
> VT Link
> Triage Link
> 
> Note: The following report was very hastily written by Codex.
> (I have fact-checked it against the IDA decompilation though 🐉)
> 
> 
> Scope and Handling
> 
> This report summarizes...

## Actions

If you don’t use Arch (btw), you’re fine.

1. 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](https://gist.github.com/Kidev/59bf9f5fb53ab5eee99f19a6a2fc3992)
2. Review the Ioctl blog for the indicators of compromise and if found, preserve the system for forensic investigation as appropriate.
3. 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_pids`
- `hidden_names`
- `hidden_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.

> **[atomic-lockfile - npm Package Security Analysis - Socket](https://socket.dev/npm/package/atomic-lockfile)**
>
> security holding package. Version: 0.0.1-security was published by unknown. Start using Socket to analyze atomic-lockfile and its dependencies to secu...

The NPM package is maintained by user [herbsobering](https://www.npmjs.com/~herbsobering). Searching that username on GitHub reveals a single container image that appears to be a reverse shell/proxy tool. [https://github.com/fardewoak/nodejs-argo/pkgs/container/herbsobering430](https://github.com/fardewoak/nodejs-argo/pkgs/container/herbsobering430)

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.

> **[Taggart :ifin: (@mttaggart@infosec.exchange)](https://infosec.exchange/@mttaggart/116735530761603752)**
>
> I'm trying to understand the details of AUR processes for submitting PKGBUILDs. In other words, how exactly did this happen? \`arojas\` submitted hundreds of changes to PKGBUILD or related files. And they were just...accepted? What am I...

The more obfuscated `bun add` command references a `nextfile-js` dependency, which [Socket](https://socket.dev/npm/package/nextfile-js) flags as suspicious. Indeed, its `package.json` has the same `preinstall` script (likely the rootkit) as the other packages. However, the repo itself did not appear to include the file.

---

<div class="post-metadata">

**Author:** ![0xF21D](https://ifin.network/user_avatar/ifin.network/0xf21d/32/1069_2.png) [@0xF21D](https://ifin.network/u/0xF21D)\
**Post date:** [June 12, 2026, 1:39pm UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/2 "2026-06-12T13:39:53Z")

</div>

This [link](https://gist.github.com/Kidev/59bf9f5fb53ab5eee99f19a6a2fc3992) ( [aur\_check.sh (OUTDATED, check https://gist.github.com/Kidev/85756c3dcad3623ca5604a8135bafd14) · GitHub](https://gist.github.com/Kidev/59bf9f5fb53ab5eee99f19a6a2fc3992) ) 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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [June 12, 2026, 1:42pm UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/3 "2026-06-12T13:42:45Z")

</div>

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](https://aur.archlinux.org/cgit/aur.git/diff/?h=keepassx2).

---

<div class="post-metadata">

**Author:** ![0xF21D](https://ifin.network/user_avatar/ifin.network/0xf21d/32/1069_2.png) [@0xF21D](https://ifin.network/u/0xF21D)\
**Post date:** [June 12, 2026, 1:46pm UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/4 "2026-06-12T13:46:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [June 12, 2026, 2:47pm UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/5 "2026-06-12T14:47:12Z")

</div>

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.

> **[Re: AUR REPORT THREAD - Aur-general - lists.archlinux.org](https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/message/5FDTMKA54RMWNRHJFUAKXEBAFV5WPDUL/)**

---

<div class="post-metadata">

**Author:** ![neon\_leitz](https://ifin.network/user_avatar/ifin.network/neon_leitz/32/656_2.png) [@neon\_leitz](https://ifin.network/u/neon_leitz)\
**Post date:** [June 12, 2026, 9:01pm UTC](https://ifin.network/t/400-aur-packages-compromised-with-infostealer-and-rootkit/577/6 "2026-06-12T21:01:45Z")

</div>

Never before have I been so glad that I go months at a time without updating my AUR packages 😅
