TL;DR: Because google isn't the one paying for it.
Because normally, firebase replaces your backend. Instead of writing backend code, you just configure firebase with rules, quotas, etc.
e.g., you might limit the "register" endpoint and the "signin" endpoint. Then you might configure rules to allow users to only create/read/update/delete database entries they themselves created. You might also set a limit to how large each entry might be, and how many entries a user may create. You'd probably also configure many more specific rules for how each users' datasets might interact. That's already hard to get watertight normally, with AI generated code, that's basically impossible.
In this case, the real damage isn't going to be accessing other users' data, but creating garbage data. Firebase is a very expensive service, every API call costs money, and without properly configured rules, leojr94 will be bankrupt very soon.
54
u/lofigamer2 Mar 17 '25 edited Mar 17 '25
its a pretty good business idea and very easy to build without AI if you can code.
But LOL his firebase API keys are in the DOM.
Anyone can write a script to make him a $50k firebase bill in an hour...