Highlights
ReDoS: 2 prior fixes. Scrutinize any change in this area.
index.js: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
ReDoS: The core regular expression is highly susceptible to catastrophic backtracking if overlapping repetition sequences or nested quantifiers are introduced while matching complex ANSI escape codes.