Security context

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

contain-rs/bit-vec
master @ cd5b439
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Memory Corruption: 2 prior fixes. Scrutinize any change in this area.
vec/src/lib.rs: 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.

Memory Corruption: Deserialization lacks exact storage length vs nbits validation, allowing inconsistent data to produce out-of-bounds access via get_unchecked. Two separate fixes address this same root cause, indicating a persistent risk if validation is bypassed or incomplete.