In my frontend react project I exported a firebase instance :
firebaseApp.js
import * as firebase from "firebase/app";
import "firebase/auth";
import "firebase/storage";
export default firebase.initializeApp({
... <props>
});
Whenever I need to use firebase in my project, I do this :
import firebaseApp from "../firebase/firebaseApp";
[...]
await firebaseApp.auth().signInWithEmailAndPassword(email, password)
Knowing that Javascript is put client side as this is a frontend project, is there a way for people to open the browser console, access my instance of firebase and call for example :
firebaseApp.auth().createUserWithEmailAndPassword(email, password);
which will result in creating users without backend authorization, and allow bots to create users ?
Iow, can someone access a module instance from the browser and play with it ?