OpenContact, if you are interested in this Development/Support/Sponsorship/Advertisement/Partnership
AppDev.in
Quality & security

Mobile app security checklist: 30 controls before launch

A practical security checklist for Android and iOS apps based on OWASP MASVS categories — storage, crypto, authentication, network, platform, code quality and privacy.

By the AppDev.in editorial teamUpdated 30 November 20269 min readHow we write

Key takeaways

  • Use the OWASP Mobile Application Security Verification Standard (MASVS) as your framework.
  • Never store secrets or tokens in plain text on the device.
  • Enforce TLS everywhere; validate everything on the server.
  • Collect only the data you need and be able to delete it.

Storage (MASVS-STORAGE)

  1. Store tokens and secrets in the Android Keystore / iOS Keychain only.
  2. Never log personal data, tokens or full API responses.
  3. Exclude sensitive files from backups where appropriate.
  4. Clear sensitive data on logout.
  5. Avoid writing personal data to shared or external storage.

Cryptography (MASVS-CRYPTO)

  1. Use platform cryptography APIs; never invent algorithms.
  2. No hard-coded keys in the app binary.
  3. Use strong, current algorithms and secure random generators.

Authentication (MASVS-AUTH)

  1. Authenticate and authorise every request on the server.
  2. Short-lived access tokens with refresh-token rotation.
  3. Rate-limit OTP and login endpoints.
  4. Offer biometric unlock as a convenience layer, not the only control.
  5. Provide in-app account deletion where accounts exist.

Network (MASVS-NETWORK)

  1. HTTPS/TLS for all traffic; disable cleartext.
  2. Consider certificate pinning for high-risk apps, with a rotation plan.
  3. Validate and sanitise all input server-side.
  4. Never trust client-side checks for prices, roles or limits.

Platform interaction (MASVS-PLATFORM)

  1. Request the minimum permissions, at the moment of use, with clear explanations.
  2. Protect exported components, intents and deep links from abuse.
  3. Configure WebViews carefully — disable JavaScript bridges you do not need.
  4. Mask sensitive screens in the app switcher where appropriate.

Code quality and resilience (MASVS-CODE / RESILIENCE)

  1. Keep dependencies updated; scan for known vulnerabilities.
  2. Enable code shrinking/obfuscation for release builds.
  3. Strip debug features, test endpoints and verbose logs.
  4. Use Play Integrity / App Attest for high-value actions.
  5. Fail safely: no stack traces or secrets in error messages.

Privacy (MASVS-PRIVACY)

  1. Minimise data collection; document why each field exists.
  2. Match store privacy declarations to actual behaviour, including SDKs.
  3. Honour consent choices for analytics and advertising.
  4. Comply with applicable laws, including India's Digital Personal Data Protection Act, 2023, and GDPR for EU users.

Frequently asked questions

Do small apps need security testing?
Yes. Small apps are common targets because they are often unprotected. A basic review against this checklist catches most high-risk issues.
What is OWASP MASVS?
The Mobile Application Security Verification Standard is an open industry standard defining security requirements for mobile apps, with a companion testing guide (MASTG).

This guide is general information, not professional advice. Store rules, fees and prices change — confirm current terms with official sources. See our disclaimer.

Free app quote →