Malicious Rust Crates Pulled After `proc-macro1` Supply-Chain Backdoor Spread
Supply Chain Risk · 7 sources · Updated 3mo ago · First seen Aug 20, 2026

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


