atomic-lockfile
atomic-lockfile is a malicious npm package used in the June 2026 "Atomic Arch" supply-chain campaign targeting the Arch User Repository (AUR). Attackers adopted orphaned AUR packages and modified PKGBUILD or install scripts to fetch and install the rogue npm package atomic-lockfile, including via npm install of version 1.4.2. The package’s package.json contained a preinstall lifecycle hook that executed an embedded Linux ELF payload at ./src/hooks/deps. Researchers described deps as a stripped 64-bit Rust ELF credential stealer with optional root-only eBPF rootkit capabilities. Reported targets include developer workstations and build environments, with theft focused on SSH keys, GitHub tokens, npm credentials, Docker and Podman authentication data, HashiCorp Vault tokens, browser cookies and local storage, Slack, Discord, Microsoft Teams, Telegram data, VPN configuration files, and shell histories. The payload can validate stolen credentials against legitimate APIs, establish persistence via systemd services in system or user contexts, and when run with sufficient privileges load an eBPF rootkit that hides processes and socket inodes from tools such as ps, top, htop, netstat, and ss. Reported network behavior includes communication with the Tor onion service olrh4mibs62l6kkuvvjyc5lrercqg5tz543r4lsw3o6mh5qb7g7sneid.onion via POST requests to /api/agent and separate uploads to temp.sh via /upload. The campaign was associated with AUR accounts including arojas, custodiatovar, and veramagalhaes, and the malicious npm publisher herbsobering. A reported SHA-256 for the deps sample delivered via atomic-lockfile is 6144D433F8A0316869877B5F834C801251BBB936E5F1577C5680878C7443C98B.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
Attackers took over more than 400 packages in the Arch User Repository (AUR) this week and rewrote their build scripts to install a credential stealer on any machine that built them.
Execution
7 techniques
Execution
Once a package was adopted, its PKGBUILD or .install script was edited to run npm install atomic-lockfile during the build... A second wave used bun install js-digest
Sonatype researchers say that the threat actor hijacked at least 20 orphaned packages on AUR and pushed atomic-lockfile by modifying the PKGBUILD file - a Bash script with the build information needed by Arch Linux packages.
atomic-lockfile ‘s package.json contains a preinstall lifecycle hook: "preinstall": "./src/hooks/deps"
Analysis identified references to an eBPF program ( scales.bpf.c ) and to libbpf APIs including: bpf_object__load bpf_program__attach bpf_map__pin
A user runs their AUR helper ( yay , paru , or raw makepkg ) to install or update a package.
Privilege Escalation
1 technique
Privilege Escalation
Stealth
9 techniques
Stealth
Static analysis identified functionality associated with process, file, and network hiding. The eBPF-related functionality references hooks for getdents64(), the system call used to enumerate directory entries, and maintains structures named hidden_pids, hidden_names, and hidden_inodes.
The outer package is a largely functional TypeScript npm package (legitimate atomic-lockfile project) with the ELF binary inserted into its source tree.
Beyond data theft, the malware employed rootkit-style persistence techniques, disguising its active processes as legitimate kernel threads to evade detection by standard process monitors like ps and htop.
A user runs their AUR helper ( yay , paru , or raw makepkg ) to install or update a package.
This means a developer workstation, maintainer machine, or CI/build host could execute the malware as a side effect of building or installing the compromised AUR package.
the npm package installed a Linux executable with references to an eBPF rootkit that could hide processes, files, and network interfaces.
They modified the packages' PKGBUILD to introduce a post-install script that executes npm install atomic-lockfile minimist chalk during package installation, causing affected systems to retrieve and install the npm package atomic-lockfile.
Credential Access
4 techniques
Credential Access
The binary contains references to GitHub credentials, SSH artifacts, HashiCorp Vault tokens, browser cookie databases, Slack, Discord, Microsoft Teams, and Telegram data stores.
SSH private keys — enabling attackers to pivot to remote servers and infrastructure System environment variables — potentially exposing API tokens, cloud credentials, and application secrets Cryptocurrency wallet data — targeting local wallet files and seed phrases.
The binary contains references to GitHub credentials, SSH artifacts, HashiCorp Vault tokens, browser cookie databases, Slack, Discord, Microsoft Teams, and Telegram data stores. Taken together, these references strongly indicate credential and token harvesting functionality.
Discovery
1 technique
Discovery
Command and Control
1 technique
Command and Control
IOCs tracked for this family
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A trojanized npm package used in the Atomic Arch supply-chain attack. Version 1.4.2 included a malicious preinstall hook that automatically executed the embedded deps ELF payload during npm installation.
A malicious npm package delivered via compromised AUR packages that installs a Linux payload with credential-stealing and optional eBPF rootkit capabilities. It targets developer workstations and build environments, stealing browser and Electron app data, Slack, Microsoft Teams, Discord, GitHub, npm, Vault, Docker/Podman, SSH, VPN material, shell histories, cookies, and other local secrets, and appears capable of archiving and HTTP-based exfiltration.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.