Skip to content
cccskills
FreePublished on GitHub

mobile-security

Reviews mobile security across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform using OWASP MASVS. Covers credential storage, secrets, transport, deep links, WebViews, logging and platform implementations of shared KMP contracts. Use for security audits, auth/token handling, pentest findings or release hardening.

The English summary is being prepared. Showing the original description.

Works withFirebase
See how to install

Files included (9)

  • SKILL.md5.1 KB
  • references/android.md2.2 KB
  • references/android/intent-security.md22.2 KB
  • references/auth.md8.2 KB
  • references/flutter.md1.9 KB
  • references/flutter/secure-token-store.md634 B
  • references/ios.md1.8 KB
  • references/kotlin-multiplatform.md1.3 KB
  • references/react-native.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Mobile Security

Organized by the OWASP MASVS categories. Apply the general checks below, then the reference for the detected stack. In cross-platform apps, also apply the Android and iOS references to the native folders.

1. Pick the reference

ProjectRead
Flutterreferences/flutter.md
Native Android (Kotlin/Java), or android/ in any appreferences/android.md
Native iOS (Swift/Objective-C), or ios/ in any appreferences/ios.md
React Native or Exporeferences/react-native.md
Kotlin Multiplatform shared code and platform implementationsreferences/kotlin-multiplatform.md
OAuth 2.0 / OIDC login, PKCE, tokens and biometric gating, on any stackreferences/auth.md

Firebase-specific protection (security rules, App Check) is covered by mobile-firebase.

For implementing identity/session transitions, use mobile-auth. For consent, SDK collection and account/data deletion, use mobile-privacy. Keep this skill focused on the security properties of those flows.

2. Evidence and severity

Every finding needs evidence in the code or configuration at file:line. Severity:

  • Critical: exposed credential or sensitive data, TLS validation disabled, exported component that performs a privileged action, backend authorization missing.
  • High: token in insecure storage, cleartext traffic to the API, WebView with a JavaScript bridge exposed to remote content, deep link acting without validation.
  • Medium/Low: missing hardening, verbose logs, backup enabled without need, missing screenshot protection.

3. General checks (all stacks)

MASVS-STORAGE

  • Access token, refresh token and personal data kept in insecure storage (preferences, plain files, unencrypted database) instead of the Keychain or Keystore-backed storage.
  • Sensitive data in logs, analytics events or crash reports.

MASVS-CRYPTO

  • Private API keys, client secrets, signing keys or passwords in source code, assets or bundled configuration. Everything shipped in the app can be extracted; a real secret stays on the backend.
  • Homemade cryptography, fixed IV or key, MD5/SHA-1 for passwords.

MASVS-AUTH

  • Authorization decided only on the client (a local isAdmin flag, hiding a button as access control).
  • Sessions without expiration, or refresh tokens never invalidated on logout.
  • Biometrics used only as a local boolean, without unlocking a key in the Keychain or Keystore.

For anything involving a login flow — OAuth 2.0, OpenID Connect, PKCE, redirect URIs, token rotation or biometric-gated keys — read references/auth.md before reviewing the stack reference.

MASVS-NETWORK

  • http:// URLs for APIs.
  • Certificate validation disabled or overridden to accept everything.
  • Pinning, if present, without a rotation strategy (a single pin with no backup).

MASVS-PLATFORM

  • Deep links and universal/app links that perform actions without validating parameters or without authentication.
  • WebViews loading remote content with JavaScript and a native bridge enabled.
  • Sensitive data on the clipboard or visible in the app switcher snapshot.

MASVS-CODE / RESILIENCE

  • Release builds without obfuscation or minification when the app has sensitive logic.
  • Debug code, test endpoints or feature flags that bypass checks reachable in release.
  • Dependencies with known vulnerabilities, or abandoned security-sensitive libraries.

MASVS-PRIVACY

  • Permissions requested without real use in the code.
  • Third-party SDKs collecting data that is not declared (privacy manifest and App Store privacy details on iOS, Data safety on Google Play).

4. Useful commands (read-only)

# Signing material and environment files that should not be in the repository
git ls-files | grep -Ei '\.(jks|keystore|p12|p8|pem|mobileprovision)$|key\.properties|(^|/)\.env(\.|$)'

# Android manifest flags worth reading in context
grep -rn --include='AndroidManifest.xml' -E 'usesCleartextTraffic|allowBackup|exported="true"|debuggable' . 2>/dev/null

# iOS App Transport Security exceptions
grep -rn --include='*.plist' 'NSAllowsArbitraryLoads' . 2>/dev/null

google-services.json and GoogleService-Info.plist identify a Firebase project and ship in every app; committing them is not a leak by itself. The findings there are unrestricted API keys and weak security rules.

Output

Report under Security (or Critical, when the severity is Critical), with the MASVS category, file:line, impact and fix.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Audits and fixes mobile accessibility across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including shared Compose UI and native hosts. Covers TalkBack/VoiceOver labels, roles, state, reading order, touch targets, text scaling, contrast and focus. Use for a11y audits, screen-reader bugs or accessible UI implementation.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

Builds native Android apps with the Android team's guides — Jetpack Compose UI, adaptive layouts, edge-to-edge, Compose styles, migrating XML views to Compose, Navigation 3 and predictive back; Android Gradle Plugin 9 upgrades, R8 keep rule analysis, profiling with Android Studio and Perfetto, and the Android CLI; Google Play policy compliance, Play Billing upgrades and the Engage SDK; Credential Manager restore and verified email; CameraX and Media3 Cast; App Functions and the ML Kit GenAI Prompt API; Wear OS, Android TV and display glasses. Use when writing, upgrading or auditing native Android (Kotlin) code for any of these topics, even if the user does not name the library.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

Designs and reviews mobile architecture across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers state ownership, data flow, modules, dependency boundaries, navigation, offline data and KMP shared source sets versus host apps. Use when structuring a feature, choosing state management, refactoring layers or deciding where a real class or screen belongs.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

Implements and reviews mobile identity and session flows across Flutter, Android, iOS, React Native and Kotlin Multiplatform. Use for sign-in, passkeys, account recovery, provider linking, reauthentication, logout and concurrent refresh. Security audits belong to mobile-security; account deletion belongs to mobile-privacy.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

Reviews mobile code for production bugs across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including KMP source-set and host API contracts. Covers lifecycle, concurrency, UI state and native boundaries with file:line evidence. Use for a code review, PR, project audit, quality check or /reis-mobile:review.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

Diagnoses build and runtime failures across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers pub/Dart, Gradle/AGP, Xcode/CocoaPods, Metro, KMP source sets and iOS frameworks, crashes and deep links. Use for failing builds, app launches, stack traces or /reis-mobile:debug.

The English summary is being prepared. Showing the original description.

wrsilva/reis-mobile7Updated Oct 14, 2026

See all skills by wrsilva

Report a problem with this skill