Use tools that automatically detect vulnerable dependencies
One Paragraph Explainer
Modern Node applications have tens and sometimes hundreds of dependencies. If any of the dependencies you use has a known security vulnerability your app is vulnerable as well. The following tools automatically check for known security vulnerabilities in your dependencies:
What Other Bloggers Say
From the StrongLoop blog:
…Using to manage your application’s dependencies is powerful and convenient. But the packages that you use may contain critical security vulnerabilities that could also affect your application. The security of your app is only as strong as the “weakest link” in your dependencies. Fortunately, there are two helpful tools you can use to ensure the third-party packages you use: nsp and requireSafe. These two tools do largely the same thing, so using both might be overkill, but “better safe than sorry” are words to live by when it comes to security…