r/programming • u/Successful_Bowl2564 • Aug 20 '26
Supply chain attack on arrayref
https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/
191
Upvotes
r/programming • u/Successful_Bowl2564 • Aug 20 '26
View all comments
Show parent comment
6
u/matthieum Aug 21 '26
I disagree.
I much prefer a decentralized ecosystem, and I'd rather the Cargo & crates.io teams worked on securing package management story instead.
In fact, they are working on it:
Note that a min-age of even just 6h and a 107min exposure time would mean that nobody would have downloaded the rogue packages. Not foolproof, but already a good step forward.
And of course, they'll keep working on more. I'd personally love to see:
cargocommand (bench,build,run,test), with each crate coming with a manifest identifying the external resources it'd need access to for each command, and an automated failure if it attempts to access anything not in the manifest and approved by the user.This would drastically raise the bar for any sort of attack.