Skip to main content
Mallory
← Back to News
package-repository-poisoningdependency-confusion-typosquatbuild-pipeline-compromiseloader-delivery-mechanism

Malicious `arrayref` Release Pulled Rust Build-Time Payload via Typosquatted `proc-macro1`

Supply Chain Risk · 31 sources · Updated 3mo ago · First seen Aug 20, 2026

Malicious `arrayref` Release Pulled Rust Build-Time Payload via Typosquatted `proc-macro1`

A supply-chain attack hit the Rust ecosystem after arrayref 0.3.10 was published with a dependency on proc-macro1 1.0.107, a typosquatted package impersonating proc-macro2. The malicious crate used a build.rs script to download and execute a second-stage payload during compilation, meaning developers and CI systems could be compromised simply by building an affected project. Rust maintainers said they received a report at 07:15 UTC and removed the malicious packages, including related crates such as proc-macro-en, aovine, arone, aronenao, and tinymember, while also restoring or yanking affected versions of arrayref, internment, and append-only-vec.

Investigators said the payload infrastructure contacted 23.254.165.112 over ports 9089 and 443, bypassed TLS certificate validation, selected platform-specific malware for Unix and Windows, and allowed builds to appear normal after execution. The campaign appears to have used a fake dtolney account to mimic Rust maintainer David Tolnay and likely leveraged a compromised publisher account for arrayref; crates.io locked the affected author account as a precaution. Because arrayref is widely used and can reach downstream projects through dependencies such as tiny-skia, sctk-adwaita, and winit, maintainers warned that Rust GUI applications and other software stacks may have been exposed, and advised users to inspect Cargo caches and lockfiles, treat affected hosts as compromised, rotate credentials, and rebuild artifacts from clean sources.

Why it matters

Impact assessment

This incident affects Rust developers, CI/CD runners, and software supply-chain consumers that resolved or built compromised crates from crates.io during the exposure window on 2026-08-20. Impact is high because compromise occurred at build time, enabling malware execution on developer workstations and build infrastructure without running the built application.

Exposure is potentially broad because arrayref is a heavily used transitive dependency with hundreds of downstream packages and major reach into GUI, cryptography, and blockchain-related Rust projects. Public reporting states there was no confirmed evidence of real-world use at the time of disclosure, but any host that built affected versions should be treated as compromised due to credential, browser-data, wallet-extension, and developer-secret theft risk.

Affected populations and products

  • Rust ecosystem users consuming crates from crates.io
  • Developer workstations running cargo build, cargo check, or cargo test
  • CI/CD runners and release/signing infrastructure building affected projects
  • Directly affected crates:
    • arrayref 0.3.10
    • internment 0.8.7
    • append-only-vec 0.1.9
    • proc-macro1 1.0.107
  • Related malicious crates removed from crates.io:
    • proc-macro-en
    • aovine
    • arone
    • aronenao
    • tinymember

Severity and business risk

  • Build-time malware execution creates immediate risk of:
    • credential theft
    • CI token and API key exposure
    • signing key compromise
    • browser data theft
    • cryptocurrency wallet extension data theft
    • persistence on developer endpoints
  • Operational impact includes untrusted build artifacts, contaminated caches, and potential need to rebuild software from clean environments.
  • Reputational and financial impact can follow if compromised developer or CI credentials are reused for source, package, cloud, or release-system access.

Scope and exploitation status

  • Scope is ecosystem-wide in potential reach but limited in time; malicious releases were available for roughly 86 to 107 minutes before removal.
  • Arrayref had roughly 245 million lifetime downloads and broad transitive reach through packages such as tiny-skia, sctk-adwaita, and winit.
  • RustSec and Rust maintainers reported no evidence of actual usage at time of reporting, but download counts and dependency reach justify immediate exposure investigation.
  • Attribution reporting is mixed: multiple sources cite infrastructure overlap with DPRK-linked activity, including Sapphire Sleet/UNC1069, but definitive attribution is not established in all reporting.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

20 events · Aug 20, 2026 – Aug 21, 2026
  1. Aug 21, 20263mo ago

    Wiz attributes Rust supply-chain attack to Sapphire Sleet

    Wiz assessed that the Rust crate supply-chain attack was likely conducted by the North Korean threat actor Sapphire Sleet. The attribution was based on infrastructure overlaps with the earlier Axios and Mastra NPM supply-chain attacks, including shared beaconing endpoints, command-and-control IP usage, and reuse of the same Hostwinds LLC IP range.

    Rust Supply Chain Attack Linked to North Korean Hackers - SecurityWeek
  2. Aug 21, 20263mo ago

    CVE-2026-77651 assigned for arrayref 0.3.10 compromise

    MITRE received a new CVE entry, CVE-2026-77651, for the arrayref 0.3.10 supply-chain compromise. The record describes build-time execution of malicious code via a rogue dependency and classifies the issue with CVSS 3.1 and CWE-506 metadata.

    CVE-2026-77651 - arrayref Supply Chain Compromise
  3. Aug 20, 20263mo ago

    Wiz publishes second-stage malware analysis and IOCs

    Wiz disclosed technical details of the second-stage payload delivered by proc-macro1, including host reconnaissance, browser data collection, persistence on Windows/macOS/Linux, remote command execution, and DGA fallback behavior. The report also published indicators such as C2 infrastructure, POST path, malicious crate names, and payload file paths tied to the campaign.

    Rust Supply Chain Attack on arrayref: Significant Overlap with DPRK Campaigns | Wiz Blog
  4. Aug 20, 20263mo ago

    Wiz reports infrastructure overlap with recent DPRK-linked campaigns

    Wiz reported that infrastructure used in the Rust crate supply-chain attack overlapped with recent DPRK-linked software supply-chain campaigns, including Mastra and axios. The report stopped short of definitive attribution but introduced a new suspected actor link for the incident.

    Hackers poison arrayref Rust crate to push infostealer malware
  5. Aug 20, 20263mo ago

    Affected author account locked as precaution

    crates.io locked the affected author account and stated it did not believe the arrayref maintainer acted maliciously, assessing instead that the maintainer's computer or credentials were likely compromised.

    Supply chain attack on arrayref | Rust Blog
  6. Aug 20, 20263mo ago

    Rust response removed related malicious crates and restored yanked versions

    The response team deleted related malicious crates including proc-macro-en, aovine, arone, aronenao, and tinymember; deleted malicious versions of internment and append-only-vec; and restored previously maliciously yanked arrayref versions.

    Supply chain attack on arrayref | Rust Blog
  7. Aug 20, 20263mo ago

    Report says malicious arrayref 0.3.10 was downloaded 53 times

    Reporting on the crates.io incident stated that malicious arrayref 0.3.10 remained available from 10:15 to 11:41 MSK and was downloaded 53 times before removal. The same report said no confirmed successful compromise had been identified at that time.

    ������ Rust 1.98.0. ������������� ������ arrayref, �������������� 53 ��� �������� �� 3 ������
  8. Aug 20, 20263mo ago

    crates.io removed malicious arrayref 0.3.10

    crates.io removed arrayref 0.3.10 from the index, ending availability of the compromised release after an exposure window of roughly 86 minutes.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  9. Aug 20, 20263mo ago

    crates.io deleted proc-macro1

    crates.io deleted proc-macro1 after the report, removing the typosquatted malicious crate from the registry.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  10. Aug 20, 20263mo ago

    Rust Security Response Team verified malicious crates and linked arrayref

    After receiving the report, the Rust Security Response Team confirmed proc-macro1 was malicious and discovered that the popular arrayref crate had been republished to depend on it.

    Supply chain attack on arrayref | Rust Blog
  11. Aug 20, 20263mo ago

    Malicious proc-macro1 reported to Rust Security Response Team

    The Rust Security Response Team received a report that proc-macro1 was malicious, and the incident was also reported to the RustSec advisory database and Rust security contacts.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  12. Aug 20, 20263mo ago

    Rust team credits Nextron with discovering and reporting proc-macro1

    The Rust Security Response Team said the Research Team at Nextron Systems GmbH initially discovered the malicious proc-macro1 crate and reported it to the project. This newly identifies the external researchers who first surfaced the incident.

    Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
  13. Aug 20, 20263mo ago

    Older arrayref versions 0.3.5 through 0.3.9 were yanked

    Versions 0.3.5 through 0.3.9 of arrayref were yanked under the owner account, creating pressure for users to upgrade toward the malicious 0.3.10 release.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  14. Aug 20, 20263mo ago

    Compromised append-only-vec 0.1.9 published with malicious dependency

    append-only-vec 0.1.9 was published with a malicious Cargo.toml change that added a dependency on proc-macro1 1.0.107, extending the Rust supply-chain attack beyond arrayref. Building dependent projects could trigger proc-macro1's malicious build.rs and execute attacker code.

    Rust Crates arrayref & append-only-vec Compromised | Semgrep
  15. Aug 20, 20263mo ago

    Compromised internment 0.8.7 published with malicious dependency

    internment 0.8.7 was published from the droundy account with a dependency on proc-macro1 1.0.107, adding another legitimate Rust crate to the build-time supply-chain attack. The malicious dependency caused Cargo builds of affected projects to execute proc-macro1's build.rs and fetch attacker payloads.

    Popular Rust Crates Compromised in Build-Time Supply Chain Attack | Socket
  16. Aug 20, 20263mo ago

    Compromised arrayref 0.3.10 published with malicious dependency

    arrayref 0.3.10 was published from the droundy account and introduced its first-ever dependency on proc-macro1 1.0.107, making builds of affected projects execute the malicious chain.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  17. Aug 20, 20263mo ago

    Malicious proc-macro1 1.0.107 published

    proc-macro1 1.0.107 was published with a malicious build.rs script that downloaded and executed a remote payload during compilation while masquerading as a legitimate dependency.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  18. Aug 20, 20263mo ago

    Clean staging version proc-macro1 1.0.106 published

    The attacker published proc-macro1 1.0.106 as a clean copy of proc-macro2, apparently to stage the later typosquatting attack.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  19. Aug 20, 20263mo ago

    Matching dtolney crates.io account created

    A crates.io account named dtolney was created shortly after the fake GitHub account, establishing the publisher identity later used for the proc-macro1 typosquat.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
  20. Aug 20, 20263mo ago

    Fake dtolney GitHub account created to impersonate David Tolnay

    A GitHub account named dtolney was created to impersonate proc-macro2 author David Tolnay as part of the typosquatting setup for the malicious Rust crate campaign.

    Rust Supply-Chain Attack: arrayref 0.3.10 and the proc-macro1 Typosquat Execute a Remote Payload at Build Time - StepSecurity
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Organizations

3 linked
Crates.ioRustLangDroundy

Observables

32 linked

Indicator values are masked on this page. View all 32 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.