Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 352 Bytes

detect-non-literal-regexp.md

File metadata and controls

7 lines (4 loc) · 352 Bytes

Detects "RegExp(variable)", which might allow an attacker to DOS your server with a long-running regular expression (security/detect-non-literal-regexp)

⚠️ This rule warns in the ✅ recommended config.

More information: Regular Expression DoS and Node.js