Security context

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

chalk/ansi-regex
main @ ff37845
2
Fixes
1
CVEs
HIGH
Peak severity
100.0%
Coverage
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 project has repeatedly suffered from high-severity Regular Expression Denial of Service vulnerabilities where complex ANSI escape sequences trigger catastrophic backtracking when matched against maliciously crafted strings.