Security context

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

pest-parser/pest
master @ b24fa55
1
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Memory Safety: 1 prior fix. Scrutinize any change in this area.
pest/src/position.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Memory Safety: Unsafe instantiation of the Position struct without boundary and UTF-8 validation could lead to out-of-bounds memory access and undefined behavior during parsing. Ensuring that constructors validate these constraints is essential to preserving Rust's safety guarantees.