Security context

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

servo/string-cache
main @ 1f420d9
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Use-After-Free: 2 prior fixes. Scrutinize any change in this area.
src/atom.rs: most-fixed (1 issue). 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.

Use-After-Free: Manual allocation via Box::into_raw/from_raw can invalidate pointers on reallocation, leading to dangling references and UAF.
Use-After-Free: Reference count overflow (fetch_add) can wrap to zero or negative, causing premature deallocation and UAF.