OWASP MASVS

Verifying a mobile app against the Mobile Application Security Verification Standard

The OWASP Mobile Application Security Verification Standard (MASVS) sets out what a secure Android or iOS app looks like, grouped into control areas like storage, network and authentication. Its companion, the MASTG testing guide, explains how to test each one. Here a reviewer checks a banking app.

Intermediate · 5 steps

PublisherOWASP MAS project
Current versionMASVS v2
Control groupsSTORAGE, CRYPTO, AUTH, NETWORK, PLATFORM, CODE, RESILIENCE, PRIVACY
Testing guideOWASP MASTG
Testing profilesL1, L2, R (resilience)
Web counterpartOWASP ASVS

Step by step

  1. MASVS-STORAGE Where does sensitive data live?

    The reviewer inspects what the app writes to the device. The refresh token is stored in the platform Keystore/Keychain, which is protected by hardware, but a debug log file still contains full API responses with account numbers. That's a finding.

  2. MASVS-NETWORK Can traffic be intercepted?

    The reviewer routes the phone through a test proxy with its own certificate authority. The app refuses to connect because it trusts only the system certificates and pins the bank's public key, so the session can't be read or changed in transit.

  3. MASVS-AUTH Who decides you're logged in?

    Fingerprint login unlocks a key in the Keystore that signs a challenge from the server, so the server makes the decision. The reviewer also checks that a transfer still needs a fresh server-verified step, rather than a simple "is unlocked" flag inside the app that could be flipped.

  4. MASVS-PLATFORM and CODE How the app talks to the OS

    The reviewer checks deep links, exported components and WebViews. A deep link bank://transfer?to=… opens the transfer screen with fields pre-filled from the link, which another app or a web page could trigger. It still needs confirmation, but should be restricted. Third-party libraries are up to date.

  5. RESILIENCE, PRIVACY and the report Extra layers, then results

    For a banking app the team also tests the resilience profile: the app detects a rooted device and a modified app and limits what can be done. Privacy controls check that only necessary data is collected. The report maps every result to a MASVS control and a MASTG test.

Best practices

More in Secure Development.