Security context

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

jetbrains/exposed
main @ 31a6193
4
Fixes
33
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
SQL Injection: 4 prior fixes. Scrutinize any change in this area.
src/kotlin/sql: most-fixed (2 issues). Treat as high-risk during review.
4 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.

SQL Injection: Insecure SQL generation and direct compilation allowed arbitrary command injection through unparameterized query execution pathways. Fixing this required standardizing globally on prepared statements via Connection.prepareStatement.
SQL Injection: Insert statements skipped expression parameters during parameter mapping rather than registering arguments safely through QueryBuilder, which could allow arbitrary SQL payloads nested in insert expressions.
SQL Injection: Improper quoting of qualified database identifier names allowed unescaped strings (such as dots inside names) to break out of identifier quotes and execute arbitrary database commands.