There is also an architectural problem of the apps as far as I have tested: They expose the database even if server functions are used in addition. This causes specific risks: Forgotten or too weak row-level security (RLS) then leaves an open database. Moreover, RLS is often too limited to express real constraints, like more coarse-grained transactional guarantees, read-write isolation, multi-row guards, or fine-grained column-level protection.
I think it would be better to always have a solid (and secured) backend service and keep DB protected behind it.