regexfn is vulnerable to regular expression denial of service. The vulnerability exists in isEmail
function in index.js
because the emails are not properly validated with sufficient regular expression complexity which allows an attacker to send crafted invalid emails causing a denial of service.