email-validator
email-validator copied to clipboard
the regex failed vulnerability check ?
I did a vulnerability test of the regex.
- it failed in https://www.npmjs.com/package/safe-regex
- 'Invalid' in https://www.npmjs.com/package/vuln-regex-detector, I don't know why it's invalid, will follow up.
Should I worry about the vulnerability of the regex used in the package?
Thanks!
It's a bit late to reply, but I found that
safe-regexis false positive on this regex because it has nested repetitions while it is actually safe.vuln-regex-detectorreports everything as invalid as the server is down (davisjam/vuln-regex-detector#72). Doing real testing by executing the perl script directly reports the regex as safe.
Disclaimer: I'm not a security expert.