This is perhaps one of the craziest #Rust supply chain attacks I’ve ever seen: T...

@bascule@mas.to

This is perhaps one of the craziest #Rust supply chain attacks I’ve ever seen:

The `arrayref` crate, which for whatever reason was somewhat widely used in cryptography libraries (none that I personally work on AFAIK), was changed to depend on a malicious `proc-macro1` crate published by “dtolney” who was impersonating “dtolnay”.

`proc-macro1` contained a malicious build.rs which was effectively RCE and downloaded a malware payload.

blog.rust-lang.org/2026/08/20/