-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
Motivation ("The Why")
In some environments (aka corporate) the NPM Registry might be behind a firewall like Nexus Firewall (which automatically blocks vulnerable packages and responds to npm with status code 403. It would be nice to have the ability to query for vulnerabilities before installing a package.
Example
npm audit <package name> --remote
This would probably not have to report back a detailed report, a summary of vulnerabilities (low, moderate or high) would probably be enough.
How
Query npm audit for a not yet installed, single package.
Current Behaviour
There is nothing I am aware of.
Desired Behaviour
Report a summary of vulnerabilities for a not yet installed package back.
foo package security summary:
0 high vulnerabilities
0 moderate vulnerabilities
1 low vulnerability
References
- n/a
Metadata
Metadata
Assignees
Labels
No labels