DEV Community

Cover image for I Built an Android App to Audit Third-Party Permissions β€” Here's What I Found
Mohammad Shams
Mohammad Shams

Posted on

I Built an Android App to Audit Third-Party Permissions β€” Here's What I Found

Hey everyone πŸ‘‹

As part of my personal shift from Android development into cybersecurity, I wanted to better understand how apps handle user privacy β€” especially when it comes to granted permissions.

So, I built a simple Android tool that scans installed third-party apps and displays which permissions they’ve actually been granted.


πŸ” What the App Does

This app:

  • Lists only third-party apps (no system clutter)
  • Shows granted permissions only β€” not requested
  • Categorizes apps based on access types (Camera, Location, etc.)
  • Has a built-in search barr to quickly find suspicious apps
  • Uses Material Design with a clean UI

πŸ“± Why I Built It

I was surprised by how many apps quietly hold permissions I forgot I gave them β€” especially older ones I rarely open.

Some apps had:

  • Full access to contacts ☎️
  • Camera permission without photo features πŸ“·
  • Location access while never showing a map 🧭

That felt… wrong.

So this tool was my way to expplore how user-granted permissions really work in practice β€” and how little visibility Android gives you out of the box.


πŸ› οΈ Tech Used

  • Java + Android SDK (no external libs)
  • PackageManager API
  • RecyclerView with live filtering
  • Target SDK 33 (privacy-safe, modern)

πŸ”— GitHub Repo:

πŸ‘‰ Check out the code here

Feel free to fork, test, or suggest improvements!


πŸ€” What I Learned

  • Android permission handling is more fragmented than I thought
  • Some β€œgranted” permissions are inherited silently from package updates
  • Categorizing apps by permision type actually helps understand risk

πŸ™Œ Final Thoughts

This was my way of applying old Android skills to a new path in mobile privacy and scurity. If you're curious about app behavior or want to audit your own phone, this might be a fun project to try or contribute to.

If you have suggestions (or want to break it πŸ˜…), let me know!

Cheers,

Mohammad

Top comments (0)