
TL;DR
A supply chain attack was identified in the Rust crate arrayref, which was found to depend on a maliciously modified version of another crate. The Rust Security Response Team has removed the compromised versions and locked the author's account to prevent further issues.
✦ Why It Matters
Review your dependencies regularly to ensure they are secure and up-to-date.
Key Takeaways
Full Summary
On August 20, 2026, the Rust Security Response Team confirmed that the proc-macro1 crate was compromised, featuring a build script that downloaded malicious content. This led to the deletion of proc-macro1 and several related crates, including arrayref, which had been republished to depend on the malicious crate.
The affected versions of arrayref and other crates were quickly yanked from the Rust package registry, crates.io. Users are advised to check their local dependencies for these malicious versions, which were online for a short time before being removed.
The Rust team believes the author of arrayref is not acting maliciously but may have had their credentials compromised. This incident highlights the importance of vigilance in dependency management within the Rust ecosystem.
Related