Detects "RegExp(variable)", which might allow an attacker to DOS your server with a long-running regular expression (security/detect-non-literal-regexp
)
recommended
config.
More information: Regular Expression DoS and Node.js