News for hackers. Stuff that matters.
Re:Create a web app from scratch in under 5 minutes with Met... by bretthoerner on Thursday February 07, 2013 @02:02PM (#5183882)
I don't understand this argument, unless you include things like gem, pip, npm, etc.

`pip install foobar-py` runs a Python setup script, which can do anything bash can. Do you inspect all of those, and comment about their insecurities on HN?

Re:Create a web app from scratch in under 5 minutes with Met... by sergiosgc on Thursday February 07, 2013 @02:08PM (#5183917)
This method makes you vulnerable to attacks that change the script being run. DNS spoofing, HTTP proxy hacking or hacking of the source server itself.

Good package management systems use digital signatures to ensure that the original package wasn't tampered with. Not that hacking of the central repositories never happened, but it's a major (and thus infrequent) event.

Re:Create a web app from scratch in under 5 minutes with Met... by timdorr on Friday February 08, 2013 @12:32AM (#5186469)
But I know for at least gem and npm, while they support signing, they are not used in practice. And those two repositories are used by a large number of people browsing this site.
Re:Create a web app from scratch in under 5 minutes with Met... by ohazi on Thursday February 07, 2013 @02:08PM (#5183916)
Don't these generally do some sort of cursory signature check?
Re:Create a web app from scratch in under 5 minutes with Met... by lotyrin on Thursday February 07, 2013 @04:31PM (#5184616)
Against a signature they fetched how? Over HTTPS?

Just because this style makes you think about it harder, doesn't mean it's less secure. It's the simplest and best case.