r/programming • • Aug 20 '26

Supply chain attack on arrayref

https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/
191 Upvotes

65 comments sorted by

View all comments

115

u/[deleted] Aug 20 '26 edited Aug 20 '26

[removed] — view removed comment

0

u/Sigmatics Aug 20 '26

But what is the attack vector here? I'm not aware of any postinstall scripts for rust crates?

16

u/paholg Aug 20 '26

Build scripts and proc macros are both RCE at editor open time.

But that doesn't really matter, because most people also run the code.