Security context

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

facebook/watchman
main @ d4983d6
14
Fixes
0
CVEs
HIGH
Peak severity
42.9%
Coverage
Highlights
Buffer Overflow: 2 prior fixes. Scrutinize any change in this area.
and: most-fixed (1 issue). Treat as high-risk during review.
10 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.

Buffer Overflow: Multiple buffer overflows were fixed in BSER deserialization and path handling; memory-safety bugs in these hot paths are likely to recur if bounds checks or dynamic buffers are not enforced.
Memory Corruption: Unsafe json_unpack and exception_wrapper usage caused memory corruption; these patterns may appear elsewhere in query parsing or client connection handling.
Privilege Escalation / Authorization Bypass: Peer-credential checks were added to gate state-changing commands; any new command or socket path must enforce the same ownership check to avoid bypass.