ua-parser / uap-core

The regex file necessary to build language ports of Browserscope's user agent parser.
Other
752 stars 451 forks source link

Add ReCheck to CI? #602

Open masklinn opened 4 weeks ago

masklinn commented 4 weeks ago

Commit 6e65445 modified a bunch of regexes to try and implement redos mitigation, but without a lot of experience it can be hard to intuit that a regex is sensible (especially to polynomial attacks as they tend to be a bit subtle).

Since then, tools have appeared to try and find out if regexes are sensible to the issue (using both fuzzing and modelling).

https://makenowjust-labs.github.io/recheck/ is available as a javascript & scala library and should be reasonably easy to integrate into a CI script.