A hands-on OWASP Android security lab pairing vulnerable and secure Kotlin implementations, with selected attacker-app demonstrations and learning material mapped to MASVS, MASWE and MASTG.
The OWASP Android Security Masterclass is an open-source, hands-on training lab for Android developers and mobile application security practitioners. Built with Kotlin, Jetpack Compose and Material 3, it uses a Mirror Architecture to compare vulnerable and secure implementations, with a separate attacker app for selected demonstrations.
Learning scope
The repository organizes the curriculum around 78 MASWE weakness vectors across eight domains: Storage, Cryptography, Authentication, Network, Platform, Code Quality, Resilience and Privacy. The README currently identifies completed logic for MASWE-0001 through MASWE-0007 and MASTG-BEST-0002; implementation status varies across the broader mapping.
How the lab works
Use app-vulnerable to study insecure patterns, app-secure to review mitigations, and app-attacker for selected exploitation demonstrations. The project includes realistic synthetic sample data and links the lessons to OWASP MASVS, MASWE and MASTG guidance.
The documentation portal includes the learning guides and mapping matrix. See the repository README and contribution guide for build instructions and project conventions.
Traditional security labs present vulnerabilities in isolation without showing developers how to architect the defense. The Android Security Masterclass bridges this gap by integrating security directly into the Modern Android Development (MAD) workflow.
By inspecting both the flawed implementation and the cryptographic mitigation side-by-side, engineering teams and students learn how to design secure architectures from day one rather than relying on reactive patches.
Android Developers looking to master secure coding practices, hardware-backed cryptography, and defensive architectures in Kotlin and Jetpack Compose.
Mobile Penetration Testers seeking an advanced, calibrated testbed to validate SAST, DAST, and runtime exploitation techniques against MASVS v2.0.
Security Champions & AppSec Teams aiming to establish secure baseline standards and CI/CD security gating within their mobile engineering organizations.
Project Leader
Android & Multiplatform Developer and Project Leader for the OWASP Android Security Masterclass. Translator and editor of premier mobile and Kotlin literature (including Kotlin Coroutines by Marcin Moskała, Atomic Kotlin by Bruce Eckel, and The Manifest of Android Interview by Jaewoong Eum). Focused on modern mobile architectures, Compose Multiplatform, and defensive security engineering aligned with OWASP MASVS/MASWE standards.