Security: Mobile MASVS
Purpose
Review native iOS and Android security against the current OWASP MASVS requirements. Cover device storage, platform APIs, permissions, WebViews, signing, privacy, and the resilience controls justified by the threat model.
Scope and evidence
- Read
references/masvs-checklist.md. - Pull the platform matrix from
platform-detector: iOS/Android versions, distribution channel, SDKs, backend/API dependencies, auth flow, and privacy region. - Pull mobile architecture, permissions, deep links, local storage, crypto, networking, WebView usage, signing/notarization, and CI build artifacts. Read-only unless a fix has been assigned.
- Use Context7 MCP for current Apple, Android, OWASP MASVS/MASTG, app-store policy, SDK, and framework security guidance.
Assessment
- Build a mobile attack-surface inventory: storage, credentials, biometrics, network, IPC/deep links, WebViews, SDKs, telemetry, permissions, signing, update flow, and anti-tamper expectations.
- For each MASVS family, mark Pass, Concern, Fail, or Out-of-scope with evidence paths and test commands.
- Run platform-specific checks: Android manifest/exported components, cleartext traffic, backup policy, Play Integrity/signing; iOS entitlements, keychain access groups, ATS, associated domains, jailbreak assumptions.
- Cross-check backend/API findings with
security-owasp-web, dependency findings withcve-zero-day-scanner, and secrets/signing keys withsecurity-secrets. - For Concern/Fail, name the exploit path, affected platform, blast radius, mitigation, owner, and verification test.
- Produce a release-gate verdict: Go, Conditional, or Hold.
Safety rules
- Use Context7 MCP for current MASVS/MASTG, Apple, Android, store-policy, SDK, and framework security guidance.
- Keep a decision trace: tested build, platform versions, store channel, source docs, evidence paths, skipped checks, and accepted risks.
- Refuse to mark a MASVS family Pass without an evidence path and a verification step.
- Escalate before release if credentials, payments, health data, child data, or production write paths are exposed on device.
Security record
- Mobile attack-surface inventory
- MASVS family status table with evidence
- Platform-specific findings for iOS and Android
- Store-policy and signing/privacy concerns
- Remediation plan with owner and verification test
- Release-gate verdict
Release criteria
- No release with unencrypted sensitive local storage.
- No release with debug WebView or cleartext traffic enabled outside explicitly approved development builds.
- No release with exported Android components or iOS URL/deep-link handlers lacking authorization checks.
- No release with signing keys, API keys, or long-lived credentials embedded in the app package.
- No Pass without naming the tested build artifact, platform version, and verification command or manual check.
Handoff
Hand off findings to service-implementation, security-secrets, container-platforms, or cicd-automation as applicable. Hand the mobile release verdict to qa-eval, release-management, and pr-review.
References
references/masvs-checklist.md: MASVS family checklist, iOS/Android checks, and release-blocking conditions.