Highlights
ReDoS: 11 prior fixes. Scrutinize any change in this area.
src/ua-parser.js: most-fixed (10 issues). Treat as high-risk during review.
9 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: Multiple regexes with unbounded quantifiers (.*, .+) and ambiguous patterns cause catastrophic backtracking on attacker-controlled User-Agent strings, leading to CPU exhaustion.
ReDoS: Multiple regexes flagged by safe-regex and manually identified as unsafe in device/OS detection logic, patched via generic hardening, indicating a broad class of vulnerable patterns.
ReDoS: Client Hints header values are processed with strip/split/stripQuotes without input length limits, allowing oversized inputs to trigger expensive regex operations.