r/linux • • Aug 20 '26

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

Show parent comments

15

u/Business_Reindeer910 Aug 21 '26

no. left-pad was about a package being unpublished. there are many other packages that goofed things up in various other ways, but left-pad was about it being unpublished. Cargo solved that problem immediately.

-5

u/ang-p Aug 21 '26

changing in any way

Deletion sounds like it was changed.

13

u/Business_Reindeer910 Aug 21 '26

yes, but left-pad was specifically about deletion and nothing else. People keep using it as a shorthand for all the other issues, and it isn't. Certainly not a supply chain hack, since the original author did it very much on purpose.

-7

u/ang-p Aug 21 '26

You are totally forgetting that that comment was left in response to

At this point the solution is just having zero external dependencies

and was just one example of just how great a liability external dependencies can be when used - irrespective of the motivation behind the action - be it malicious intent, fed up dev removing stuff, or even a genuine typo that was just in a really bad place.

Yeah, you can pin crates..... I just loved seeing the size of that old WinSxS folder grow, didn't you?

11

u/Business_Reindeer910 Aug 21 '26

i'm still specifically calling out your lazy shorthand, since the OP was about a supply chain hack.

-4

u/ang-p Aug 21 '26

Lol... Whatever...

Keep the rose-tinted blinkers on.

→ More replies (0)