Having used Firebase BaaS for quite sometime I am wary of the fact that REST API calls can lead to data theft and or huge data downloads by prying eyes..
Even though the rules put forth in the Firebase rules help in avoiding most of the use case problems a simple issue is that allowing users to read part of the database without authentication can surge the data usage if the end user uses malicious code to off load the entire node data using REST API calls.
Case in point: This is the recent Tic-Tac game unveiled in GoogleIO2017 which uses Firebase https://tictactoe-io2017.firebaseapp.com/ although only authenticated users can play the game a simple REST API call https://tictactoe-io2017.firebaseio.com/games.json can retrieve all the game details from the beginning until now.., weighing on the usage charges for the developer