Close Menu
  • Home
  • News
  • Cyber Security
  • Internet of Things
  • Tips and Advice

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Microsoft Patches Severe Entra ID Flaw (CVSS 10.0) Allowing Remote Code Execution

August 28, 2026

OpenAI: Hugging Face Incident a “Warning Shot” to the World

August 27, 2026

Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads

August 27, 2026
Facebook X (Twitter) Instagram
Friday, August 28
Facebook X (Twitter) Instagram Pinterest Vimeo
Cyberwire Daily
  • Home
  • News
  • Cyber Security
  • Internet of Things
  • Tips and Advice
Cyberwire Daily
Home»News»Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
News

Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads

Team-CWDBy Team-CWDAugust 27, 2026No Comments7 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
Share
Facebook Twitter LinkedIn Pinterest Email


The Rust Project has deleted malicious versions of three widely used Rust crates from crates.io after a compromised maintainer account published releases that added a typosquatted dependency whose build script downloaded and executed a remote payload during compilation.

The affected releases are arrayref 0.3.10, internment 0.8.7, and append-only-vec 0.1.9, all published from the same owner account on August 20, 2026, and all removed within 86 to 107 minutes.

Because the malicious code sat in the build script of the injected dependency, building a project that resolved it was sufficient to run the payload, and nothing from the crates themselves had to be called.

Developers are advised to search ~/.cargo/registry/cache for the deleted crate files and to pin arrayref at 0.3.9 or earlier, after the Rust Security Response Team unyanked the maliciously-yanked versions during the response.

There is no patched version, no CVE identifier has been assigned, and the RustSec advisories for all three crates initially recorded no evidence that any malicious version was used.

“A new version of the arrayref crate was published with a direct dependency on proc-macro1, which would execute a malicious build script. This compromised version was published on 2026-08-20 and removed approximately 86 minutes later, with no evidence of actual usage,” an initial version of RUSTSEC-2026-0260 said.

“This initial assessment was based on the absence of any reports from users or researchers of the payload executing, cross-checked against crates.io download counts for the malicious versions during the exposure window. We have updated the wording since the initial advisory,” the Rust Security Response Team told The Hacker News.

“The initial draft advisories used a single rounded estimate as a placeholder for all three crates while remediation was still active. Once we pulled exact publish/deletion timestamps from crates.io‘s logs, we updated each advisory with the crate-specific figure. 86, 90 and 107 minutes respectively,” the team said.

“Yes, we have been able to reach the maintainer, and the account is still locked,” the team added.

In a separate response to The Hacker News, Wiz Research said public disclosures confirm active exploitation and real-world impact, adding that the impacted packages are present in 35% of cloud and code environments and over 75% of environments that used Rust.

The Rust Security Response Team said it received the report that the proc-macro1 crate was malicious at 07:15 UTC on August 20 and verified that the crate carried a build script downloading a malicious payload, in an advisory post crediting the Research Team at Nextron Systems GmbH with initially discovering and reporting it.

“We do not believe the author of arrayref to be acting maliciously, but their computer or credentials are likely compromised, and we are attempting to contact them,” the Rust Security Response Team said.

The Hacker News confirmed via the crates.io API on August 21 that the sole listed owner of arrayref is user 2402, David Roundy, registered in October 2009.

How the account was compromised has not been disclosed.

The Rust Security Response Team listed the malicious versions it deleted, with the time each was online –

  • arrayref@0.3.10: published at 2026-08-20T07:15:00Z, deleted at 08:41:40Z. Online for 86 minutes.
  • internment@0.8.7: published at 07:34:07Z, deleted at 09:04:11Z. Online for 90 minutes.
  • append-only-vec@0.1.9: published at 07:37:49Z, deleted at 09:25:24Z. Online for 107 minutes.
  • proc-macro1, proc-macro-en, aovine, arone, aronenao, and tinymember, any versions.

Each compromised release carried a single added line in its manifest, a dependency on proc-macro1, a typosquat of the ubiquitous proc-macro2 crate. The library source of proc-macro1 is a genuine copy of proc-macro2, so builds completed normally.

The build script reassembles its payload host and command-and-control (C2) address from base64 fragments at build time. It then installs a custom certificate verifier whose three verification methods return success unconditionally, disabling TLS validation. It selects one of four payloads by operating system and CPU architecture.

On Unix and macOS it writes the bytes to /tmp/rust-setup, marks the file executable, and spawns it detached with the C2 address as its first argument. On Windows it writes a PowerShell script to %TEMP% and launches it hidden through a VBScript launcher under wscript.exe, then abandons the child process, a step commented in the source as escaping Cargo’s job object so the build does not wait on it.

Delivery relied on the owner account yanking arrayref 0.3.5 through 0.3.9 within the same minute as the malicious publish, leaving the compromised release as the only version Cargo would not warn about, according to the report filed to the RustSec advisory database by the researcher who hit it.

“Delivery: 0.3.5–0.3.9 are all yanked under the owner account, so cargo’s consider updating to a version that is not yanked warning is the lure. That is how I hit it,” the reporter, GitHub user jhobern, said.

The Hacker News found via the crates.io API on August 21 that arrayref has 245,385,500 downloads all time and 53,905,601 in the 90 days ending August 20, and that 403 distinct crates on crates.io depend on it. We also verified each hop of the dependency chain named in the report against the crates.io index on August 21: winit requires sctk-adwaita ^0.10.1, which requires tiny-skia ^0.11, which requires arrayref ^0.3.6.

Every requirement in that chain is a caret range on 0.3.x, and a caret range on 0.3.x accepts 0.3.10. The same check found that blake3 declared arrayref as a dependency through version 1.8.6 and does not in 1.8.7, published at 09:09 UTC on August 20, and that blake2b_simd and blake2s_simd dropped the same dependency in releases published at 09:25 and 09:26 UTC that morning.

The stage-2 implant beacons over HTTPS POST to the path /49890878, persists through a Registry Run key on Windows, a LaunchAgent on macOS, and a systemd user service on Linux, and supports four commands covering termination, C2 reconfiguration, persistence installation, and downloading and running further scripts, according to Wiz, which said it reads Chrome, Brave, and Edge profiles for saved logins and extension settings by querying the browsers’ SQLite credential stores directly.

The Nextron researcher analysis says the analysed Windows stage queries only the origin_url and username_value columns and does not directly extract password_value, but that analysis covered the Windows payload alone, with the Linux and macOS payloads hashed and not analysed. The same analysis notes the crate may be triggered by cargo build, cargo check, and cargo test.

StepSecurity shared the following indicators of compromise (IoCs) –

  • Network: 23.254.165.112:9089 (payload host), 23.254.165.112:443 (C2), hwsrv-798836.hostwindsdns.com
  • Files: /tmp/rust-setup, %TEMP%rust-setup.ps1, %TEMP%rust-setup-launch.vbs
  • Binaries: rust-crate_0.1.0, _0.2.0, _0.3.0, _0.4.0
  • Accounts: dtolney (crates.io id 438608), impersonator; droundy, legitimate owner, presumed compromised
  • Email: rchaitm@gmail.com, forged author metadata

Wiz said the infrastructure substantially overlaps with recent North Korean supply chain attacks, naming the Mastra npm compromise and the axios compromise.

Microsoft assesses with high confidence that the Mastra activity is attributable to Sapphire Sleet, and Google Threat Intelligence Group (GTIG) attributed the axios compromise to an actor it now tracks as MIDNIGHT NEPTUNE, formerly known as UNC1069. No vendor has attributed the crates.io incident to a named actor.

“While the malicious versions of axios were removed from the npm registry within three hours of their release, the scope of the compromise is estimated to be broad, as the package has over 100 million weekly downloads,” GTIG and Mandiant said in a July 30 report recommending cooling windows on newly published third-party assets.

Cargo has no shipped equivalent. A pull request stabilizing a global-min-publish-age setting, which would hold back dependencies younger than a configured age, entered its final comment period on August 18, two days before the attack, and remained open and unmerged as of August 21. GitHub shipped a similar cooldown default for Dependabot in July.

In a September 2025 case, two malicious crates impersonating a logging library executed only at runtime, a distinction crates.io drew at the time. Hunt.io. The public primary sources reviewed for this story corroborate the two old authentication bypasses, the p2pwn tool configuration, and the underlying serial-number P2P mechanism, but do not independently confirm those CameraSwarm counts.



Source

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleChinese Hacker Group QTFY Uses Custom-Built Platforms to Target US Inf
Next Article OpenAI: Hugging Face Incident a “Warning Shot” to the World
Team-CWD
  • Website

Related Posts

News

Microsoft Patches Severe Entra ID Flaw (CVSS 10.0) Allowing Remote Code Execution

August 28, 2026
News

OpenAI: Hugging Face Incident a “Warning Shot” to the World

August 27, 2026
News

Chinese Hacker Group QTFY Uses Custom-Built Platforms to Target US Inf

August 27, 2026
Add A Comment
Leave A Reply Cancel Reply

Latest News

North Korean Hackers Turn JSON Services into Covert Malware Delivery Channels

November 24, 202523 Views

macOS Stealer Campaign Uses “Cracked” App Lures to Bypass Apple Securi

September 7, 202517 Views

North Korean Hackers Target Crypto Firms with ClickFix and Zoom Lures

April 29, 202610 Views

All Major LLMs Exposed to Multi-Turn Manipulation, Warn Researchers

May 27, 20269 Views

Why SOC Burnout Can Be Avoided: Practical Steps

November 14, 20259 Views
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Most Popular

North Korean Hackers Turn JSON Services into Covert Malware Delivery Channels

November 24, 202523 Views

macOS Stealer Campaign Uses “Cracked” App Lures to Bypass Apple Securi

September 7, 202517 Views

North Korean Hackers Target Crypto Firms with ClickFix and Zoom Lures

April 29, 202610 Views
Our Picks

Fixing trivial passwords is as easy as 123456

May 7, 2026

Look out for phony verification pages spreading malware

September 14, 2025

How it preys on personal data – and how to stay safe

October 23, 2025

Subscribe to Updates

Get the latest news from cyberwiredaily.com

Facebook X (Twitter) Instagram Pinterest
  • Home
  • Contact
  • Privacy Policy
  • Terms of Use
  • California Consumer Privacy Act (CCPA)
© 2026 All rights reserved.

Type above and press Enter to search. Press Esc to cancel.