Security context

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

guillaumegomez/sysinfo
main @ afa1159
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
src/linux/system.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: Unvalidated memory tracking from foreign function interfaces like ReadProcessMemory can result in buffer overflows or uninitialized memory leaks if the actual bytes read are not verified before resizing underlying vectors.
Denial of Service: Integer underflow during subtraction of monotonically tracked CPU times can cause panics in environments where temporal values unexpectedly skew or misalign.