Security context

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

benfred/py-spy
master @ 32080cc
4
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Memory Corruption: 3 prior fixes. Scrutinize any change in this area.
src/binary_parser.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: Out-of-bounds slice read and arithmetic overflow when parsing binary headers with attacker-controlled offsets and sizes.
Memory Corruption: Subtraction overflow when computing segment offsets from ELF program headers, leading to incorrect memory access.
Memory Corruption: Reading process memory from an unvalidated interpreter address derived from symbols can dereference invalid locations.