Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security OWASP MASTG
Cyber Security

OWASP MASTG

← Back to Glossary
By NHI Mgmt Group Updated September 1, 2026 Domain: Cyber Security

OWASP Mobile Application Security Testing Guide is a practical testing framework for validating mobile app security. It gives developers and security teams a common way to assess risks across Android and iOS, with controls that map to real-world weaknesses in storage, cryptography, logging, signing, and runtime protection.

Expanded Definition

OWASP mastg, or the OWASP Mobile Application Security Testing Guide, is a testing methodology and reference body for evaluating mobile app security across Android and iOS. It is not a compliance standard in itself; rather, it gives teams a shared structure for testing common weakness areas such as insecure local storage, weak cryptography, poor transport handling, logging exposure, authentication flaws, and runtime tampering resistance.

Its value lies in translating abstract mobile risk into repeatable test cases that developers, appsec teams, and assessors can apply consistently. The guide is most useful when a team needs to verify how an app behaves on a real device, under instrumentation, or after adversarial modification. Definitions and implementation practices continue to evolve across mobile ecosystems, so teams should treat MASTG as a practical baseline rather than a final answer for every platform pattern.

The most common misapplication is treating MASTG as a simple checklist for release approval, which occurs when teams skip threat modelling and only test the same controls without considering app-specific attack paths.

Examples and Use Cases

Implementing OWASP MASTG rigorously often introduces test effort and device coverage overhead, requiring organisations to weigh release speed against a more realistic view of mobile risk.

  • Testing whether sensitive data is written to local storage in plaintext or protected only by weak application logic.
  • Reviewing how an app handles certificates, TLS validation, and API traffic interception during debugging or hostile network conditions.
  • Checking whether logs, screenshots, backups, or crash reports expose tokens, personal data, or session context.
  • Assessing whether jailbreak or root detection meaningfully raises attacker cost, rather than serving as a cosmetic control.
  • Validating runtime protections against repackaging, tampering, and code injection, especially for apps handling high-value transactions.

For teams building mobile experiences that support identity verification, session initiation, or device-bound access, the guide helps expose where trust assumptions break down on the endpoint. It also pairs well with broader identity guidance such as the OWASP Non-Human Identity Top 10 when mobile clients are used to mint, store, or present credentials that later authorize machine or service access.

Why It Matters for Security Teams

Mobile apps often become the weakest link in otherwise mature security programs because they run in hostile environments and are easy to reverse engineer, instrument, and modify. OWASP MASTG gives security teams a shared way to identify weaknesses before attackers exploit them in account takeover, session theft, data extraction, or fraud workflows. For identity-heavy applications, this matters because mobile clients frequently carry authentication state, enrollment flows, push-based approval logic, or device-bound secrets that can be abused if the app is not tested carefully.

The guide also helps teams move beyond surface-level assurance. A feature may appear secure in code review but fail under instrumentation, debug hooks, or repackaging. That gap is especially important when mobile apps interact with agents or automated workflows, where a compromised client can become a launch point for broader compromise. Where agent-driven mobile interactions are present, it is increasingly useful to compare findings with the OWASP Agentic AI Top 10 to understand how client-side compromise can cascade into misuse of tool access or delegated authority.

Organisations typically encounter the real cost of MASTG-relevant failures only after a mobile breach, at which point secure storage, runtime hardening, and traffic protections become operationally unavoidable to address.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack surface, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, and ISO/IEC 27001:2022 define the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10Mobile apps often store or present credentials used by non-human identities.
OWASP Agentic AI Top 10Mobile compromise can extend into agentic tool use and delegated execution.
NIST CSF 2.0PR.DSMASTG emphasizes protecting data at rest, in transit, and in use on mobile devices.
NIST SP 800-53 Rev 5SC-13Cryptographic protection is a core MASTG testing area for mobile applications.
ISO/IEC 27001:2022A.8.24Secure use of cryptography supports the app security issues assessed by MASTG.

Review how the mobile client handles tokens, keys, and delegated secrets before they are exposed.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 1, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org