caelum0x ce4fe583fb fix(product-analytics): cap SQL answers at 8 MB in the database and refuse value-inflating functions
A single query such as repeat(md5(x), 1250000) returned a 40 MB value that the
service read whole under its 192 MiB cap, so any console user could stop the
shared service. The running row size is now checked inside Postgres and the
query fails there past the cap; repeat, lpad and rpad are refused by the parser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 09:14:27 +03:00
..