Skip to main content
Mallory
← Back to News
package-repository-poisoningopen-source-dependency-vulnerabilitydependency-confusion-typosquat

Malicious Rust Crates Pulled After `proc-macro1` Supply-Chain Backdoor Spread

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

Malicious Rust Crates Pulled After `proc-macro1` Supply-Chain Backdoor Spread

Multiple Rust packages were removed from crates.io after a supply-chain attack introduced malicious dependencies into popular crates including arrayref 0.3.10, append-only-vec 0.1.9, and internment 0.8.7. The compromised releases added a direct dependency on the rogue crate proc-macro1, while a second malicious crate, proc-macro-en, was also published as part of the same campaign. RustSec said the malicious versions were available for roughly 86 to 107 minutes before removal, with arrayref alone downloaded 2,285 times during that window; the related publisher account for proc-macro-en was locked, and no patched versions were issued because the packages were classified as malicious rather than conventionally vulnerable.

Why it matters

Impact assessment

A supply-chain compromise in the Rust ecosystem exposed developer workstations and CI runners that resolved malicious crate versions during Cargo operations. The highest-risk populations are software teams building Rust projects that depended on arrayref 0.3.10, internment 0.8.7, append-only-vec 0.1.9, or the rogue crates proc-macro1 and proc-macro-en.

The impact is potentially severe because execution occurred at build time, enabling host compromise, persistence, credential and browser-data collection, remote command execution, and downstream software artifact contamination. Exposure appears time-bounded rather than ecosystem-wide, but arrayref 0.3.10 alone was downloaded 2,285 times during its 86-minute availability window, and at least one victim reportedly generated command-and-control traffic.

Supporting details

  • Affected products and packages:
    • arrayref 0.3.10
    • internment 0.8.7
    • append-only-vec 0.1.9
    • proc-macro1 1.0.107 and 1.0.106
    • proc-macro-en 1.0.10
  • Affected environments:
    • Developer workstations
    • CI/CD runners
    • Build systems executing cargo build, cargo check, or cargo test
  • Scope and timing:
    • arrayref 0.3.10 live from 2026-08-20 07:15 UTC to 08:41 UTC
    • internment 0.8.7 live from 07:34 UTC to 09:04 UTC
    • append-only-vec 0.1.9 live from 07:37 UTC to 09:25 UTC
    • Teams with a committed Cargo.lock from before 07:15 UTC on 2026-08-20 were not exposed through dependency resolution
  • Known incident indicators:
    • RustSec advisories initially stated no evidence of usage for some compromised releases
    • A victim reported C2 traffic to 23.254.167.216, indicating real execution on at least one host
  • Business consequences:
    • Credential exposure from developer endpoints
    • Potential compromise of signing, CI, and cloud credentials reachable from build hosts
    • Risk of tainted build artifacts and software supply-chain propagation
    • Operational disruption from host isolation, credential rotation, and rebuild requirements
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.

12 events · Aug 20, 2026
  1. Aug 20, 20263mo ago

    Wiz links Rust crate campaign to likely DPRK activity

    Wiz Research published an analysis on 2026-08-20 assessing that the crates.io supply-chain campaign likely had North Korea links, citing infrastructure overlaps with the Mastra campaign and the npm axios attack associated with UNC1069. The report, informed in part by Google Threat Intelligence context, tied the activity to shared Hostwinds infrastructure and reused C2 characteristics.

    Attaque supply chain Rust : trois crates hijackées sur crates.io, liens avec la Corée du Nord | CyberVeille
  2. Reported Aug 20, 20263mo ago

    Technical IOC analysis published for proc-macro1 and proc-macro-en

    A public analysis documented that proc-macro1 and proc-macro-en used identical malicious build scripts to download platform-specific payloads from 23.254.165.112:9089 and pass 23.254.165.112:443 as the initial C2 endpoint. The report also described the Windows payload as a PowerShell backdoor with host profiling, Chromium data collection, persistence, and remote command execution capabilities.

    Malicious Rust crates proc-macro1 and proc-macro-en: Analysis and IOCs · GitHub
  3. Aug 20, 20263mo ago

    RustSec issues advisories for malicious crates

    RustSec reported and issued advisories covering the malicious crates and compromised dependent releases, including arrayref, append-only-vec, internment, and proc-macro-en. The advisories classified the incidents as malicious supply-chain issues.

    RUSTSEC-2026-0262: append-only-vec: `append-only-vec` 0.1.9 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  4. Aug 20, 20263mo ago

    proc-macro-en removed and associated account locked

    In response to the malicious publication, proc-macro-en was removed from crates.io and the related user account was locked. No patched version was provided because the crate was classified as malicious.

    RUSTSEC-2026-0264: proc-macro-en: `proc-macro-en` was removed from crates.io due to malicious code › RustSec Advisory Database
  5. Aug 20, 20263mo ago

    Compromised append-only-vec release removed from crates.io

    The malicious append-only-vec release remained available for about 107 minutes before being removed from crates.io. The advisory stated there was no evidence of actual usage.

    RUSTSEC-2026-0262: append-only-vec: `append-only-vec` 0.1.9 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  6. Aug 20, 20263mo ago

    Compromised internment release removed from crates.io

    The malicious internment release was removed about 90 minutes after publication. The advisory stated there was no evidence of actual usage of the compromised version.

    RUSTSEC-2026-0266: internment: `internment` 0.8.7 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  7. Aug 20, 20263mo ago

    Compromised arrayref release removed from crates.io

    The malicious arrayref release was removed about 86 minutes after publication. RustSec later stated there were no patched versions and that unaffected versions were 0.3.9 and earlier.

    RUSTSEC-2026-0260: arrayref: `arrayref` 0.3.10 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  8. Aug 20, 20263mo ago

    Malicious internment 0.8.7 release published

    A compromised version of internment was published on crates.io with a direct dependency on proc-macro1, introducing the same malicious build-script execution path during builds.

    RUSTSEC-2026-0266: internment: `internment` 0.8.7 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  9. Aug 20, 20263mo ago

    Malicious append-only-vec release published

    A new compromised version of append-only-vec was published with a direct dependency on proc-macro1, which would execute a malicious build script during the build process.

    RUSTSEC-2026-0262: append-only-vec: `append-only-vec` 0.1.9 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  10. Aug 20, 20263mo ago

    Legitimate arrayref versions yanked during malicious 0.3.10 publication

    Within the same minute that malicious arrayref 0.3.10 was published, legitimate arrayref versions 0.3.5 through 0.3.9 were yanked from crates.io. The action would have left the malicious release as the only unyanked recent version and could have pushed developers toward it via Cargo warnings.

    arrayref Supply Chain Attack: A One-Line Build Dependency Ran a Backdoor During cargo build - Upwind
  11. Aug 20, 20263mo ago

    Malicious arrayref 0.3.10 release published

    A compromised version of arrayref was published with a direct dependency on proc-macro1, causing a malicious build script to execute during Cargo builds. The release was later reported to have been downloaded 2,285 times during its availability window.

    RUSTSEC-2026-0260: arrayref: `arrayref` 0.3.10 was removed from crates.io due to a malicious dependency › RustSec Advisory Database
  12. Aug 20, 20263mo ago

    Malicious crate proc-macro-en published to crates.io

    A single version of the Rust crate proc-macro-en was published on crates.io as part of the same supply-chain attack associated with proc-macro1. The crate contained the same malicious build script as proc-macro1.

    RUSTSEC-2026-0264: proc-macro-en: `proc-macro-en` was removed from crates.io due to malicious code › RustSec Advisory Database
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 →

Malware

1 linked

Organizations

1 linked
Crates.io

Observables

13 linked

Indicator values are masked on this page. View all 13 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.