Security advisory
CybersecurityHighActiveUpdated Jul 4, 2026

Over 400 Arch Linux AUR Packages Hijacked in 'Atomic Arch' Supply-Chain Attack

The 'Atomic Arch' campaign abused the AUR's package-adoption trust model, not a software flaw - the malware hid in the build recipe, not the code.

Emanuel De AlmeidaJun 12, 2026, 8:52 PM8 min read
Severity
High
Status
Active
Entity
'Atomic Arch' AUR supply-chain campaign
Confirmed by
Sonatype research; Arch Linux aur-general mailing list; BleepingComputer/The Hacker News

Attackers hijacked more than 400 packages in the Arch User Repository (AUR) in a supply-chain campaign that researchers named 'Atomic Arch,' disclosed around June 11, 2026. Rather than exploiting a software flaw, they adopted orphaned but still-trusted AUR packages and rewrote their build scripts to fetch a malicious npm dependency, atomic-lockfile, which delivered a Rust credential stealer and, on systems where it gained root, an eBPF rootkit to hide itself. Arch Linux's official repositories were not affected.

Because AUR build recipes run arbitrary commands during installation, the malware executed on any developer workstation or CI runner that built an affected package - making this a credential-theft risk for exactly the technical users who rely on the AUR.

Key takeaways

  • 400+ orphaned AUR packages were adopted and weaponized; the list is incomplete and growing.
  • Malicious PKGBUILD/install hooks ran 'npm install atomic-lockfile' (and 'bun install js-digest'), pulling a Rust ELF stealer.
  • The payload harvests developer credentials and can load an optional eBPF rootkit when run as root.
  • Arch's official [core]/[extra]/[multilib] repositories were NOT affected - only the community AUR.
  • No CVE was assigned; Sonatype tracks it as Sonatype-2026-003775 (CVSS 8.7). No threat-actor attribution.

Affected

Products
Arch User Repository (AUR) packages
Organizations
Arch User Repository (community repository)
Threat actors
Unattributed single actor (npm publisher handle 'herbsobering')
Malware
atomic-lockfile / 'deps' stealer (Atomic Arch)js-digest (second wave)
Geography
Global
Industry
Software developmentDevOps / CI-CDAny org using Arch-based build hosts

What happened

Around June 11, 2026, the Arch Linux community and multiple security firms disclosed a supply-chain attack on the Arch User Repository (AUR), the community-maintained collection of build scripts (PKGBUILDs) for software outside Arch's official repositories. Attackers used the AUR's legitimate package-adoption process to take over orphaned packages - abandoned projects that still carried trusted names and install histories - and then modified their build instructions. Supply-chain firm Sonatype named the campaign 'Atomic Arch.' Its first write-up counted roughly 20 hijacked packages, but within a day community trackers grepping the AUR git mirror had catalogued more than 400 (around 408), and consolidated lists climbed higher. Crucially, Arch's official repositories ([core], [extra], [multilib]) were not affected - those undergo stricter review.

  • Campaign named 'Atomic Arch' by Sonatype.
  • Orphaned AUR packages adopted, then their build scripts modified.
  • Official Arch repos unaffected; only the community AUR.
This targeted the AUR's trust model, not a software flaw. The packages kept their names and histories; only the build recipe changed.

How the malware worked

The attackers modified each hijacked package's PKGBUILD or install hook to run npm install atomic-lockfile - a malicious npm package masquerading as a legitimate one (version 1.4.2) - during package build or install. A second wave used bun install js-digest from linked accounts. The npm package carried an ELF payload at src/hooks/deps, executed automatically via a preinstall lifecycle hook. Independent researcher Whanos analyzed the binary as a Rust-compiled credential stealer with, in their words, "optional root-only eBPF rootkit capabilities." It harvests browser cookies and session tokens, developer tool secrets, and SSH keys, and communicates with command-and-control over an encoded onion service via a local loopback proxy. When it runs with root - for example when a user built the package with sudo privileges available - it can load an eBPF rootkit to hide its processes, files, and sockets. A staged file tied to monero-wallet-gui was flagged as a possible, unanalyzed cryptominer.

  • Malicious PKGBUILD/install hook runs 'npm install atomic-lockfile' (or 'bun install js-digest').
  • ELF payload at src/hooks/deps is a Rust credential stealer.
  • Optional eBPF rootkit activates only on root hosts.

Who is affected

The risk falls on Arch Linux and Arch-based distributions (such as EndeavourOS, and Manjaro when the AUR is used) where a user installed or updated an affected package on or after June 11, 2026. Because AUR helpers like yay and paru execute PKGBUILD logic locally, the payload runs on the building machine - so developer workstations and self-hosted CI/build runners are the primary exposure. Organizations with Arch-based CI/CD are a particular concern: build artifacts produced during the window could carry embedded malware downstream. Notably, the malicious atomic-lockfile npm package itself showed only ~134 weekly downloads before removal, so the real exposure is the AUR build path, not direct npm installs.

  • Developer workstations and self-hosted CI/build runners on Arch are the main targets.
  • Exposure window: AUR packages built/updated on or after June 11, 2026.

Arch Linux's response

The Arch Linux security team and package maintainers responded through the aur-general mailing list, reverting the malicious PKGBUILD commits, permanently banning the accounts pushing them, and helping compile lists of affected packages. Maintainer Jonathan Groteluschen urged users to report any malicious package they find. Community members published detection scripts (for example, consolidated tooling that cross-references installed foreign packages against known-bad lists). Because the affected-package list is compiled from community analysis of the AUR git mirror, maintainers and researchers caution that it remains incomplete and still growing.

  • Maintainers reverted malicious commits and banned the offending accounts.
  • Community published affected-package lists and detection scripts.
  • The affected-package list is incomplete and growing.

What to do now

If you use the AUR, act on the assumption that any package installed or updated on or after June 11, 2026 may be affected. Run pacman -Qm to list foreign (AUR) packages and cross-reference them against the community affected-package lists and detection scripts. Grep recent build history and caches for npm install atomic-lockfile, bun install js-digest, and the payload path src/hooks/deps, and check for the eBPF rootkit artifact /sys/fs/bpf/hidden_* from a trusted environment. If a flagged package ran - especially with root - treat the host as fully compromised: rotate all credentials (SSH keys, GitHub/npm tokens, cloud and Vault keys, browser sessions) and rebuild from clean media, since an eBPF rootkit can survive ordinary cleanup. Going forward, review PKGBUILDs before installing, and be suspicious of a recently adopted package that suddenly adds npm/bun/pip install hooks unrelated to its function.

  • Check pacman -Qm output against community affected-package lists.
  • Rotate all credentials and rebuild compromised hosts from clean media.
An eBPF rootkit makes a host untrustworthy - a one-off malware scan is not sufficient; rebuild.

Why this matters beyond Arch

Almost nothing about this attack is Arch-specific. The weakness is the trust model of open package ecosystems: orphaned-but-trusted packages that can be adopted exist in npm, PyPI, crates.io, and elsewhere, and any pipeline that pulls dependencies without scrutiny inherits the same risk. Sonatype characterized 'Atomic Arch' as a deliberate strategy of hijacking orphaned packages with existing install bases to inherit trust rather than typosquatting. Expect continued cataloguing of affected packages, possible further waves using different toolchains to dodge detection signatures, and renewed pressure for structural fixes - stronger signing, provenance, reproducible builds, and scrutiny of package-adoption events.

  • The orphaned-package-adoption pattern applies to npm, PyPI, crates.io and others.
  • Further waves and continued list growth are likely.

Timeline

Jun 11, 2026
Campaign disclosedResearchers and the Arch community surface malicious AUR packages; Sonatype's first write-up counts ~20 hijacked packages pushing atomic-lockfile.
Jun 11, 2026
Scale grows to 400+Within a day, community trackers grepping the AUR git mirror catalogue 400+ affected packages (around 408), with consolidated lists climbing higher.
Jun 12, 2026
Second wave and cleanupA second wave uses 'bun install js-digest' from linked accounts; Arch maintainers revert malicious commits and ban the offending accounts.

Impact & actions

Developer and CI credentials on affected Arch hosts may have been stolen, and hosts where the payload ran as root may carry an eBPF rootkit requiring a full rebuild. The blast radius is limited to AUR users but includes high-value developer and build systems.

Security: Affected hosts should be treated as fully compromised; rootkit persistence means a one-off scan is insufficient.

Privacy: Harvested credentials and session tokens could enable account takeover across connected services.

Recommended actions · High urgency

  1. 1Run pacman -Qm and cross-reference AUR packages against community affected-package lists and detection scripts.
  2. 2Grep build history/caches for 'npm install atomic-lockfile', 'bun install js-digest', and src/hooks/deps; check /sys/fs/bpf/hidden_* from a trusted environment.
  3. 3If a flagged package ran, rotate all credentials (SSH, GitHub/npm/cloud/Vault tokens, browser sessions) and rebuild the host from clean media.
  4. 4Review PKGBUILDs before installing and treat recently adopted packages with new npm/bun/pip hooks as suspect.

Technical details

CVSS
8.7
Exploitation
Exploited in the wild
Attack vector
Malicious PKGBUILD/install hooks in adopted AUR packages that fetch and execute a rogue npm/bun dependency during build/install

Indicators of compromise

Other
atomic-lockfile (malicious npm package, v1.4.2) — Rogue npm dependency pulled by modified PKGBUILDs
Other
js-digest (second-wave package via 'bun install') — Second-wave malicious dependency from linked accounts
File
src/hooks/deps — ELF credential-stealer payload path inside the npm package
File
/sys/fs/bpf/hidden_* — Artifact indicating eBPF rootkit persistence on root hosts

Mitigations

  • Rebuild compromised hosts from clean media; rotate all credentials
  • Review PKGBUILDs before install; scrutinize recently adopted packages with new install hooks

Response

Vendor

Arch Linux maintainers, coordinating on the aur-general mailing list, reverted the malicious PKGBUILD commits, banned the accounts responsible, and helped compile affected-package lists, urging users to report any malicious packages they find.

Customer guidance

Audit AUR packages built/updated on or after June 11, 2026 against community lists, rotate credentials if affected, and rebuild compromised hosts from clean media.

FAQ

How do I check if my Arch system is affected?

Run 'pacman -Qm' to list foreign (AUR) packages, then cross-reference against the community affected-package lists and detection scripts. Focus on anything installed or updated on or after June 11, 2026, and grep build history for atomic-lockfile, js-digest, and src/hooks/deps.

Were Arch Linux's official repositories affected?

No. Only the community-maintained AUR was hit. The official [core], [extra], and [multilib] repositories, which undergo stricter review, were not affected.

Can I just uninstall the package to clean up?

Not safely. If the payload ran - especially as root, where it can load an eBPF rootkit - treat the host as fully compromised: rotate all credentials and rebuild from clean media. A rootkit can survive ordinary removal.

Is there a CVE for this?

No CVE was assigned. Sonatype tracks the campaign as Sonatype-2026-003775 with a CVSS of 8.7. This is a malicious supply-chain campaign rather than a single software vulnerability.

Who was behind it?

No attribution to a known threat actor has been made. Researchers link the waves to a single actor (npm publisher handle 'herbsobering') running a broad campaign, but there is no confirmed group as of disclosure.

The bottom line

The 'Atomic Arch' campaign hijacked 400+ orphaned AUR packages by rewriting their build scripts to pull atomic-lockfile, delivering a Rust credential stealer with an optional eBPF rootkit on root hosts. Arch's official repositories were not affected, and maintainers reverted the commits and banned the accounts - but the affected-package list is incomplete.

What happens next

Watch for continued cataloguing of affected packages, possible further waves using different toolchains, and structural responses around AUR package-adoption scrutiny, signing, and provenance.

What to do

Audit AUR packages built on/after June 11, rotate credentials if affected, and rebuild compromised hosts from clean media.

Reader reviews

Rate this articleBe the first to rate
No written reviews yetRate the article above, or be the first to share your experience.

Related articles