pksunkara / inflect

custom inflections for nodejs
MIT License
229 stars 18 forks source link

Audit vulnerabilities detected in the i project on Tag: v0.3.6 #33

Closed mahirkabir closed 3 years ago

mahirkabir commented 3 years ago

Issue: We detected vulnerable dependencies in your project by using the command “npm audit”:

npm audit report

diff <3.5.0 Severity: high Regular Expression Denial of Service - https://npmjs.com/advisories/1631 fix available via npm audit fix --force Will install vows@0.8.3, which is a breaking change node_modules/diff vows 0.6.4 - 0.8.2 || 0.9.0-rc1 - 0.9.0-rc3 Depends on vulnerable versions of diff node_modules/vows

2 high severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Questions: We are conducting a research study on vulnerable dependencies in open-source JS projects. We are curious:

  1. Will you fix the vulnerabilities mentioned above? (Yes/No), and why?:
  2. Do you have any additional comments? (If so, please write it down):

For any publication or research report based on this study, we will share all responses from developers in an anonymous way. Both your projects and personal information will be kept confidential.

Description: Many popular NPM packages have been found vulnerable and may carry significant risks [1]. Developers are recommended to monitor and avoid the vulnerable versions of the library. The vulnerabilities have been identified and reported by other developers, and their descriptions are available in the npm registry [2].

Steps to reproduce:

Suggested Solution: Npm has introduced the “npm audit fix” command to fix the vulnerabilities. Execute the command to apply remediation to the dependency tree.

References:

  1. 10 npm Security Best Practices. https://snyk.io/blog/ten-npm-security-best-practices/.
  2. npm-audit. https://docs.npmjs.com/cli/v7/commands/npm-audit.
pksunkara commented 3 years ago

First of all, vows is a dev dependency. Second of all, doing npm audit gave me 0 vulnerabilities on a fresh node_modules folder.