Security context

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

dolthub/dolt
main @ 4f81841
87
Fixes
0
CVEs
HIGH
Peak severity
37.8%
Coverage
Highlights
Denial of Service: 36 prior fixes. Scrutinize any change in this area.
go/cmd/dolt/commands/sqlserver/server.go: most-fixed (8 issues). Treat as high-risk during review.
34 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.

Auth Bypass: Bypasses in branch control validation occurred due to cache poisoning and failure to enforce write permissions across specialized systems like system tables, conflicts tables, and custom administrative procedures.
SQL Injection: Multiple command-line operations (stash, conflicts cat, show, diff, commit) executed raw SQL queries built using unescaped string interpolation rather than utilizing parameterized query binding.
Auth Bypass: The remote API suffered from authentication and privilege validation issues, including failure to parse client credentials on the session, incorrect wildcard host mapping, and improper password salting during comparison.