On June 10, 2026, the Arch Linux community was shaken by one of the most sophisticated supply chain attacks in its history.
The attack, later dubbed "Atomic Arch", targeted the Arch User Repository (AUR) and compromised over 1,500 packages within days. At the center of it all was a seemingly harmless npm library called atomic-lockfile.
Attackers didn't create malicious packages from scratch. Instead, they exploited a fundamental flaw in the AUR's trust model: package ownership inheritance.
PKGBUILD and .install filesnpm install atomic-lockfile or npm install lockfile-js to the build processarojasThe npm package atomic-lockfile@1.4.2 looked completely legitimate:
herbsobering) with a realistic-sounding nameHowever, hidden inside package.json was the key difference:
"preinstall": "./src/hooks/deps"
This innocent-looking hook executed an ELF binary named deps (SHA256: 6144D4...)
temp.sh and communicates with C2 via Tor onion servicesRestart=always (in /etc/systemd/system/ as root, or ~/.config/systemd/user/ as a normal user)CAP_BPF privileges, it loads kernel-level rootkits to hide processes, files, and socket inodes from system monitoring tools/usr/bin/monero-wallet-gui as a potential crypto mining payload locationbun install js-digest to bypass initial detectionsudo bpftool map list for hidden eBPF mapsPKGBUILD and .install files before building; consider using npm install --ignore-scripts for manual installationsFor the full technical deep dive, including the actual source code, reverse engineering notes, and IOC analysis, see Part 2 - Technical Deep Dive.
This is not a hoax. The Atomic Arch campaign represents a significant shift in how supply chain attacks target developers. The AUR is not the first target, and it won't be the last.
Stay vigilant. Review your packages. Protect your credentials.
Yours, Ley.