Android Security Masterclass

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.

Implemented labs
7 documented

About Android Security Masterclass

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.

Pedagogical Approach & SSDLC Integration

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.

Who Is This For?

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 Leaders

Hasan Tuncay

Hasan Tuncay

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.

EmailLinkedIn

Project Information

Incubator Project
Classification
Training
Language
Kotlin
License
Apache License 2.0
Contributors
1
GitHub Stars
5
Downloads
0
Industry Usage
Mobile application developmentApplication security training
Compliance Standards
OWASP MASVS v2.0OWASP MASWEOWASP MASTG

Requirements

  • Android 8.0 (API 26) or newer emulator/device
  • Android Studio and Android SDK
OWASP Logo
OWASP is a nonprofit foundation improving software security through open-source projects, global communities, and education. All resources are free and open to everyone.
OWASP, the OWASP logo, and Global AppSec are registered trademarks and AppSec Days, AppSec California, AppSec Cali, SnowFROC, OWASP Boston Application Security Conference, and LASCON are trademarks of the OWASP Foundation, Inc.
© 2026, OWASP Foundation Inc. All rights reserved.