Skip to content

Free tool · runs in your browser

Android app security checker

Drop in an APK to find debug builds, leaked keys, plain http and screens other apps can open. With a fix for each one. The file never leaves your device.

Your file stays with you

The app is opened and checked in your browser. Nothing is uploaded, so you can check an app before it’s released.

Finds leaked keys

Searches the code and assets for AWS, Stripe, OpenAI, GitHub and other secret keys, and passwords in config files.

Reads the manifest

Debug mode, backups, plain http, exported screens and services, target Android version and risky permissions.

Lists the servers it calls

Every web address in the app, yours first, with a link to check each server’s security.

What it checks

Not built in debug mode
A debuggable app lets anyone with a USB cable (or malware on the phone) attach a debugger, read its memory and data, and run code as the app.
No secret keys inside the app
Anything in an APK can be read: it’s a zip file, and tools turn the code back into readable Java in seconds. A secret key for AWS, Stripe or your own server inside the app is a key for anyone who downloads it.
All traffic encrypted (no plain http)
If the app may use plain http, logins and personal data can be read and changed on public Wi-Fi. Android blocks it by default since version 9, unless the app switches it back on.
Screens and services not open to other apps
An exported activity, service, receiver or content provider without a permission can be opened by any other app on the phone, which may skip your login screen or read your app’s data.
Signed properly for release
An app signed with the debug key (or only the old v1 scheme) can be replaced by a tampered copy, and Google Play refuses debug-signed apps.
Targets a recent Android version
Each Android version tightens security for apps that target it (encrypted traffic by default, stricter file and component access). Google Play also requires a recent target.
App data kept out of backups
With backups allowed and no rules, the app’s private files, including login tokens, are copied to cloud backups and can be pulled off the phone over USB.
Only the permissions it needs
Every permission is more data at risk if the app (or a library in it) is compromised, and some, like reading SMS or the call log, make Google Play reject the app unless it truly needs them.
No plain http addresses
An http:// address in the app is a request that can be read or changed on the way, if the app is allowed to make it.

How to check your Android app’s security

  1. 1Get the APK: from Android Studio (Build → Build APK), Flutter (flutter build apk) or your CI. For an app bundle (.aab), build a universal APK with bundletool.
  2. 2Drop it in the box above. It takes a few seconds, on your device.
  3. 3Fix the red items first: a debug build, a secret key or plain http are the ones attackers use.
  4. 4Check the servers the app calls with the website and API security checkers: the app is only as safe as its API.

The guide

How to fix each problem

What to change, with the settings for Android Studio, Gradle, Flutter and React Native.

Not built in debug mode

A debuggable app lets anyone with a USB cable (or malware on the phone) attach a debugger, read its memory and data, and run code as the app.

  1. Build the release variant, not debug: release builds aren’t debuggable unless you say so.
  2. Remove any android:debuggable="true" from AndroidManifest.xml, and check build.gradle doesn’t set debuggable true for release.
Android Studio
Build → Generate Signed App Bundle / APK → APK → release
Gradle (app/build.gradle)
android {
  buildTypes {
    release {
      debuggable false   // the default; just don’t set it to true
      minifyEnabled true
    }
  }
}
Flutter
flutter build apk --release
# or, for Google Play:
flutter build appbundle --release
React Native
cd android && ./gradlew assembleRelease

No secret keys inside the app

Anything in an APK can be read: it’s a zip file, and tools turn the code back into readable Java in seconds. A secret key for AWS, Stripe or your own server inside the app is a key for anyone who downloads it.

  1. Revoke and replace any secret key that was ever in an app you shipped: old versions stay on phones and in APK mirror sites.
  2. Keep secret keys on your server. The app logs in to your server, and your server calls AWS, Stripe, OpenAI or the email service with its own key.
  3. Keys that must be in the app (Google Maps, Firebase) should be restricted to your app’s package name and signing certificate, and to only the APIs it uses.
  4. Obfuscating (R8/ProGuard) or splitting a key into pieces doesn’t hide it; it only slows someone down by minutes.
Restrict a Google API key
Google Cloud Console → APIs & Services → Credentials → your key
  Application restrictions: Android apps → add package name + SHA-1 of the signing certificate
  API restrictions: Restrict key → only the APIs the app uses
Call a paid API through your server (Node.js)
// The app calls /api/translate with the user's login; only the server knows the API key
app.post('/api/translate', requireLogin, rateLimit, async (req, res) => {
  const r = await fetch('https://api.example-ai.com/v1/translate', {
    method: 'POST',
    headers: { Authorization: `Bearer ${process.env.AI_KEY}` },
    body: JSON.stringify({ text: req.body.text }),
  });
  res.json(await r.json());
});

All traffic encrypted (no plain http)

If the app may use plain http, logins and personal data can be read and changed on public Wi-Fi. Android blocks it by default since version 9, unless the app switches it back on.

  1. Use https:// for every server the app talks to.
  2. Remove android:usesCleartextTraffic="true" from the manifest. If one server really can’t do https yet, allow only that domain in a network security config.
  3. Don’t trust user-installed certificates outside <debug-overrides>.
res/xml/network_security_config.xml
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
  <base-config cleartextTrafficPermitted="false">
    <trust-anchors>
      <certificates src="system" />
    </trust-anchors>
  </base-config>
  <!-- only if you must, for one old server: -->
  <!-- <domain-config cleartextTrafficPermitted="true"><domain>legacy.example.com</domain></domain-config> -->
</network-security-config>
AndroidManifest.xml
<application
  android:networkSecurityConfig="@xml/network_security_config"
  android:usesCleartextTraffic="false"
  …>

Screens and services not open to other apps

An exported activity, service, receiver or content provider without a permission can be opened by any other app on the phone, which may skip your login screen or read your app’s data.

  1. For every activity, service, receiver and provider, set android:exported explicitly. Use false unless another app must open it.
  2. If other apps must use it, protect it with a permission (protectionLevel="signature" for your own apps), and treat everything it receives as untrusted.
  3. Content providers: exported="false" unless you share data on purpose; use FileProvider with grantUriPermissions for sharing files.
AndroidManifest.xml
<activity android:name=".SettingsActivity" android:exported="false" />
<service android:name=".SyncService" android:exported="false" />
<provider
  android:name="androidx.core.content.FileProvider"
  android:authorities="${applicationId}.fileprovider"
  android:exported="false"
  android:grantUriPermissions="true" />
Exported on purpose, for your own apps only
<permission android:name="com.example.permission.SYNC" android:protectionLevel="signature" />
<service android:name=".SyncService"
  android:exported="true"
  android:permission="com.example.permission.SYNC" />

Signed properly for release

An app signed with the debug key (or only the old v1 scheme) can be replaced by a tampered copy, and Google Play refuses debug-signed apps.

  1. Create an upload key once and keep it safe (a password manager, plus an offline backup). Losing it means you can’t update the app.
  2. Sign release builds with it, and let Google Play App Signing hold the final key.
  3. Keep APK Signature Scheme v2 and v3 on (the default in current Android Gradle Plugin versions).
Create an upload key
keytool -genkeypair -v -keystore upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
Gradle (app/build.gradle)
android {
  signingConfigs {
    release {
      storeFile file(System.getenv("KEYSTORE") ?: "upload-keystore.jks")
      storePassword System.getenv("KEYSTORE_PASSWORD")
      keyAlias "upload"
      keyPassword System.getenv("KEY_PASSWORD")
    }
  }
  buildTypes { release { signingConfig signingConfigs.release } }
}
Flutter (android/app/build.gradle)
// Flutter’s template has: signingConfig signingConfigs.debug
// Replace it with your release config (see docs.flutter.dev/deployment/android):
buildTypes {
  release { signingConfig signingConfigs.release }
}
Check a signed APK
apksigner verify --print-certs -v app-release.apk
# "CN=Android Debug" in the output means it’s debug-signed

Targets a recent Android version

Each Android version tightens security for apps that target it (encrypted traffic by default, stricter file and component access). Google Play also requires a recent target.

  1. Raise targetSdkVersion to the latest Android version (and compileSdk with it).
  2. Read Android’s behaviour changes for each version you skip, and test: most are about permissions, notifications and background work.
Gradle (app/build.gradle)
android {
  compileSdk 36
  defaultConfig {
    targetSdk 36
  }
}
Flutter (android/app/build.gradle)
defaultConfig {
  targetSdk = 36   // instead of flutter.targetSdkVersion, if that’s older
}

App data kept out of backups

With backups allowed and no rules, the app’s private files, including login tokens, are copied to cloud backups and can be pulled off the phone over USB.

  1. If the app keeps nothing the user would want back, switch backups off.
  2. Otherwise, say what’s backed up: leave out login tokens, keys and caches.
Switch backups off (AndroidManifest.xml)
<application android:allowBackup="false" … >
Or choose what’s backed up (Android 12+)
<!-- AndroidManifest.xml -->
<application
  android:dataExtractionRules="@xml/data_extraction_rules"
  android:fullBackupContent="@xml/backup_rules" … >

<!-- res/xml/data_extraction_rules.xml -->
<data-extraction-rules>
  <cloud-backup>
    <exclude domain="sharedpref" path="auth.xml" />
    <exclude domain="database" path="cache.db" />
  </cloud-backup>
  <device-transfer>
    <exclude domain="sharedpref" path="auth.xml" />
  </device-transfer>
</data-extraction-rules>

Only the permissions it needs

Every permission is more data at risk if the app (or a library in it) is compromised, and some, like reading SMS or the call log, make Google Play reject the app unless it truly needs them.

  1. Open the merged manifest in Android Studio (AndroidManifest.xml → Merged Manifest tab) to see every permission, including the ones libraries add.
  2. Remove the ones you don’t use. To drop one a library adds, use tools:node="remove".
  3. For SMS, call log, all-files and accessibility permissions, Google Play asks you to fill in a declaration form and usually refuses unless it’s the app’s core feature.
Remove a permission a library adds
<manifest xmlns:tools="http://schemas.android.com/tools" …>
  <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />

No plain http addresses

An http:// address in the app is a request that can be read or changed on the way, if the app is allowed to make it.

  1. Change each http:// address in the app to https://.
  2. If it’s your server, give it a certificate (free from Let’s Encrypt). If it’s someone else’s, check whether they offer https.
Find them in your code
grep -rn "http://" app/src lib/ --include=*.kt --include=*.java --include=*.dart --include=*.ts --include=*.js | grep -v "schemas.android.com"

Questions

Is my app uploaded anywhere?
No. The APK is opened by your browser and checked there, with code that runs on this page. Nothing about the app is sent to us or anyone else, so it’s safe for apps that aren’t released yet.
Can I check someone else’s app?
You can check any APK you have, the same way anyone can unzip one: it reads the file, it doesn’t attack anything. Testing the servers the app talks to is different: only do that for servers you own.
Does it work with Flutter, React Native and Kotlin apps?
Yes. The manifest checks are the same for every app. For keys and addresses, it reads Java and Kotlin code (DEX files), React Native’s JavaScript bundle, Flutter’s compiled Dart (libapp.so) and the assets. Code in other native libraries isn’t searched.
It found a Google API key. Is that bad?
Not by itself: Firebase and Google Maps need one in the app. What matters is that it’s restricted in Google Cloud Console to your app (package name and signing certificate) and to only the APIs it uses. An unrestricted key can be used by anyone, on your bill.
Can I check an app bundle (.aab)?
Not directly: a bundle is turned into APKs by Google Play. Build a universal APK from it with bundletool (bundletool build-apks --mode=universal), or upload the APK Android Studio builds. Split APK archives (.apks, .xapk) work.
Does a good grade mean my app is secure?
It means the common setup mistakes aren’t there. It can’t see how the app stores data at runtime, whether its login can be bypassed, or whether its API checks who’s asking. Test the API too, and for an app that handles money or health data, get a penetration test.
What about iPhone apps?
Not yet. iOS apps are encrypted by the App Store, so they can’t be checked the same way without a jailbroken phone.

More free tools

Building an app? Talk to us about building or reviewing it, or see all our free tools.

WhatsApp us