Security context

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

biomejs/biome
main @ 5a2e65b
23
Fixes
1
CVEs
HIGH
Peak severity
38.9%
Coverage
Highlights
Denial of Service: 19 prior fixes. Scrutinize any change in this area.
biome_cli: most-fixed (1 issue). Treat as high-risk during review.
6 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.

Denial of Service: Parsers are highly vulnerable to infinite loops and panics when processing malformed user inputs. This risk represents a class of parser-level hangs where termination conditions or bounds checks are bypassed or missing entirely during lexing.
Denial of Service: Deeply nested or self-referential language structures can trigger infinite loops or exponential resource consumption during type flattening and inference. Implementing explicit depth limits is critical to prevent CPU exhaustion.
Denial of Service: Recursive AST analysis and call-graph traversal without tracking visited states or nodes frequently leads to infinite loops when encountering recursive functional patterns.