Security context

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

nix-rust/nix
master @ fb79966
12
Fixes
0
CVEs
CRITICAL
Peak severity
75.0%
Coverage
Highlights
Memory Safety: 6 prior fixes. Scrutinize any change in this area.
src/sys/socket/mod.rs: most-fixed (3 issues). 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: Critical buffer overflow in getgrouplist due to incorrect capacity calculation; direct memory corruption risk.
Buffer Overflow: Buffer overflow in recvfrom from incorrectly sized sockaddr buffer; common socket API.
Memory Safety: Multiple memory safety issues in socket APIs: recvmmsg/sendmmsg UB and cmsg decoding alignment/length bugs.