Security context

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

tidwall/gjson
master @ 7d8b382
1
Fixes
4
CVEs
HIGH
Peak severity
Highlights
Memory Corruption: 1 prior fix. Scrutinize any change in this area.
gjson.go: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Denial of Service: Inefficient regular expression processing during query evaluation allows remote attackers to cause resource exhaustion (ReDoS) via crafted inputs.
Denial of Service: Improper slice index validation during path parsing allows remote attackers to trigger runtime panics (index out of range) via malformed GET requests.
Memory Corruption: Misuse of Go's unsafe package when casting between string and slice headers can lead to undefined behavior or memory corruption during read operations.