<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Bun - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/bun/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sun, 14 Jun 2026 09:00:24 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/bun/feed.xml" rel="self" type="application/rss+xml"/><item><title>Atomic Arch Campaign Leverages Orphaned AUR Packages for Linux Payload Deployment</title><link>https://feed.craftedsignal.io/briefs/2026-06-atomic-arch-npm-campaign/</link><pubDate>Sun, 14 Jun 2026 09:00:24 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-06-atomic-arch-npm-campaign/</guid><description>The Atomic Arch campaign compromises orphaned Arch User Repository (AUR) packages, modifying their PKGBUILDs to install malicious npm/Bun dependencies like 'atomic-lockfile,' which deploy a Linux payload with credential harvesting, eBPF-based stealth, anti-debugging, and data exfiltration capabilities, impacting approximately 1,500 packages.</description><content:encoded><![CDATA[<p>Sonatype researchers uncovered the Atomic Arch campaign, which began on June 11, 2026, targeting orphaned packages within the Arch User Repository (AUR). Threat actors are exploiting the AUR's stewardship process by adopting abandoned projects and subsequently modifying their PKGBUILD instructions. These modifications introduce a post-install script designed to install malicious npm packages, such as <code>atomic-lockfile</code>, <code>js-digest</code>, and <code>lockfile-js</code>. A second wave observed on June 12, 2026, also leveraged Bun-based installation paths. The installation of these malicious dependencies triggers the deployment of a sophisticated native Linux executable. This payload is engineered for credential harvesting (targeting GitHub, SSH, Vault, browser data, chat applications), employs eBPF for deep system stealth and privilege escalation, includes anti-debugging features, and possesses HTTP upload functionality for data exfiltration. The campaign is estimated to have affected approximately 1,500 packages, posing a significant supply chain risk where attackers inherit developer trust.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Access &amp; AUR Compromise</strong>: Threat actors identify and gain stewardship of legitimate, but orphaned, packages within the Arch User Repository (AUR).</li>
<li><strong>PKGBUILD Modification</strong>: The attackers modify the adopted AUR packages' <code>PKGBUILD</code> files to include a post-install script that executes package manager commands.</li>
<li><strong>Malicious Dependency Installation</strong>: When a user installs or updates a compromised AUR package, the modified <code>PKGBUILD</code> triggers commands like <code>npm install atomic-lockfile minimist chalk</code> (or Bun equivalent) to retrieve and install malicious dependencies.</li>
<li><strong>Native Payload Execution</strong>: The installed malicious npm/Bun dependency (e.g., <code>atomic-lockfile</code>) contains a <code>package.json</code> <code>preinstall</code> script that executes a bundled native Linux executable.</li>
<li><strong>Rootkit Deployment &amp; Stealth</strong>: The native Linux executable loads an eBPF program (e.g., <code>scales.bpf.c</code>) using <code>libbpf</code> APIs (<code>bpf_object__load</code>, <code>bpf_program__attach</code>, <code>bpf_map__pin</code>), enabling advanced process, file, and network hiding (rootkit functionality). It also implements anti-debugging techniques (<code>PTRACE_ATTACH</code>, <code>PTRACE_SEIZE</code>).</li>
<li><strong>Credential &amp; Data Harvesting</strong>: The deployed payload actively searches for and collects sensitive information, including GitHub credentials, SSH artifacts, HashiCorp Vault tokens, browser cookie databases, and data from messaging applications like Slack, Discord, Microsoft Teams, and Telegram.</li>
<li><strong>Data Exfiltration</strong>: The harvested data is compressed and exfiltrated to attacker-controlled infrastructure via HTTP POST requests, specifically targeting endpoints such as <code>/upload</code>.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The Atomic Arch campaign has a severe impact on developer systems, treating affected hosts as fully compromised. The primary objective is extensive credential and sensitive data harvesting, which could lead to further unauthorized access to developer accounts, source code repositories, cloud infrastructure, and internal systems. The use of eBPF provides deep system stealth, making detection and removal challenging, potentially leading to long-term persistence. With an estimated 1,500 packages affected across multiple waves, this campaign represents a significant supply chain attack that erodes trust in public package repositories, exposing a wide range of organizations using Arch Linux and these packages to sophisticated Linux malware.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rules in this brief to your SIEM and tune for your environment to detect malicious package installations and payload execution.</li>
<li>Monitor <code>process_creation</code> logs for suspicious <code>npm</code> or <code>bun</code> commands installing known malicious packages like <code>atomic-lockfile</code>, <code>js-digest</code>, or <code>lockfile-js</code>, as detailed in the rule &quot;Detect Atomic Arch Malicious npm/Bun Package Installation&quot;.</li>
<li>Monitor <code>process_creation</code> logs for unusual executable launches from temporary or <code>node_modules</code> directories as a child of <code>npm</code> or <code>bun</code>, as described in the rule &quot;Detect Suspicious Executable Launched by Package Manager&quot;.</li>
<li>Enable and monitor <code>network_connection</code> logs for outbound HTTP POST requests to suspicious paths like <code>/upload</code> from unusual or non-browser processes, as outlined in the rule &quot;Detect Potential Exfiltration via HTTP POST /upload&quot;.</li>
<li>Review any Arch User Repository (AUR) packages installed within your environment, particularly those adopted around June 2026, for modified <code>PKGBUILD</code> files.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>supply-chain-attack</category><category>npm</category><category>bun</category><category>linux</category><category>malware</category><category>credential-harvesting</category><category>eBPF</category><category>rootkit</category><category>data-exfiltration</category></item></channel></rss>