Highlights
Auth Bypass: 20 prior fixes. Scrutinize any change in this area.
crates/client-api/src/routes/database.rs: most-fixed (5 issues). Treat as high-risk during review.
29 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: Database operations (including SQL execution, subscription initialization, and database deletion) frequently failed to validate caller credentials or correctly apply Row-Level Security, allowing unauthorized access to protected tables.
Denial of Service: Unbounded JS/TS isolation state leaks, missing heap-limit callbacks, and lack of per-invocation handle scopes historically caused V8 engine runs to crash the parent host process through OOM memory exhaustion.
Denial of Service: The BSATN deserialization process lacked pre-allocation boundary checks on array capacities, enabling remote attackers to trigger instant out-of-memory crashes with malformed payloads.