Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Potential catastrophic backtracking #10002
One of the regexes in eslint is vulnerable to catastrophic backtracking.
@nzakas says this isn't a problem as used in eslint:
Perhaps a comment to warn future copy/pasters might be in order, however.
Here's a description of the problematic pattern and an attack string.