News for hackers. Stuff that matters.
Re:Node.js security advisories by troygoode on Thursday September 05, 2013 @10:33AM (#6334436)
I like the idea of having a centralized repository of these advisories, but I need a better way of watching for changes for this to be effective. I was hoping that the Twitter feed would be that (I would just turn on SMS notification), but the Twitter feed is full of general low-value tweets like "Thanks @espreto for being our 1000th follower!". Perhaps a separate Twitter feed could be created (@nodesecurityadvisories?) that only tweets when new advisories are posted on the site?
Re:Node.js security advisories by viraptor on Thursday September 05, 2013 @10:42AM (#6334490)
I think the security checker from Sensio labs is the best approach to this. You can upload your composer file, which is really the list of packages you use and they'll check it against the known reports for various Symfony modules. It's got both the API and its own module with a CLI tool, so you can easily integrate it into monitoring. https://security.sensiolabs.org/

I really wish other projects had something like that (rubygems, pypi, etc.)

Re:Node.js security advisories by kibibyte on Thursday September 05, 2013 @12:55PM (#6335271)
There actually does exist one for Ruby. Check out gemcanary https://gemcanary.com/
Re:Node.js security advisories by gravis on Friday September 06, 2013 @04:33AM (#6339310)
and https://gemnasium.com (which supports npm as well)
Re:Node.js security advisories by atishay811 on Thursday September 05, 2013 @11:12AM (#6334644)
Can't this be made simpler. Something like a cli call npm vulnerable This could take the package.json and list which of my packages need to be upgraded or downgraded to be secure as per the known issues database.
Re:Node.js security advisories by malandrew on Thursday September 05, 2013 @03:02PM (#6336156)
it could also be run automatically when cd-ing into a directory by overriding the default cd

    cd() {
      builtin cd $*
      if [ -f "package.json" ] ; then
        npm check-vulnerabilities
      fi
    }
I reckon you could also use this with david[0] to check if packages are up to date.

[0] https://github.com/alanshaw/david

Re:Node.js security advisories by atishay811 on Friday September 06, 2013 @12:30AM (#6338670)
I did not mean outdated. npm outdated can do that. See https://npmjs.org/doc/cli/npm-outdated.html I was looking insecure version of the same through a public repo.
Re:Node.js security advisories by brokenparser on Thursday September 05, 2013 @01:31PM (#6335546)
That's brilliant, but the search operates on titles, the /package/:name route appears to be broken and there's no RSS. I give up.
Re:Node.js security advisories by nodejs-news on Thursday September 05, 2013 @11:18AM (#6334689)
At least a RSS stream will be needed ?!
Re:Node.js security advisories by state on Thursday September 05, 2013 @03:03PM (#6336162)
That connect vulnerability is pretty significant. Makes me pay attention despite the fact there's no way to syndicate the feed.
Re:Node.js security advisories by AsymetricCom on Thursday September 05, 2013 @12:57PM (#6335283)
How does node.js have security advisories? Isn't the fact that it's built on top of JavaScript kind of throw the idea of security out the window to start with? Shouldn't we start with JavaScript security advisories first?

Honest question, have you ever seen a public Javascript security advisory?

Re:Node.js security advisories by cleverjake on Thursday September 05, 2013 @02:20PM (#6335870)
>> Isn't the fact that it's built on top of JavaScript kind of throw the idea of security out the window to start with

No.

>> Shouldn't we start with JavaScript security advisories

Its a language, not a specific implementation of a language. Chromes javascript engine is what would have security vulnerabilities, no javascript itself.

This isn't security advisories for node itself, it is for node modules. the node security project is auditing all of the modules in npm for security issues, and posting about them there.

Re:Node.js security advisories by AsymetricCom on Thursday September 05, 2013 @02:37PM (#6335970)
>> Its a language, not a specific implementation of a language.

It's not even that, it's a dialect of ECMAScript.