Find every regex in a codebase, and report which can be driven into catastrophic backtracking
-
Updated
Aug 25, 2026 - Rust
Find every regex in a codebase, and report which can be driven into catastrophic backtracking
Will it ReDoS? Finds the regexes in your code that one malicious input can hang your server with — and prints the exact evil string that does it. Parses, detects exponential/polynomial backtracking, proves it with a live timing. npx will-it-redos scan .
Meet one of the longest regexes ever made!
ReDoS (catastrophic-backtracking) regex safety check
Browser-based ReDoS checker. Detects catastrophic-backtracking patterns and synthesizes evil inputs to demonstrate the worst case.
Add a description, image, and links to the catastrophic-backtracking topic page so that developers can more easily learn about it.
To associate your repository with the catastrophic-backtracking topic, visit your repo's landing page and select "manage topics."