Security context

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

m4b/goblin
master @ dca2e75
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Out-of-bounds Read: 2 prior fixes. Scrutinize any change in this area.
src/pe/debug.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.

Out-of-bounds Read: The PE TLS parser was vulnerable to an integer overflow that bypassed bounds checks during slice indexing, which could lead to an out-of-bounds read or process panic when handling malformed PE binaries. Future modifications to TLS parsing must strictly validate calculations.
Out-of-bounds Read: The PE debug directory parser lacked proper validation of offset arithmetic when extracting POGO data, allowing an integer overflow to trigger an out-of-bounds memory access or panic. Future directory parsers must adopt similar arithmetic validation patterns.