Re:Building HTML5 Apps with Yeoman and Backbone
by Wintamute on Saturday May 11, 2013 @08:48AM
(#5690454)
A quick word of warning for anyone following this guide. You should never sudo npm install. That's giving root privileges to anyone that care's to upload code to the npm package registry. npm should work fine without sudo.
[ Parent
| on HN ]
Re:Building HTML5 Apps with Yeoman and Backbone
by sneak on Saturday May 11, 2013 @09:40AM
(#5690551)
Furthermore, it doesn't appear that any of these fad language repositories do any sort of package signing, so you're vulnerable not just to the people who upload their own code, but anyone who may compromise the mirrors, too, because even if you trust the source, there's no way of verifying the code hasn't been modified on the mirror.
See also: http://cristianobetta.com/blog/2013/02/02/ruby-gems-are-not-...
Re:Building HTML5 Apps with Yeoman and Backbone
by SanderMak on Saturday May 11, 2013 @03:17PM
(#5691769)
And even the established ones which do require signing are not really trivial to use correctly: http://branchandbound.net/blog/security/2012/08/verify-depen...
Re:Building HTML5 Apps with Yeoman and Backbone
by sgrove on Saturday May 11, 2013 @11:23AM
(#5690872)
I believe Clojars at least supports package signing, if not requires it. Was extremely useful in a code audit recently.
Re:Building HTML5 Apps with Yeoman and Backbone
by contrahax on Sunday May 12, 2013 @04:31AM
(#5693612)
> fad language
lol
Re:Building HTML5 Apps with Yeoman and Backbone
by vixen99 on Saturday May 11, 2013 @11:25AM
(#5690878)
No doubt I've nothing better to do but stare aghast at "care's to upload code". It's a matter of deep mystery to me that folk adept at using languages demanding absolute grammatical precision treat their native language so carelessly.
Re:Building HTML5 Apps with Yeoman and Backbone
by Wintamute on Sunday May 12, 2013 @05:58AM
(#5693763)
Hah. I just reread my comment and stared aghast at my own error. Languages requiring absolute grammatical precision fail to compile with errors, not so Hacker News comments sadly. There, I just solved your mystery for you :)
Re:Building HTML5 Apps with Yeoman and Backbone
by mistermumble on Saturday May 11, 2013 @02:28PM
(#5691542)
Two assumptions you're making:
1) That English is the poster's native language
2) the poster did not use auto-correct