Skip to content
tusharonlyPublic

About

Android app that scans your installed apps for publicly exposed backend data — Firebase (Remote Config, Firestore, Realtime Database, Storage) and Supabase.

Topics

Resources

Stars

76 stars

Watchers

0 watching

Forks

Repository files navigation

Keyhole icon

Keyhole

See what your apps leave open.

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.

Platform Flutter License Downloads

Get it on GitHub

What it checks · Install · How it works · Results · Responsible use · Contributing

The Keyhole home screen listing installed apps with a scan verdict on each; app names and icons are blurred

Real scan. App names, icons and identifiers are blurred, since publicly flagging someone's unfixed app would be the opposite of the point.

The idea

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.

What it checks

Firebase

  • Remote Config, values anyone can fetch
  • Cloud Firestore, collections you can read without signing in
  • Realtime Database, open reads on the .json endpoint
  • Cloud Storage, buckets you can list files from

Supabase

  • Tables left readable because Row Level Security is off
  • A service_role or sb_secret key shipped inside the app, which is game over on its own, since that kind of key ignores every rule

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.

How it works

1. Read the keys

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.

2. Ask the backend

For whatever it finds, it sends one read only request to that service, just enough to see whether an unauthenticated stranger gets in.

3. Show the verdict

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.

Why Keyhole

It reads, and nothing more

Every probe is read only and shallow by design. It confirms a service is open without touching, changing, or hoarding the data behind it.

It shows you the real thing

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.

It points at the fix

Every finding links straight to the vendor's docs on how to close that specific hole.

It stays out of the way

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.

A Keyhole app detail page with the per-service breakdown; the app name and icon are blurred

Install

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

Reading the results

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

Please use it responsibly

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.

Contributing

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.

License

GPLv3 © 2026 Tushar Ghige.

Built by Tushar

About

Android app that scans your installed apps for publicly exposed backend data — Firebase (Remote Config, Firestore, Realtime Database, Storage) and Supabase.

Topics

Resources

Stars

76 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages