Firebase and Firebase Studio apps often ship with Firestore or Realtime Database rules that let anyone read and write. It happens because the quick-start rules work, so nobody changes them.
The rule to look for
In Firestore, allow read, write: if true; means any visitor can read and write that collection. In Realtime Database, ".read": true and ".write": true at the root do the same. Test mode rules that expire still leave a window open.
How to check from outside
Your Firebase config is in your frontend and is public by design. The rules are what protect the data. Open the Rules tab in the console and read them.…