Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
andrew_recroom's avatar
andrew_recroom
Honored Guest
5 years ago
Solved

GCP API keys exposed in app

Hey folks, our app recently started failing security vulnerabilities testing due to "GCP API keys exposed in app", implying that somewhere in code is a hardcoded web client API key.  However, I haven't been able to locate any such issue in our app.  Is there a way to run these security checks locally or get more information on where or what exactly the exposed key(s) are?

  • I was able to determine that these failures come from some Firebase config files used on other platforms.  I can remove those configs from Oculus builds (which don't use Firebase), but that won't actually plug the security hole, as it will still be exposing those keys on the platforms that do use Firebase.  Seems like this is a Firebase problem now and not an Oculus one.

1 Reply

  • I was able to determine that these failures come from some Firebase config files used on other platforms.  I can remove those configs from Oculus builds (which don't use Firebase), but that won't actually plug the security hole, as it will still be exposing those keys on the platforms that do use Firebase.  Seems like this is a Firebase problem now and not an Oculus one.