mobile-security
Skill8 starsChanged 58 days agoMITView on GitHub
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.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- ashrafiucse/security-audit-skillstheir own version, first seen Oct 13, 2026
- gmh5225/awesome-game-securitytheir own version, first seen Oct 8, 2026
- Kur1sulab/blackboxtheir own version, first seen Aug 12, 2026
- langbyyi/websec-skillstheir own version, first seen Jun 12, 2026
- yuexueyu/anna-agent-skillstheir own version, first seen Mar 18, 2026
- ffsshhttiikk/opencode-agents-skillstheir own version, first seen Feb 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- gmh5225/awesome-game-security★ 3.7ksame name
- langbyyi/websec-skills★ 4same name
- Kur1sulab/blackbox★ 3same name
- ashrafiucse/security-audit-skills★ 2same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- yuexueyu/anna-agent-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- mobile-accessibilitySkill
- mobile-analyticsSkill
- mobile-androidSkill
- mobile-architectureSkill
- mobile-authSkill
- mobile-billingSkill
- mobile-ciSkill
- mobile-code-reviewSkill
- mobile-debugSkill
- mobile-detect-stackSkill
- mobile-firebaseSkill
- mobile-flutterSkill
- mobile-hardwareSkill
- mobile-iosSkill
- mobile-kmpSkill
- mobile-migrationSkill
- mobile-networkingSkill
- mobile-notificationsSkill
- mobile-observabilitySkill
- mobile-offline-syncSkill
- mobile-performanceSkill
- mobile-privacySkill
- mobile-releaseSkill
- mobile-rnSkill
- mobile-testSkill
- mobile-ui-uxSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Every finding needs evidence in the code or configuration at file:line.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
| Project | Read |
| Flutter | references/flutter.md |
Native Android (Kotlin/Java), or android/ in any app | references/android.md |
Native iOS (Swift/Objective-C), or ios/ in any app | references/ios.md |
| React Native or Expo | references/react-native.md |
| Kotlin Multiplatform shared code and platform implementations | references/kotlin-multiplatform.md |
| OAuth 2.0 / OIDC login, PKCE, tokens and biometric gating, on any stack | references/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
isAdminflag, 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/nullgoogle-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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

