Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

sindresorhus/semver-regex
main @ 67674dc
3
Fixes
2
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
ReDoS: 3 prior fixes. Scrutinize any change in this area.
index.js: most-fixed (3 issues). Treat as high-risk during review.
3 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 project has faced multiple critical revisions to its core regex pattern to mitigate exponential backtracking, driven by inefficient quantifiers and lookahead assertions. Attacks can easily trigger CPU exhaustion via malicious input strings.