Skip to main content
New Participant
August 24, 2021
Solved

GCP API keys exposed in app

  • August 24, 2021
  • 1 reply
  • 1468 views

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?

    Best answer by andrewrecroom

    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

    andrewrecroomAuthorAnswer
    New Participant
    August 24, 2021

    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.