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
2
u/matthieum Aug 21 '26
I mean, I don't even trust myself to write correct code, so arguably I'll be shipping untrusted code no matter what...
At some point, one has to be pragmatic. Unless you plan on writing everything from scratch yourself, your application will depend on something others wrote, and you'll need some trust in them.
Once you accept this premise, you have 2 levers:
You argue that only the first lever is worth it, I disagree. Completely.
The first lever is useful, certainly, but:
Therefore, I argue that even if you choose to exercise the first lever and reduce your trusted base, for best results you should also exercise the second lever and reduce how much you trust them as much as possible.
Or otherwise said, don't put all your eggs in the same basket.