An Android app that scans the apps on your phone for backend data that is sitting open to the public.
Firebase and Supabase, checked in a tap.
What it checks · Install · How it works · Results · Responsible use · Contributing
Real scan. App names, icons and identifiers are blurred, since publicly flagging someone's unfixed app would be the opposite of the point.
A lot of apps talk to Firebase or Supabase using keys that are baked into the APK. Those keys are meant to be public, because the app needs them to run. The thing that actually keeps the data safe is the security rules on the server. When nobody sets those rules properly, and the quickstart "test mode" rules let everyone in, anyone who pulls the keys out of the app can read the data straight from the backend.
Keyhole does the tedious part of noticing this across every app you have installed, instead of you checking them one by one.
|
|
Every check only reads. It grabs a single record, a short list of names, or the top level keys, which is enough to show the door is open. It never writes anything and never downloads a whole dataset. The point is to spot the problem, not to make it worse.
| It opens each installed APK and scans the bytes for anything that looks like a backend key or URL. This runs on background threads, so a phone full of apps still gets through quickly. | For whatever it finds, it sends one read only request to that service, just enough to see whether an unauthenticated stranger gets in. | It reads the reply, open, refused, or no clear answer, and sums it up into a single verdict for the app, with the exposed data ready to view. |
|
Every probe is read only and shallow by design. It confirms a service is open without touching, changing, or hoarding the data behind it. When something is exposed, you can open it and read the actual values as a list, a table, or raw JSON, and copy anything you need for a report. Every finding links straight to the vendor's docs on how to close that specific hole. Results are saved between launches, only changed apps get scanned again, and a check that could not reach the network is retried later instead of being called safe. |
|
Download the latest APK from the releases page and open it on your phone. Android will warn you about installing from outside the Play Store, which is normal for a sideloaded app.
Build it from source instead
You need Flutter set up and a device or emulator connected.
git clone https://github.com/tusharonly/keyhole.git
cd keyhole
flutter pub get
flutter run # run it on the connected device
flutter build apk # or produce an installable APK| Label | What it means |
|---|---|
| Exposed | Anyone with the app's public keys can read this service |
| Secure | The service refused the unauthenticated request |
| Could not check | The request never got a clear answer, usually offline or rate limited, so it is retried later |
| Incomplete | A backend was found, but not everything needed to test it was |
| No backend | No Firebase or Supabase credentials were found in the app |
This is for checking your own apps, doing security research, and giving developers a heads up when something of theirs is wide open.
If you find an exposed app that is not yours, tell the people who built it and point them at the fix. Look at only as much as you need to be sure it is real, and do not hold on to the data. Poking at services you have no permission to touch can be against the law where you live, so do not do that.
Issues and pull requests are welcome. This is a small side project, so replies might take a while. If you add a check for another backend, keep the probes read only and shallow like the rest.
GPLv3 © 2026 Tushar Ghige.
Built by Tushar