I agree with your general take, but trusting people to do the right thing still doesn't mean I'm going to leave them unattended with my laptop signed in with a terminal to my production database open. (But cargo-crev is still not a solution)
-
-
Replying to @sgrif
I really should have put a disclaimer here with a big asterisk "for deps" Really it's more like you inviting someone to hang out at your house and not fuck things up, not locking your car.
1 reply 0 retweets 0 likes -
Replying to @mgattozzi @sgrif
Well, a crate can execute arbitrary code at build time: with a lot of tools and CLIs storing authentication keys or other sensitive data in home directories by default, the amount of bad stuff a rogue dependency could do is huge.
2 replies 0 retweets 1 like -
Replying to @pietroalbini @sgrif
I'm not saying it won't. I am saying that in the grand scheme of things it's lower on my priority list of security threats. My deps are not as likely to cause security issues in a service I write. It's my own code.
1 reply 0 retweets 0 likes -
Replying to @mgattozzi @pietroalbini
If your company's net worth is in the tens or hundreds of millions and you're processing sensitive information you should absolutely be investing in auditing your dependencies. For most shops this isn't worth the time, but it's unfortunate that bigcos don't invest in it either
1 reply 0 retweets 7 likes -
It's frustrating for me to see both sides of this argument, because IMO the people who don't need to care over-estimate the threat and the people who *do* need to care under-estimate it
1 reply 0 retweets 8 likes -
Replying to @sgrif @pietroalbini
Where I work I absolutely need to care, but in my own code outside of work
it's about your threat model. It's highly contextual. Just for the most part it's not to me as big of an issue and tools like cargo crev are just reactionary. It doesn't solve a problem.1 reply 0 retweets 0 likes -
-
If someone's takeaway from any of this is "dependencies are bad", they're just wrong (shocking take: person who maintains package registry thinks you should use packages from that registry)
1 reply 0 retweets 1 like -
Replying to @sgrif @pietroalbini
Yeah, unfortunately all I see is dependencies are bad, takes from the /r/rust crowd. It's to me just as bad as eliminate all unsafe from my code takes. It's just an extreme view that makes no sense
1 reply 0 retweets 0 likes
/r/rust is pretty toxic, I wouldn't put much weight in anything said there
-
-
Replying to @sgrif @pietroalbini
I don't really, the issue is that newcomers or whatever DO go there and might take this a bit more seriously than they should. Maybe even younger new programmers.
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.