Back to Feed
Supply ChainAug 20, 2026

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

Rust crates arrayref, internment, and append-only-vec had malicious versions published via compromised account.

The Rust Project removed three popular crates from crates.io after a compromised maintainer account published malicious versions. These releases injected a typosquatted dependency, 'proc-macro1', whose build script downloaded and executed a remote payload during compilation. The malicious code was present in the build script, meaning simply building a project that used the affected crates was enough to trigger the payload.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Nextron Systems GmbH?

Get an email when a new story names Nextron Systems GmbH, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

A compromised Rust maintainer account was used to publish malicious versions of popular crates, affecting packages with a combined 245 million downloads. The attack exploited the trusted position of a legitimate account to inject a typosquatted dependency ('proc-macro1') that executed a remote payload at build time—meaning developers were compromised simply by compiling their project, without ever running the malicious code directly. This highlights the critical risk of transitive, build-time dependencies in modern software supply chains, where implicit trust in package registries can be weaponized. The incident underscores that supply chain attacks do not require a vulnerability in software itself—only access to a trusted publishing identity.

What helps against this

How we list vendors

Indicators of Compromise

Extracted by AI from the linked source. Not reviewed by an editor. How this works

  • malware — rust-setup
  • malware — PowerShell script

Entities

arrayref (product)internment (product)append-only-vec (product)proc-macro1 (product)Rust (technology)Nextron Systems GmbH (vendor)