Intelligence
criticalSupply ChainActive

Mass AUR Compromise: 400+ Packages Weaponised with Credential Stealer and eBPF Rootkit

Attackers compromised over 400 packages in the Arch User Repository, injecting a Rust-based credential stealer that escalates to deploy an eBPF rootkit when run with elevated privileges. This represents a severe supply-chain attack targeting the Arch Linux developer ecosystem.

S
Sebastion

Affected

Arch User Repository (AUR)Arch Linux usersDevelopers using AUR packages

Over 400 packages in the AUR were compromised in a coordinated attack in which threat actors rewrote package build scripts to inject malicious payloads. The malware is a Rust binary designed to harvest developer credentials and secrets from affected machines. When executed with root privileges, it can load an eBPF rootkit to establish persistence and evade detection. The scale of this compromise is significant: AUR is a large community-maintained repository with millions of package installations, meaning the potential blast radius extends to any developer who built one of these 400+ packages during the attack window.

The technical sophistication is notable. The use of eBPF for rootkit functionality represents an evolution in Linux post-exploitation: eBPF programs run in the kernel without requiring kernel module compilation or loading, making them significantly harder to detect and remove than traditional LKM-based rootkits. The dual payload (credential stealer plus rootkit) suggests attackers were targeting high-value victims or building infrastructure for espionage rather than rapid worm propagation. Rust binaries are increasingly popular in malware because they offer memory safety guarantees while maintaining performance and cross-platform compatibility.

The AUR's decentralised, peer-review model created the conditions for this attack. Unlike Arch's official repositories, AUR packages are not subject to mandatory security vetting before publication. Attackers likely compromised maintainer accounts or registered as new maintainers and waited for trust to accumulate before injecting malicious code. The fact that 400+ packages were affected suggests either a systematic compromise of shared infrastructure, a single coordinated wave across multiple accounts, or exploitation of a common authentication weakness.

Defenders should immediately audit their systems for signs of the infostealer and rootkit. Users running Arch Linux should check their package history, examine running processes and kernel logs for eBPF program loading, and regenerate all credentials if they built any of the affected packages. Organisation security teams should prioritise identifying developers with AUR package build activity and treat those systems as potentially compromised. This incident reinforces that community-driven package managers require additional vetting layers, particularly for packages that execute with elevated privileges during installation.

The broader implication is that supply-chain attacks through package managers remain highly effective and difficult to defend against at scale. The open nature of repositories like AUR creates friction for security: balancing convenience with verification is inherently difficult when millions of packages change daily. This compromise will likely accelerate discussion around mandatory code signing, automated static analysis of build scripts, and better integration with security incident response workflows in Linux distributions.