Skip to navigation

Threat reportSupply ChainTL-2026-0782

"Atomic Arch" AUR Supply-Chain Attack: 400+ Orphaned Arch User Repository Packages Backdoored via Malicious npm Dependencies (atomic-lockfile / js-digest) Deploying a Linux Infostealer with eBPF Rootkit

highACTIVE

Threat actors hijacked 400+ orphaned Arch User Repository (AUR) packages — partly by forging git commits to impersonate KDE maintainer 'arojas' — and modified their PKGBUILD/.install hooks to silently pull malicious npm/bun packages (atomic-lockfile, js-digest). The packages dropped a multi-stage Linux ELF infostealer ('deps') that exfiltrates browser credentials, SSH keys, cloud/dev tokens and crypto-wallet data to a Tor onion C2, with optional root-only eBPF rootkit process/file/socket hiding.

Key facts

IdentifiersTL-2026-0782
Also known asAtomic Arch, Sonatype-2026-003775
SeverityHIGH
Affected productsArch User Repository (AUR) User-contributed AUR packages (orphaned/adopted); npm Registry atomic-lockfile; npm / bun Registry js-digest
Weaknesses (CWE)CWE-1357, CWE-506, CWE-829, CWE-494, CWE-522
MITRE ATT&CK techniquesT1005 Data from Local System, T1014 Rootkit, T1027 Obfuscated Files or Information, T1036 Masquerading, T1041 Exfiltration Over C2 Channel, T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1082 System Information Discovery, T1090 Proxy, T1105 Ingress Tool Transfer, T1195 Supply Chain Compromise, T1204 User Execution and 13 more in the attack flow
MotivationFINANCIAL
Target sectorstechnology, software-development, open-source, cryptocurrency
Target regionsGlobal
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-06-12, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0782 across Splunk SPL, Microsoft KQL and Sigma, covering 29 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Atomic Arch — AUR Helper Triggering Malicious npm/bun Lifecycle Hook (Exploitation)

Detects the initial-access vector of the Atomic Arch supply-chain campaign: an AUR helper (yay/paru) or a PKGBUILD .install/.hook step invoking 'npm install atomic-lockfile' or 'bun install js-digest', and/or the bundled preinstall ELF at src/hooks/deps executing. This is the moment a poisoned AUR PKGBUILD pulls the malicious dependency and the deps infostealer fires on a developer's machine. Catching this stops the kill chain before credential harvesting and persistence.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1195.001, T1195.002, T1204.003, T1059.004
  • Data sources: linux_edr, sysmon_linux, DeviceProcessEvents
  • Severity: high
  • Confidence: high

Splunk SPL

index=linux_edr sourcetype="linux:process" (process_name IN ("npm","bun","node","sh","bash") OR parent_process_name IN ("yay","paru","makepkg","npm","bun"))
| eval cmd=lower(process)
| where (like(cmd,"%install %atomic-lockfile%") OR like(cmd,"%install %js-digest%") OR like(cmd,"%src/hooks/deps%") OR (like(cmd,"%atomic-lockfile%") AND like(cmd,"%preinstall%")))
| stats count min(_time) as firstSeen max(_time) as lastSeen values(process) as command_lines values(parent_process_name) as parents by host, user
| convert ctime(firstSeen) ctime(lastSeen)
| eval technique="T1195.001/T1195.002/T1204.003", threat="TL-2026-0782 Atomic Arch"
| sort - count

Microsoft KQL

// Microsoft Defender for Endpoint (Linux) — AUR helper invoking malicious npm/bun install
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("yay","paru","makepkg","npm","bun") or FileName in~ ("npm","bun","node")
| where ProcessCommandLine has_any ("atomic-lockfile","js-digest","src/hooks/deps")
| where ProcessCommandLine has_any ("install","preinstall")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, FileName, ProcessCommandLine, FolderPath
| sort by Timestamp desc

Sigma

title: Atomic Arch AUR Helper Triggering Malicious npm/bun Lifecycle Hook
id: 7d3f1a02-9c4e-4b21-8f6a-0a1b2c3d4e01
status: experimental
description: Detects an AUR helper or PKGBUILD install hook pulling the malicious atomic-lockfile/js-digest packages or executing the bundled src/hooks/deps ELF infostealer (Atomic Arch supply-chain campaign TL-2026-0782).
references:
    - https://www.sonatype.com/blog/atomic-arch-npm-campaign-adds-malicious-dependency
    - https://ioctl.fail/preliminary-analysis-of-aur-malware/
author: Threadlinqs Team
date: 2026/06/12
tags:
    - attack.initial_access
    - attack.t1195.001
    - attack.t1195.002
    - attack.execution
    - attack.t1204.003
    - attack.t1059.004
logsource:
    product: linux
    category: process_creation
detection:
    selection_helper:
        ParentImage|endswith:
            - '/yay'
            - '/paru'
            - '/makepkg'
            - '/npm'
            - '/bun'
    selection_pkg:
        CommandLine|contains:
            - 'atomic-lockfile'
            - 'js-digest'
            - 'src/hooks/deps'
    condition: selection_helper and selection_pkg
falsepositives:
    - Legitimate packages that coincidentally share these names (none known; both packages were removed as malicious)
level: high

Known false positives:

  • A developer intentionally testing a quarantined copy of the package in a research sandbox
  • Internal package mirrors that retain the now-removed package names in tooling logs

Tuning notes: Scope to developer/build workstations where yay/paru run. If npm/bun command lines are not captured, add a file_event fallback on writes to node_modules/atomic-lockfile/src/hooks/deps and hash-match against SHA256 6144D433F8A0316869877B5F834C801251BBB936E5F1577C5680878C7443C98B. Exclude vetted internal mirror hosts.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Atomic Arch — Bundled deps ELF Executed via npm/bun Preinstall Hook (Exploitation) · unlock with TL Creds
  • Atomic Arch — eBPF Rootkit Map Pinning under /sys/fs/bpf/hidden_* (Post-Exploitation) · unlock with TL Creds
  • Atomic Arch — Bulk Credential-Store Access Following AUR Build (C2 / Collection) · unlock with TL Creds
  • Atomic Arch — Poisoned PKGBUILD/.install Injecting npm/bun Install (Exploitation) · unlock with TL Creds
  • Atomic Arch — getdents64 eBPF Hook Load and Anti-Debugging ptrace Kill (Post-Exploitation) · unlock with TL Creds
  • Atomic Arch — XOR-Decoded Onion Beacon over Local SOCKS Tor Transport (C2 / Lateral) · unlock with TL Creds
  • Atomic Arch — Systemd Persistence Dropping Stealer into /var/lib (Post-Exploitation) · unlock with TL Creds
  • Atomic Arch — Onion C2 Beacon (POST /api/agent) and [indicator] Exfiltration (C2 / Exfil) · unlock with TL Creds

Indicators of compromise

As of 2026-06-12, Threadlinqs Intelligence tracks 29 indicators of compromise for TL-2026-0782.

Sample indicators (3 of 29)

  • Domain: olrh4mibs62l6kkuvvjyc5lrercqg5tz543r4lsw3o6mh5qb7g7sneid[.]onion
  • File hash: 6144D433F8A0316869877B5F834C801251BBB936E5F1577C5680878C7443C98B
  • Domain: temp[.]sh

Defanged, TLP:CLEAR. Full set of 29 indicators: unlock with TL Creds.

29 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Official Arch binary repositories were unaffected.

Between June 9 and June 12, 2026 a coordinated supply-chain campaign — dubbed "Atomic Arch" by Sonatype — abused the open ownership-claim and contribution model of the Arch User Repository (AUR). The AUR is a community-driven repository of user-submitted PKGBUILD build recipes that AUR helpers such as `yay` and `paru` execute on the end-user's machine; it is explicitly outside Arch Linux's signed binary repositories. Attackers targeted orphaned-but-trusted packages with existing install bases to maximize reach while minimizing scrutiny.

For a portion of the campaign the attackers forged git commit authorship to impersonate legitimate KDE/Arch maintainer 'arojas' (Antonio Rojas), who Arch developer David Runge clarified was NOT a malicious maintainer but an impersonation victim. Additional attacker-controlled AUR accounts (custodiatovar, veramagalhaes) pushed a secondary wave using the bun package manager and the js-digest package. The malicious npm/bun packages were published under accounts including 'herbsobering' and 'krisztinavarga'.

The poisoned PKGBUILDs added a post-install/.install/.hook step running `npm install atomic-lockfile minimist chalk` (and a parallel `bun install js-digest` wave). atomic-lockfile v1.4.2 carried a `"preinstall": "./src/hooks/deps"` lifecycle hook pointing at a bundled 3,040,376-byte x86-64 PIE ELF (SHA256 6144D433F8A0316869877B5F834C801251BBB936E5F1577C5680878C7443C98B). On execution the stealer harvests Chromium-family browser cookies/credentials (Chrome, Edge, Brave, Vivaldi, Opera), Firefox profiles, SSH private keys, shell histories (.bash_history/.zsh_history/fish_history), GitHub/npm/Slack/Discord/Microsoft Teams/Telegram tokens, HashiCorp Vault tokens, Docker/Podman credentials, VPN (.ovpn) profiles, /etc/machine-id, and cryptocurrency wallet data (including Monero monero-wallet-gui artifacts) and seed phrases. It validates harvested tokens against api.openai.com, api.github.com, registry.npmjs.org, discord.com and teams.microsoft.com.

A decoded 62-byte ciphertext at offset 0x2DA96, deobfuscated with a 32-byte repeating XOR key at 0x1AA60, yields the primary C2 onion host olrh4mibs62l6kkuvvjyc5lrercqg5tz543r4lsw3o6mh5qb7g7sneid.onion. The stealer beacons via `POST /api/agent HTTP/1.0` over TCP/80 and TCP/8080 using a SOCKS-style local transport on 127.0.0.1, stages a secondary Linux binary from <onion>/bin/linux (verified against <onion>/bin/sha256/linux, reference hash 47893d9badc38c54b71321263ce8178c1abb10396e0aadf9793e61ec8829e204), and exfiltrates collected archives to the public temp.sh service via `POST /upload HTTP/1.1`. Persistence is via systemd: root installs copy the binary to /var/lib/ with a unit under /etc/systemd/system/, while non-root installs use ~/.config/systemd/user/, both with Restart=always / RestartSec=30, using /proc/self/exe and flock() for single-instance control. When running as root (geteuid()==0 with CAP_BPF / CAP_SYS_ADMIN) the malware loads an eBPF program (scales.bpf.c) that hooks getdents64() and pins maps at /sys/fs/bpf/hidden_pids, /sys/fs/bpf/hidden_names and /sys/fs/bpf/hidden_inodes to hide its PIDs, process names and socket inodes from /proc, ps and htop, and kills attempted ptrace attachments. Sonatype tracks the malicious dependency as Sonatype-2026-003775 (vendor CVSS 8.7). No CVE was assigned (an abuse-of-trust supply-chain compromise rather than a software vulnerability). Arch maintainers ran a large-scale deletion campaign removing malicious updates and blocking attacker accounts; official Arch repositories were never affected.

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System; T1560 Archive Collected Data

Defense Evasion

T1014 Rootkit; T1027 Obfuscated Files or Information; T1036 Masquerading; T1564 Hide Artifacts; T1622 Debugger Evasion

Exfiltration

T1041 Exfiltration Over C2 Channel; T1567 Exfiltration Over Web Service

Execution

T1059 Command and Scripting Interpreter; T1204 User Execution

Command and Control

T1071 Application Layer Protocol; T1090 Proxy; T1105 Ingress Tool Transfer; T1573 Encrypted Channel

Discovery

T1082 System Information Discovery

Initial Access

T1195 Supply Chain Compromise

Credential Access

T1539 Steal Web Session Cookie; T1552 Unsecured Credentials; T1555 Credentials from Password Stores

Persistence

T1543 Create or Modify System Process

Privilege Escalation

T1548 Abuse Elevation Control Mechanism

Resource Development

T1584 Compromise Infrastructure; T1585 Establish Accounts; T1587 Develop Capabilities

Remediation

Patches

  • No software patch applies — remediation is removal of malicious AUR updates and malicious npm/bun packages and credential rotation

Immediate actions

  • Audit any AUR packages installed or updated between 2026-06-09 and 2026-06-12 with yay/paru and rebuild from clean, vetted PKGBUILDs
  • Search npm and bun caches for atomic-lockfile (v1.4.2) and js-digest and purge them (~/.npm, ~/.bun, node_modules)
  • Check for the eBPF rootkit: ls /sys/fs/bpf/hidden_pids /sys/fs/bpf/hidden_names /sys/fs/bpf/hidden_inodes
  • Inspect /etc/systemd/system/ and ~/.config/systemd/user/ for unexplained units referencing binaries in /var/lib/, and check /var/lib/ for the dropped ELF
  • Rotate ALL credentials reachable from affected hosts: SSH keys, GitHub/npm tokens, OpenAI/cloud API keys, Vault tokens, Discord/Slack/Teams sessions, and any crypto-wallet seed phrases

Workarounds

  • Block egress to the public file-sharing service temp.sh and to Tor where Tor is not required
  • Manually review PKGBUILD diffs before invoking AUR helpers; disable automatic AUR updates

Longer-term hardening

  • Deploy EDR with eBPF-aware/behavioral detection capable of flagging getdents64 hooking and BPF map pinning
  • Treat AUR (and all user-contributed package repositories) as untrusted: review every PKGBUILD/.install/.hook before building
  • Pin and lock npm/bun dependencies; enable lifecycle-script auditing and block install-time script execution (npm --ignore-scripts) where possible
  • Segment developer workstations and use hardware-backed/ephemeral credentials to limit token-theft blast radius

Affected and fixed versions

  • Arch User Repository (AUR) — User-contributed AUR packages (orphaned/adopted)
    Vulnerable versions: 400+ packages modified 2026-06-09 to 2026-06-12, e.g. alvr, guiscrcpy, netmon-git, inadyn-mt, nodejs-elm, keepassx2, premake-git
    Fixed in: Malicious updates removed by Arch maintainers; rebuild from clean PKGBUILD
  • npm Registry — atomic-lockfile
    Vulnerable versions: 1.4.2
    Fixed in: Package removed; do not install
  • npm / bun Registry — js-digest
    Vulnerable versions: all published
    Fixed in: Package removed; do not install

Timeline

  • Earliest malicious commits pushed: attackers begin adopting orphaned AUR packages and modifying PKGBUILD/.install hooks to pull atomic-lockfile.
  • Compromise window opens; users building affected AUR packages with yay/paru begin installing the atomic-lockfile infostealer.
  • Arch developer David Runge clarifies that maintainer 'arojas' (Antonio Rojas) was impersonated via git commit forgery, not a malicious maintainer.
  • Campaign first publicly reported; ioctl.fail publishes preliminary reverse-engineering of the 'deps' ELF infostealer and eBPF rootkit.
  • Arch maintainers run a large-scale deletion campaign removing malicious AUR updates and blocking attacker accounts; official Arch binary repositories confirmed unaffected.
  • Community detection scripts (lenucksi/aur-malware-check) released checking for atomic-lockfile/js-digest caches, systemd persistence and /sys/fs/bpf/hidden_* eBPF maps.
  • Sonatype publishes 'Atomic Arch' analysis and tracks the malicious dependency as Sonatype-2026-003775 (CVSS 8.7).
  • Secondary 'bun' wave identified using package js-digest via attacker accounts custodiatovar and veramagalhaes; scope assessed at 400+ (reports up to ~588) packages.

Sources cited

Previous and next in supply chain

Further reading

Drafted by the Threadlinqs research pipeline from 8 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats