Rust Supply Chain Attack Puts Build-Time Malware in Crates with 245 Million Downloads
AI-summarised brief · reviewed before publication
The Rust Project removed malicious releases of three popular crates—arrayref 0.3.10, internment 0.8.7, and append‑only‑vec 0.1.9—after a compromised maintainer account published versions that added a typosquatted dependency, proc‑macro1, whose build script fetched and executed remote payloads during compilation. The attacks were detected and the crates deleted within 86 to 107 minutes. Developers are advised to purge cached files, pin arrayref to 0.3.9 or earlier, and monitor for similar build‑time threats.
💡 Why It Matters
- · The incident exposes how build scripts can silently deliver malware, undermining trust in open‑source ecosystems and highlighting the need for stricter credential security and supply‑chain verification.