pyt icon indicating copy to clipboard operation
pyt copied to clipboard

Suggestion: Detect regexes vulnerable to catastrophic backtracking

Open davisjam opened this issue 7 years ago • 1 comments

It doesn't look like your scanner checks for regexes vulnerable to catastrophic backtracking (-> REDOS).

To do that you could use some tools I built here. The underlying detectors incur dependencies (2 rely on Java, one relies on OCaml).

If dependencies are a problem, I am hosting a server that answers queries, see docs and code here. This requires shipping regexes to my server though.

davisjam avatar Apr 09 '18 16:04 davisjam

This is interesting 👍 Thanks for the idea

KevinHock avatar Apr 09 '18 18:04 KevinHock