Compromised Rust crates on crates.io silently execute malware at build time
The JFrog security research team has identified a compromise in 3 widely used Rust crates on crates.io: `arrayref@0.3.10` (~245M downloads), `internment@0.8.7` (~14.4M downloads), and `append-only-vec@0.1.9` (~4.5M downloads). All three silently pulled in `proc-macro1`, a typosquat of the legitimate `proc-macro2` crate.  As of now, the malicious crate versions and `proc-macro1` itself have been removed from crates.io. The three parent crates share the same crates.io owner (`droundy`). `arrayref` is a small, widely depended-on crate of macros for taking array references of slices. `internment` provides string/data interning, and
…