Blog

Android App Security Checklist Before Release

Most mobile security issues that reach production could have been caught with a short checklist the day before release.

Build settings

  • Release builds are not debuggable, and a CI check fails the build if they are.
  • R8 shrinking and obfuscation are enabled, and logging is stripped from release builds.
  • targetSdkVersion meets the current Google Play requirement, so recent platform protections apply.
  • The signing key is protected, ideally with Play App Signing.

See the backup and debuggable guide.

Manifest

  • Every exported activity, service, receiver and provider is intentional and protected where needed.
  • Backup rules exclude tokens and personal data.
  • Deep links that carry secrets use verified App Links.
  • Permissions match features the app actually offers, including those added by SDKs.

Use the manifest security review for the full list.

Network and storage

  • Cleartext traffic is disabled in the network security configuration, and debug trust anchors do not ship.
  • Tokens are stored with Keystore-backed encryption, not in plain shared preferences.
  • No sensitive data appears in logs during login, payment or profile flows.
  • WebViews load only trusted content and expose no unnecessary JavaScript interfaces.

Secrets and dependencies

  • No server-side secrets in the app: anything shipped in an APK can be extracted.
  • Client-side keys are restricted to the app's package and signature where the provider allows it.
  • Third-party libraries are up to date and free of known vulnerabilities.
  • SDKs start only after consent where consent is required.

Test before you ship

Run a static scan on the release candidate, not the debug build, and a runtime test on a device with a test account so that authenticated flows are covered. Fix or knowingly accept every confirmed finding, and track candidates that need a confirming test. The OWASP MASVS checklist maps these items to the standard.

Related reading