Security context

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

kpdecker/jsdiff
master @ bf227c1
2
Fixes
1
CVEs
HIGH
Peak severity
Highlights
ReDoS: 2 prior fixes. Scrutinize any change in this area.
src/patch/parse.ts: most-fixed (2 issues). Treat as high-risk during review.
0 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: Adversarial input containing crafted filename headers or line break characters can trigger catastrophic backtracking in the patch parser's regular expressions, leading to a complete Denial of Service (DoS) of the consuming process. This vulnerability is publicly tracked under CVE-2026-24001.