by schwag09 · 6y ago · 0 comments
* https://blog.r2c.dev/2020/finding-python-redos-bugs-at-scale...
* https://blog.r2c.dev/2020/improving-redos-detection-with-dli...
The culmination of this work was a Python regex linter that could automatically detect ReDoS expressions with fairly high accuracy - Dlint's DUO138 rule: https://github.com/dlint-py/dlint/blob/master/docs/linters/D....
In my opinion, the best solution, as this article mentions, is to avoid the bug class altogether by using something like RE2 when possible. Nevertheless, I found ReDoS to be a really cool bug class at the intersection of computer science and software engineering.
No comments yet.