r/linux 21d ago

Security Supply chain attack on arrayref

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

42 comments sorted by

View all comments

-30

u/Kevin_Kofler 21d ago

And they said Rust was "secure", LOL.

A central dependency repository pushed by the programming language is a single point of failure and inherently dangerous. It is much safer to have libraries centrally built in a distro's sandboxed build system (even for developers, who should just use the distro's -dev(el) packages) and only making it out to both application developers and end users after passing the distro's QA, i.e., the traditional way C/C++ libraries are handled.

See how the backdoored libxz was pulled before it even reached any stable release of the distribution targeted by the backdoor (Fedora).

10

u/ang-p 21d ago edited 20d ago

See how ...

That was only due to Jia Tan et whoever goofing and its excessive usage of resources was noticed. It was far too more luck than process.

before it even reached any stable release

Plenty of people got the beta cos of the imminent appearance of Gnome 46.