Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Mobile App Security Review

Reviews iOS, Android and Flutter code for leaked secrets, weak storage, unsafe deep links and WebView risks.

Claude's review

7/10 Well-scoped mobile security review with attacker model, findings vs non-findings, and code for storage, network, intents and WebViews.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Use when reviewing iOS (Swift), Android (Kotlin) or Flutter changes - token storage, ATS and cleartext config, TLS trust, exported components, deep links, WebView JavaScript bridges, certificate pinning claims, secrets bundled in the app, Firebase rules

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: mobile-app-security
category: security
description: Use when reviewing iOS (Swift), Android (Kotlin) or Flutter changes - token storage, ATS and cleartext config, TLS trust, exported components, deep links, WebView JavaScript bridges, certificate pinning claims, secrets bundled in the app, Firebase rules
tech_stack: Mobile
source: original; cloudflare/security-audit-skill (MIT) deep-link handoff and device-lifecycle classes, adapted; informed by trailofbits/skills (CC BY-SA 4.0, ideas only, own wording); OWASP MASVS v2 and MASTG cited by name only; Android and Apple platform security documentation cited, not reproduced
---
# Mobile App Security (MASVS)

## Overview

The app binary is public and the device may belong to the attacker. Two consequences shape every mobile finding: anything shipped in the app is readable (a "hidden" server secret is leaked), and any check done only in the app can be skipped (the server is the boundary). What remains for the app is protecting **its user** from other apps, other networks and other web content.

**Core principle:** ask who the attacker is — another app on the device, someone on the network, a web page in a WebView, or the device owner. Findings against the device owner protecting their own data are usually not findings.

## 1. Secrets Shipped in the App (MASVS-CRYPTO, MASVS-CODE)

A server secret in `BuildConfig`, `Info.plist`, a bundled `.env`, `strings.xml`, Dart constants or an obfuscated string is a leaked secret — CRITICAL when live (secrets-and-crypto-review).

Not findings: Firebase `google-services.json` / `GoogleService-Info.plist`, Maps keys restricted by app signature, publishable payment keys. **But** the Firebase rules that protect the data are in scope:

```
// ❌ firestore.rules — every client reads and writes everything
match /{document=**} { allow read, write: if true; }
// ✅
match /users/{uid} { allow read, write: if request.auth != null && request.auth.uid == uid; }
```

## 2. Storage (MASVS-STORAGE)

| ❌ for tokens and credentials | ✅ |
|-------------------------------|----|
| Android `SharedPreferences`, plain files, SQLite, external storage | Keystore-backed encryption (Tink/AndroidX security), DataStore with an encrypted serializer |
| iOS `UserDefaults`, plist files, unencrypted Core Data | Keychain with an appropriate `kSecAttrAccessible…ThisDeviceOnly` class |
| Flutter `shared_preferences`, `Hive` unencrypted | `flutter_secure_storage` |

Severity follows the attacker: world-readable files (`MODE_WORLD_READABLE`, external storage) or data included in backups (`android:allowBackup="true"` without exclusions) → HIGH for credentials; private app storage on a non-rooted device → MEDIUM note. Tokens in `Log.d`/`print`/`NSLog` → readable by logcat tools and crash reporters → MEDIUM to HIGH.

## 3. Network (MASVS-NETWORK)

...

From makifbaysal's repository, Apache-2.0 licence.

Related skills

  • Checked

    Codebase quality audit

    Audits a whole code repo for bugs, security holes, slow paths and dead code, ranked in plain English.

    by DietrichGebert 203k
    7/101 credit
  • Checked

    Security and CVE audit

    Runs a security and CVE audit on code in any language and scores it out of 100, with false alarms filtered.

    by opencrabs 1k
    7/101 credit
  • Checked

    OWASP code review

    Reviews code for security flaws using the latest OWASP Top 10 lists, including those for AI and agent apps.

    by agamm 467
    7/101 credit
  • Checked

    Code security hardening

    Hardens code that handles user input, logins and data against the OWASP Top 10, starting from a threat model.

    by addyosmani 122k
    7/101 credit
  • Checked

    Android intent security

    Audits Android components and incoming intents to fix redirection and unauthorised access holes in your app.

    by android 11k
    8/101 credit
  • Checked

    Fuzz harness planning

    Plans fuzz harness scope and fuzzer choice for code you are authorised to test, so real bugs surface sooner.

    by provos 690
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added