I'm not very familiar with Firebase. In what way is it broken and what issues does it cause?
There are security rules in Firebase to prevent this, but bolt-on security models that the user has to explicitly enable haven't shown to work.