safe-regex

detect possibly catastrophic, exponential-time regular expressions

safe-regex2

detect possibly catastrophic, exponential-time regular expressions

vm2

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules.