1,500+ Arch Linux AUR Packages Hit by Supply Chain Attack Deploying Infostealers


Arch Linux users are facing a major AUR supply chain incident after attackers compromised large numbers of community-maintained packages and used them to deliver Linux malware through malicious build scripts.

The campaign, widely tracked as Atomic Arch, first surfaced around June 11, 2026, when users on the AUR mailing list began reporting suspicious package updates that added unexpected npm or Bun install commands.

Early reports counted more than 400 compromised packages, but later tracking raised the number much higher. Phoronix reported that the list had grown to more than 1,500 affected AUR packages by the end of June 12.

Attackers Targeted the Arch User Repository

The Arch User Repository, or AUR, is a community-run package source for Arch Linux users. It hosts PKGBUILD scripts, not official binary packages, which means users or AUR helpers build packages locally on their own systems.

The ArchWiki warns that AUR packages are user-produced content and not thoroughly vetted. That design gives users access to a large software catalog, but it also makes PKGBUILD review important before installation.

In this incident, attackers abused that trust model by taking over or adopting packages and changing their build instructions. Once a user installed or updated an affected AUR package, the malicious command could run during the normal build or install process.

Incident detailWhat happened
TargetArch User Repository community packages
Initial dateJune 11, 2026
Early countMore than 400 affected AUR packages
Later countMore than 1,500 affected packages reported by later tracking
Malicious dependenciesatomic-lockfile, lockfile-js, and js-digest
Official Arch repositoriesNo evidence that core, extra, or multilib were affected

Atomic Arch Used Malicious npm and Bun Dependencies

Sonatype said the Atomic Arch campaign targeted orphaned AUR packages and modified package build instructions to install the malicious atomic-lockfile npm package.

As the incident expanded, researchers also observed other malicious dependencies, including lockfile-js and js-digest. Some waves used npm, while others used Bun during package installation.

This approach helped attackers avoid placing all malicious logic directly inside the AUR package. The AUR package only needed to fetch a malicious dependency, which then handled the next stage of the attack.

  • Attackers changed PKGBUILD or install files in affected AUR packages.
  • The modified packages invoked npm or Bun during installation.
  • The malicious dependency pulled down or executed additional payload logic.
  • Users who installed or updated affected packages could run the malware locally.

The Malware Targeted Developer Secrets

BleepingComputer reported that the campaign pushed a Linux infostealer with optional eBPF rootkit capabilities, targeting credentials and access tokens on developer workstations and build environments.

The malware reportedly searched for browser data, Electron app data, Slack, Microsoft Teams, Discord, GitHub credentials, npm tokens, HashiCorp Vault tokens, Docker and Podman material, SSH keys, VPN material, shell histories, and other local developer secrets.

This makes the incident more serious than a normal unwanted package update. A compromised developer machine can expose source code access, deployment credentials, cloud environments, CI/CD tokens, private servers, and internal communication platforms.

Targeted dataPossible impact
SSH private keysAccess to servers and developer infrastructure
GitHub and npm tokensSource code access or package publishing abuse
Browser cookies and credentialsAccount takeover and session hijacking
Vault and cloud secretsAccess to production services and internal systems
Slack, Teams, Discord, and Telegram dataInternal communication exposure and social engineering risk

Rootkit-Style Behavior Raises Cleanup Risk

The reported payload included optional eBPF rootkit-style capabilities. eBPF can run programs in the Linux kernel under specific conditions, which makes it powerful for legitimate observability and security work, but dangerous when abused by malware.

According to BleepingComputerโ€™s analysis, the malware had references to hiding processes, files, and network interfaces. That means a simple package removal may not fully clean an affected system if the payload already executed.

Users who installed affected packages should treat the system as potentially compromised, especially if they use the machine for development, cloud administration, cryptocurrency wallets, or access to production systems.

Community Tracking Put the Number Above 1,500

Arch maintainers and community members moved quickly to collect reports, delete malicious commits, and ban offending accounts. The public AUR report thread became the main place for users to submit more affected packages.

A community-maintained AUR malware check project later described more than 1,600 compromised AUR packages and listed two broad attack waves involving atomic-lockfile, lockfile-js, and js-digest.

That count may differ from earlier articles because the incident developed quickly. Reports started with hundreds of packages, then expanded as maintainers and users found more malicious commits across the repository.

SourceReported scopeKey detail
AUR community threadOngoing package reportsMaintainers asked users to report malicious packages in one thread
SonatypeInitial orphaned-package campaign plus later wavesatomic-lockfile, lockfile-js, and js-digest activity observed
PhoronixMore than 1,500 affected packagesArch developers believed known malicious commits had been addressed
Community malware check listMore than 1,600 packages referencedTracking and detection scripts collected for users

Why Orphaned AUR Packages Were Attractive Targets

Orphaned packages are packages without an active maintainer. In a community repository, these packages can become attractive targets because they may still have users but less active oversight.

StepSecurity described the campaign as a large-scale AUR hijacking incident and said attackers turned community packages into a malware delivery network.

The strategy gives attackers reach without needing to create a new package and persuade users to install it. A hijacked or adopted package may already have trust, votes, comments, and installations.

  • Orphaned packages may receive less maintainer scrutiny.
  • Existing package names can look familiar to users.
  • AUR helpers can make updates feel routine.
  • Malicious install hooks can run during normal package builds.
  • Developer machines often store high-value credentials locally.

What Arch Linux Users Should Check Now

Users who installed or updated AUR packages between June 9 and June 12 should review their systems. The safest starting point is to list foreign packages and compare them against the affected package lists.

The AUR malware check tools can help users search for signs of the June 2026 campaign, although any detection script should be reviewed before running.

Users should also inspect recent package build files for unexpected npm install, bun install, atomic-lockfile, lockfile-js, or js-digest references. Any match should trigger a deeper compromise review.

CheckCommand or actionWhy it matters
List AUR packagespacman -QmShows foreign packages installed outside official repositories
Review build scriptsSearch PKGBUILD and .install filesFinds unexpected npm or Bun execution
Check affected listsCompare installed packages with community listsIdentifies known exposure
Audit credentialsRotate keys, tokens, and passwordsLimits damage from stolen secrets
Consider rebuildReinstall from trusted media if rootkit exposure is likelyReduces risk from hidden persistence

Credentials Should Be Rotated After Exposure

Removing a bad AUR package may not be enough. If the malicious payload executed, the system may already have leaked credentials or local secrets.

Sonatypeโ€™s report says affected hosts should be treated as compromised and that removing the package alone may not be sufficient if the second-stage payload already ran.

Users should rotate SSH keys, GitHub tokens, npm tokens, Vault tokens, cloud keys, API credentials, browser passwords, VPN credentials, and any secrets stored in shell history, environment files, or project configuration files.

  • Revoke and recreate SSH keys used on the affected machine.
  • Rotate GitHub, GitLab, npm, Docker, cloud, and Vault tokens.
  • Invalidate browser sessions and reset important passwords.
  • Review recent commits, package publishes, and CI/CD jobs.
  • Move crypto funds to a new wallet if wallet data was present.

AUR Helpers Make Review More Important

AUR helpers such as yay and paru make it easier to install and update AUR packages, but they can also normalize fast upgrades without careful PKGBUILD review.

The Arch User Repository documentation makes the trust boundary clear: AUR package files are unofficial, and users take responsibility for reviewing what they install.

After this incident, Arch users should avoid blind AUR upgrades. They should review diffs, check maintainer changes, question new install hooks, and look closely at any package that suddenly adds npm, Bun, curl, wget, base64, or remote script execution.

Risky change in PKGBUILDWhy it should raise concern
New npm install or bun install commandMay fetch unreviewed code during build or installation
Unexpected curl or wget commandMay download payloads from remote infrastructure
New post_install or pre_install hookCan execute code automatically during package installation
Maintainer change on an old packageMay indicate legitimate adoption or a takeover attempt
Obfuscated shell commandsCan hide downloaders, payloads, or credential theft logic

What This Means for Open Source Supply Chain Security

The AUR incident shows how attackers can use trusted community infrastructure to reach developer machines without exploiting a Linux vulnerability.

StepSecurityโ€™s analysis framed Atomic Arch as a broader warning for open source ecosystems because attackers abused existing package trust rather than creating obvious malicious packages from scratch.

The same pattern has appeared in npm, PyPI, RubyGems, and other package ecosystems. Attackers look for abandoned packages, weak maintainer controls, typo-squatting opportunities, and build-time script execution.

For Arch users, the practical lesson is direct. AUR packages can be useful, but installing them means running community-controlled build instructions on your machine. That makes PKGBUILD review, package history checks, and credential isolation essential.

Phoronixโ€™s later update reported that Arch developers believed known malicious commits had been addressed, but users who installed affected packages still need to investigate their own systems.

The Atomic Arch campaign was not only a package repository incident. It was also a developer credential incident, and any system that ran the payload should be handled with that level of caution.

FAQ

What was the Atomic Arch AUR attack?

Atomic Arch was a June 2026 supply chain attack targeting the Arch User Repository. Attackers modified AUR package build scripts so they installed malicious dependencies such as atomic-lockfile, lockfile-js, and js-digest during package installation.

How many AUR packages were compromised?

Early reports mentioned more than 400 affected AUR packages. Later community tracking and reporting raised the number above 1,500, with some detection resources referencing more than 1,600 packages.

Were official Arch Linux repositories affected?

Reports focused on the Arch User Repository, which is community-maintained and separate from the official Arch repositories. There was no evidence in the reporting that core, extra, or multilib official repositories were affected.

What data did the malware try to steal?

Reported targets included SSH keys, GitHub credentials, npm tokens, Vault tokens, browser cookies, browser passwords, Slack data, Discord data, Microsoft Teams data, Telegram data, Docker and Podman material, VPN data, and shell history.

What should Arch users do if they installed affected AUR packages?

Users should remove affected packages, inspect recent PKGBUILD and install files, rotate exposed credentials, revoke active tokens and sessions, review logs and developer accounts, and consider reinstalling from trusted media if rootkit-style persistence may have executed.

Readers help support VPNCentral. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help VPNCentral sustain the editorial team Read more

User forum

0 messages