News for hackers. Stuff that matters.
Re:Detecting the use of “curl – bash” server side by coldtea on Wednesday April 20, 2016 @10:24AM (#11534581)
>Even there though all it does is move the problem one step away. Most npm packages have dependencies (and quite a few of them), you have no way of knowing whether the author of the main package did the checks you describe for their dependencies...

That's the nice thing: you don't need to. You just need to trust that the main package works well enough -- and you get that from the fact that it is in widespread use (many downloads, watchers, stars, posts, etc).

Re:Detecting the use of “curl – bash” server side by raesene6 on Wednesday April 20, 2016 @11:20AM (#11535055)
errrm and if a dependency is untrustworthy it can execute code on your system at install time...

the fact that no-one else is checking and you are therefore in the same boat as other compromised people might not be that much of a consolation

Re:Detecting the use of “curl – bash” server side by coldtea on Wednesday April 20, 2016 @08:41PM (#11538857)
The thing is, if thousands use it, then you'd know if it's unsafe...

Beyond that, yeah, nothing is absolutely certain in life except death and taxes...

Re:Detecting the use of “curl – bash” server side by raesene6 on Thursday April 21, 2016 @07:20AM (#11541105)
in security where breaches can cost a lot of money, relying on heavy use as an indication of trustworthiness may not be a great idea.

For example OpenSSL was and is used by lots of people, this has not stopped it having a lot of security problems...

And true once the vulnerabilities get published you get to know about the problems more quickly but then in a world of targeted attacks and professional exploitation that might not be great comfort..

Re:Detecting the use of “curl – bash” server side by tamana on Thursday April 21, 2016 @12:36AM (#11539724)
This assumption fails in the network connected world where a program can download custom instructions after installation.
Re:Detecting the use of “curl – bash” server side by coldtea on Thursday April 21, 2016 @02:39AM (#11540088)
It doesn't fail, it's still as usable as ever -- just not infallible, which nothing is anyway.

The dynamics of something with a larger user base being more trustworthy don't change because we're on the internet. It's a simple network (no pun intended) effect.

If the program "can download custom instructions after installation" then a large user base still means that users will be bound to find it sooner or later (and make it public/fix it) and it makes it less likely to be you (because you're 1 from 200,000 downloading it, not 1 of 20 or 200).