Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Panama Canal to cut daily ship traffic as drought worsens from El Nino

    August 21, 2026

    On the Radio, Trump Has a Reunion (of Sorts) With Michael Cohen

    August 21, 2026

    Google Pixel Watch 5 vs. Garmin Fenix 8 Pro: Which has more accurate GPS?

    August 21, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Panama Canal to cut daily ship traffic as drought worsens from El Nino
    • On the Radio, Trump Has a Reunion (of Sorts) With Michael Cohen
    • Google Pixel Watch 5 vs. Garmin Fenix 8 Pro: Which has more accurate GPS?
    • Binance Launches Agent OS for AI-Powered Crypto Trading
    • Scientists crushed diamond beyond Neptune-like pressures—and solved a 20-year mystery
    • $1.1 billion in pre-investment contracts awarded for Mozambique’s LNG project
    • U.S. Bond Crisis Highlights Deeper Fiscal Rot
    • How much could Trump’s ‘economic D-Day’ sanctions hurt Iran?
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Friday, August 21
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Cybersecurity

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

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKAugust 21, 2026 Cybersecurity No Comments6 Mins Read
    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 record 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,” RUSTSEC-2026-0260 said.

    The Hacker News has reached out to the Rust Security Response Team for the basis of that finding and for the download count of the deleted versions, but had not received a response at the time of writing.

    Cybersecurity

    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 steals browser credentials from Chrome, Brave, and Edge by querying SQLite login databases.

    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.

    Cybersecurity

    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.

    attack BuildTime chain Crates Downloads Malware Million puts Rust supply
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Datavault wants to buy a bank and fund it with $35 million after reporting $1.4 million cash

    US charges woman for allegedly plotting attack on New York State Capitol | Crime News

    New CUSTODY Framework Constrains AI Agents Inside the Network

    US warns of AI-powered attacks on Siemens PLCs in critical infrastructure

    Solana’s 50,000 SOL security contest did not cover a clock attack disclosed months earlier

    Hackers Target Zimbra Servers in Active Exploitation Campaign

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Panama Canal to cut daily ship traffic as drought worsens from El Nino

    August 21, 2026

    On the Radio, Trump Has a Reunion (of Sorts) With Michael Cohen

    August 21, 2026

    Google Pixel Watch 5 vs. Garmin Fenix 8 Pro: Which has more accurate GPS?

    August 21, 2026

    Binance Launches Agent OS for AI-Powered Crypto Trading

    August 21, 2026
    Latest Posts

    New Dysphoria DDoS botnet spreads to 200k devices worldwide

    July 28, 2026

    OpenAI’s biggest threat may just be open AI

    July 28, 2026

    6 Takeaways From Michigan’s Senate Debate Between Abdul El-Sayed and Haley Stevens

    July 28, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Panama Canal to cut daily ship traffic as drought worsens from El Nino

    August 21, 2026

    On the Radio, Trump Has a Reunion (of Sorts) With Michael Cohen

    August 21, 2026

    Google Pixel Watch 5 vs. Garmin Fenix 8 Pro: Which has more accurate GPS?

    August 21, 2026

    Subscribe to Updates

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

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