I'm working on this React, Redux, Google Auth, Firebase / Firestore app. I'm fairly new to React, so I basically just modified code I made from doing a clone of a social site tutorial from YouTube.
Everything worked fine on my tutorial project and I never got any of these warnings even after deploying or testing online.
I started modifying the code for my new use case which is basically a simple CRUD tool for my business. Just some input fields, with the ability to upload up to 2 files to firebase storage and then display those uploaded documents in iframes alongside the other values from inputs. I got a basic implementation working and I wanted to show my partner. After I deployed the site to firebase, I logged into the app on our custom domain and everything was fine. I created a couple dummy documents with the app and in the middle of creation of the second document / upload, the screen goes red with a:
!DANGEROUS Deceptive Site Ahead WARNING! - Attackers on firebasestorage.googleapis.com may trick you into doing something dangerous like installing software or revealing your personal information.
I was really surprised by this. I clicked ignore, and everything was working properly. The strange thing is, this same "Dangerous!" Security Warning started occurring simultaneously on my localhost server that was the same as the deployed version but had never generated these warnings previously.
I've tried finding relevant info on what could be causing this but have not been successful.
I didn't know what else to do, so I started "reporting a detection problem" with requests for any kind of guidance in troubleshooting this issue. I also reached out to firebase support who once they finally got back to me, basically said this issue was "out of scope" as it was an issue with Chrome - although this warning is occurring on other browsers.
I didn't know what I was going to do. I couldn't figure out what direction to go in to resolve this issue, and then without me modifying anything the warnings just went away. And they stopped showing up for 3 days. I thought, it must have just been some type of automatic security feature that flags new firebase apps with certain types of functionality until they can be analyzed as non-malicious or something along those lines. Confused but relieved I continued working.
And then while creating a test document several days later, the screen went red again and the same security warning appeared and persists. This warning only appears after logging in via google auth and being redirected to an authenticated section of the app.
Does anyone know what could be causing this?
Any advice or troubleshooting tips are greatly appreciated!