NewOffensive AI & LLM penetration testing is now available —Learn more →
xtreme.infosec
Book a call30 min · free · Google Meet
BlogMobile security

Android App Security Checklist: What to Check Before Launch

A pre-launch Android app security checklist for CTOs and Android leads: manifest flags, storage, API, deep links, WebViews, SDKs and resilience, mapped to OWASP MASVS.

By Xtreme InfoSec Security Team·16 Nov 2026·9 min read

Android app security before launch comes down to a short list of decisions your team makes in the manifest, the build configuration, the code and the backend API. Most serious issues we see in Android apps are not exotic. They are an exported component nobody meant to expose, a token saved in plain text, a debug flag left on, or an API that trusts whatever the app sends.

This checklist is written for CTOs, product heads and Android leads who want to ship without those gaps. Work through it in the sprint before release, fix what you can in-house, and then get an independent test so a fresh pair of eyes checks what your own team may have missed.

Key takeaways

  • Start with the manifest: debuggable off, backups controlled, every component's exported setting deliberate, and cleartext traffic blocked.
  • Never store tokens, passwords or personal data in plain files or shared preferences. Use encryption backed by the Android Keystore.
  • Anything inside the APK can be extracted. Do not ship secret keys in the app, and do not rely on obfuscation to hide them.
  • The backend API is part of your Android app's attack surface. Most data leaks in mobile apps happen through the API, not the device.
  • Map your checks to OWASP MASVS so testers, auditors and enterprise clients speak the same language.
  • Run an independent mobile app VAPT before launch and again after major releases, with a retest once fixes are in.

Why a pre-launch Android app security checklist matters

An Android app is a package that anyone can download, unpack and study. Tools for decompiling APK files are free and well documented. That means an attacker does not need your source code to understand how your app talks to your servers, where it stores data and which screens it tries to hide.

Fixing these issues after launch is harder. Old app versions stay on users' phones for months, so a weakness in version 1.0 can stay exploitable long after you ship 1.1.

The standard to follow: OWASP MASVS for Android

The OWASP Mobile Application Security Verification Standard (MASVS) is the most widely used baseline for mobile app security. Version 2 groups requirements into control areas, and the companion OWASP Mobile Application Security Testing Guide (MASTG) explains how to test each one on Android and iOS.

Using OWASP MASVS for Android as your reference means testers, auditors and enterprise clients can all point to the same control names.

MASVS areaWhat it covers on AndroidTypical pre-launch check
MASVS-STORAGEData saved on the deviceNo tokens or personal data in plain shared preferences, files, logs or backups
MASVS-CRYPTOUse of cryptographyModern algorithms, keys kept in the Android Keystore, no hardcoded keys
MASVS-AUTHLogin, sessions and biometricsServer-side session checks, biometric unlock tied to a Keystore key
MASVS-NETWORKData in transitTLS everywhere, cleartext disabled, certificate pinning where justified
MASVS-PLATFORMInteraction with Android and other appsExported components, intents, deep links and WebViews locked down
MASVS-CODECode quality and dependenciesUp-to-date SDKs and libraries, input validation, no debug code
MASVS-RESILIENCEResistance to tampering and reverse engineeringObfuscation, integrity checks and root detection where the risk justifies it
MASVS-PRIVACYPersonal data and user consentMinimal permissions, accurate data disclosures, no unnecessary tracking

1. Manifest and build configuration

The AndroidManifest file and your Gradle release configuration decide a lot of your security posture before a single line of business logic runs. Check these items on the exact build you will upload to Google Play, not on a debug build.

  • Debuggable is off. The release build must not be debuggable. A debuggable app lets anyone with a USB cable attach a debugger and read memory.
  • Backups are controlled. Decide whether app data should be included in device backups and device-to-device transfers. If not, disable backup or use backup rules to exclude sensitive files, including the newer data extraction rules on recent Android versions.
  • Every component's exported value is deliberate. Activities, services, broadcast receivers and content providers should be exported only when another app genuinely needs them. Since Android 12, components with intent filters must declare this explicitly, which is a good moment to review each one.
  • Permissions are minimal. Remove permissions left over from old features or third-party SDKs. Each sensitive permission should map to a feature you can explain in your Play Store data disclosures.
  • Cleartext traffic is blocked. Use a network security configuration that disallows plain HTTP for all domains, with no exceptions left in from testing.

2. Data storage on the device

Assume a determined attacker, or malware, can read your app's files on a rooted device. Storage checks are about making sure what they find is useless.

  • Do not store passwords at all. Store a session or refresh token only if needed, and encrypt it with a key held in the Android Keystore.
  • Check shared preferences, local databases, cache folders and downloaded files for personal data, account numbers, tokens and API responses.
  • Do not write sensitive data to external or shared storage, where other apps may read it.
  • Strip sensitive values from logs. Release builds should not print tokens, OTPs, request bodies or user details to the system log.
  • Protect sensitive screens. For banking, payment or health screens, consider blocking screenshots and hiding content in the recent-apps view.

Not sure whether tokens or keys are sitting inside your APK or repository? A source code review of the Android project often finds hardcoded keys, weak crypto and risky logging faster than testing the compiled app alone.

3. Network and API security

This is where Android apps usually fail hardest. The app is only the front end. If the API behind it trusts the client, an attacker can skip the app entirely and call your endpoints directly with a modified request.

  • TLS on every call, including analytics, image servers and third-party SDK endpoints.
  • Certificate pinning where it fits. Pinning makes interception harder for high-risk apps such as banking and payments. Plan how you will rotate pins, or a certificate change can lock out every user.
  • Authorisation on the server. Every request must be checked on the backend: can this user see this account, this order, this document? Hiding a button in the app is not access control.
  • No business rules enforced only in the app. Prices, discounts, limits, KYC status and OTP verification must be validated on the server.
  • Rate limits on login, OTP and sensitive actions, so the API cannot be brute-forced or abused at scale.

The OWASP API Security Top 10 (2023) lists broken object level authorisation as the number one API risk, and it is common in mobile backends. Our API security checklist goes deeper on what to check before you ship.

4. Platform interaction: intents, deep links and WebViews

Android lets apps talk to each other through intents, deep links and content providers. That flexibility is useful, and it is also a common source of vulnerabilities.

  • Exported activities should not open sensitive screens without checking that the user is logged in and allowed to be there.
  • Deep links and app links should validate every parameter. A deep link that loads any URL into a WebView, or jumps straight to a payment screen with pre-filled values, can be abused by a malicious link.
  • Use verified App Links for links that carry tokens or open account screens, so another app cannot claim the same link.
  • Content providers should be non-exported unless sharing is required, and protected with permissions when they are exported.
  • WebViews should load only trusted content over HTTPS. Keep JavaScript disabled unless needed, avoid exposing native interfaces to web content, and block file access unless a feature depends on it.

5. Code, dependencies and third-party SDKs

Most Android apps ship more third-party code than first-party code: analytics, crash reporting, payments, ads, chat and maps SDKs. Each one runs with your app's permissions and sees your users' data.

  • Keep an inventory of every SDK and library, with versions. Remove ones you no longer use.
  • Check dependencies for known vulnerabilities with tools such as OWASP Dependency-Check or a software composition analysis tool, and update before release.
  • Review what data each SDK collects. Your Play Store data safety disclosures must cover SDK behaviour too.
  • Remove debug menus, test endpoints and staging URLs. Never embed private API keys, signing secrets or database credentials in the app. Anything in the APK can be extracted, even with obfuscation. If a key must be in the app, restrict it on the provider's side (by package name, signing certificate or allowed API) and treat it as public.

6. Resilience: obfuscation, root detection and integrity checks

Resilience controls slow down reverse engineering and tampering. They do not replace secure design, so add them after the basics above are fixed.

  • Enable code shrinking and obfuscation (R8) for release builds. It makes decompiled code harder to read and removes unused code.
  • Root and emulator detection are useful for high-risk apps, such as banking, trading and payments. Decide what the app does when it detects a risky device: warn, limit features or block, and log the event on the server.
  • App integrity checks using Google's Play Integrity API help your server confirm that a request comes from a genuine install of your app on a genuine device. Google has deprecated the older SafetyNet Attestation API in favour of Play Integrity, so migrate if you still use it.
  • Verify integrity results on the server, not in the app. A check that only runs on the device can be patched out.

7. Privacy and compliance checks

Security and privacy overlap heavily on Android. India's Digital Personal Data Protection Act, 2023 puts obligations on how you collect and protect personal data, and Google Play requires accurate data safety disclosures. Check the latest rules and Play policies that apply to your app category before launch.

  • Collect only the personal data a feature needs, and request runtime permissions at the moment the feature is used.
  • Make sure your privacy policy and Play data safety form match what the app and its SDKs actually do.

Regulated businesses have extra layers. Fintech and lending apps should read our notes on VAPT for fintech and NBFCs, and teams handling personal data at scale may also need a DPDP compliance audit.

Android penetration testing: what an independent test adds

A checklist helps your team fix the obvious gaps. An Android penetration testing engagement checks whether those fixes actually hold when someone attacks the app the way a real adversary would.

A good mobile app VAPT combines static analysis of the APK, dynamic testing on a rooted device or emulator with tools such as Frida, interception of API traffic, and manual testing of the backend API for authorisation flaws. APK security testing with an automated scanner alone is a useful first pass, but scanners cannot judge business logic, such as whether user A can view user B's loan statement.

For most teams, the sensible sequence is: run this checklist, fix what you find, then commission a manual test of the release candidate and its API, and retest after fixes. Our guide to mobile app penetration testing covers how that test runs. Add a source code review if the app handles payments, health data or financial accounts. Our comparison of source code review and penetration testing explains when each one is worth it.

Frequently asked questions

Is Android app security only about the app on the phone?

No. The backend API is part of the attack surface, and it is where most serious data leaks happen. A complete test covers the APK, the device-side storage and behaviour, and the API the app calls.

Does obfuscation with R8 protect API keys in my app?

Not reliably. Obfuscation makes code harder to read, but keys and strings can still be extracted from the APK or from memory at runtime. Keep secret keys on the server and restrict any key that must ship in the app.

Do I need root detection in my Android app?

It depends on risk. Banking, trading, payment and health apps usually benefit from root detection and Play Integrity checks. Lower-risk apps may not need them. In every case, server-side checks matter more than client-side ones.

How often should an Android app be tested?

Before the first public launch, after major releases or changes to login, payment or the API, and at least once a year. Many enterprise clients and regulators ask for a recent report, so check what your clients and sector require.

What does an Android app VAPT cost?

At Xtreme InfoSec, mobile app testing starts from ₹30,000 and the final fixed quote depends on scope after a short scoping call. You can get a quick estimate with our VAPT cost estimator.

Get your Android app tested before launch

Xtreme InfoSec runs manual, expert-led Android penetration testing covering the APK, device storage and your backend API, mapped to OWASP MASVS. Every report includes verified findings, step-by-step fixes and a free retest after you fix them. NDA on request.

Get a mobile VAPT quote

Keep reading

Get started

Get a free quote for your VAPT.

Share your app, scope and deadline. You’ll get a clear plan, a timeline and a fixed quote — we reply within 1 hour.

+91 98183 63944

    Message Us

    Tell us what you need — we’ll reply with clear next steps and a fixed quote.

    Your details stay confidential and are used only to respond to your enquiry.

    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

    Chat on WhatsApp