question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please consider using NVD for npm packages

See original GitHub issue

If I understand correctly, Dependency Check uses only NSP for checking npm packages. The following command produces a report which refers only to advisories provided by Node Security Project:

${OWASP_DEPENDENCY_CHECK_HOME}/bin/dependency-check.sh --project myproject --out dependency-check --scan package.json

But if NSP analyzer is disabled, then you’ll get an empty report:

${OWASP_DEPENDENCY_CHECK_HOME}/bin/dependency-check.sh --project myproject --out dependency-check --scan package.json --disableNSP

NVD contains CVEs reported against npm packages, for example:

This case is covered by the advisory from Node Security Project. But there may be issues which is not covered by Node Security Project. Furthermore, Node Security Project recently joined nmp, Inc. The advisories are still there, but I am not sure how Node Security Project is going to work in future.

It might make sense to update Dependency Check to be able to use NVD for checking npm packages.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
0x7fhcommented, Jul 4, 2018

NPM Inc. announced to close NSP in September 2018. How will the dependency-checker behave from September on regarding node modules?

1reaction
westlakemcommented, May 1, 2018

it appears NSP was acquired by NPM, so we’re getting a [ERROR] api.nodesecurity.io now in the logs. Any ideas moving forward on what to use?

Read more comments on GitHub >

github_iconTop Results From Across the Web

nvd-search - npm
Node module to fetch, cache, and search the NIST National Vulnerability Database.
Read more >
NVD - CVE-2022-23812 - Reddit
NVD - CVE-2022-23812 - A 9.8 critical vulnerability caused by a node library author adding code into his package which has a 1...
Read more >
How to leverage npm audit? - node.js - Stack Overflow
TLDR: Use the RSS feeds for vulnerability detection of libraries, provided by either NVD and Snyk, abiding to their designated licenses and ...
Read more >
Using CPEs for Open-Source vulnerabilities? Think Again
The fact that CPE's are distributed with CVE's in the NVD on the ... Most Node.js CPEs simply apply the package to both...
Read more >
How to find third-party vulnerabilities in your Java code
String) WARNING: Please consider reporting this to the maintainers of ... will be denied in a future release [INFO] Processing Complete for NVD...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found