Command Palette

Search for a command to run...

Назад к скиллам
скилл № 03514

mobile-security

Use when the user asks about mobile app security, Keychain/Keystore secure storage, certificate or SSL pinning, root/jailbreak detection, Play Integrity, App…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить mobile-security в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Mobile Security

Purpose

Implement mobile security controls covering data-at-rest encryption, network security (certificate pinning), authentication, and code protection against the OWASP Mobile Top 10.

Agent Protocol

Trigger

User request includes: mobile security, secure storage, certificate pinning, ssl pinning, mobile auth, biometric, encrypt mobile, proguard, obfuscate, root detection, jailbreak detection, owasp mobile.

Input Context

  • Platform (iOS, Android, Flutter, React Native)
  • Security requirements (data classification, compliance)
  • Auth mechanism (JWT, OAuth, biometric)
  • Storage sensitivity level

Output Artifact

A markdown document containing:

  • Threat model summary
  • Security controls per layer
  • Implementation snippets
  • Verification steps

Response Format

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.


Max Response Length

4096 tokens

Architecture

Security Control Layers

┌─────────────────────────────────────────────────┐
│             Code Protection Layer                │
│  ProGuard/R8 obfuscation, debug detection,       │
│  root/jailbreak detection, integrity checks      │
├─────────────────────────────────────────────────┤
│           Authentication Layer                    │
│  Biometric (Face ID / fingerprint), token        │
│  storage, OAuth2 PKCE, session management        │
├─────────────────────────────────────────────────┤
│            Network Security Layer                 │
│  Certificate pinning, TLS 1.2+, ATS, no          │
│  cleartext traffic, anti-phishing                │
├─────────────────────────────────────────────────┤
│            Data at Rest Layer                     │
│  Keychain (iOS), EncryptedSharedPrefs (Android), │
│  flutter_secure_storage, SQLCipher, backup       │
│  exclusion                                       │
├─────────────────────────────────────────────────┤
│        Threat Modeling & Compliance              │
│  Data classification, OWASP review, privacy      │
│  controls, penetration testing schedule          │
└─────────────────────────────────────────────────┘

Decision Tree: Security Requirements

What data does the app handle?
├── PII (name, email, phone, address)
│   ├── Encrypted storage at rest
│   ├── Certificate pinning for all API calls
│   ├── Biometric gate for display
│   ├── Data deletion API required
│   └── Privacy policy labels required
├── Payment data (credit card, billing)
│   ├── PCI DSS scope assessment needed
│   ├── Tokenization — never store raw PAN
│   ├── Certificate pinning mandatory
│   ├── Biometric confirmation for payments
│   └── Network security config hardened
├── Health data (HIPAA)
│   ├── All of the above +
│   ├── Audit logging for all data access
│   ├── BAA agreement with cloud providers
│   ├── Encryption at rest + in transit (always)
│   └── Penetration testing required before launch
└── Non-sensitive (public data, no auth)
    ├── HTTPS only (TLS 1.2+)
    ├── Basic storage security
    └── No biometric or pinning needed

Workflow

Step 1: Threat Modeling

Identify data classification levels, threat vectors (reverse engineering, network interception, device theft), and compliance requirements.

Step 2: Secure Data at Rest

Use platform-native secure storage: iOS Keychain, Android Keystore-backed keys (Jetpack Security EncryptedSharedPreferences is deprecated; use Keystore directly or Tink with a Keystore-wrapped key, storing ciphertext in DataStore), flutter_secure_storage, or react-native-keychain.

Step 3: Configure Network Security

Implement certificate pinning with backup pins, disable cleartext traffic, and validate TLS connections.

Step 4: Implement Authentication

Integrate biometric authentication (Face ID, fingerprint) for sensitive operations and secure token storage.

Step 5: Apply Code Protection

Enable ProGuard/R8 minification, debug detection, and root/jailbreak detection for release builds.

Step 6: Configure Runtime Protection

Implement runtime application self-protection (RASP) controls: debugger detection (prevent debugging in release builds), emulator detection (block or limit functionality in emulators), integrity verification (validate code signature at runtime), and anti-tampering (verify app hash against known good value). Runtime checks should degrade gracefully — log and limit rather than crash.

Step 7: Penetration Testing

Schedule penetration testing at each major release. Cover: network interception testing with Burp Suite/mitmproxy, static analysis with MobSF, dynamic analysis on jailbroken/rooted devices, storage inspection via Objection/Frida, and API security testing for OWASP API Top 10. Document findings, track remediation in the security backlog, and re-test after fixes.

Mobile Threat Landscape

OWASP Mobile Top 10 Risk Categories

owasp_mobile_top_1
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/auth.md
  • references/data-protection.md
  • references/mobile-security-best-practices.md
  • references/mobile-security-compliance.md
  • references/mobile-security-penetration-testing.md
  • references/mobile-security.md
  • references/mobile-threat-modeling.md
  • references/network-security.md
  • references/secure-biometrics.md
  • references/security-hardening.md

FAQ

Что делает скилл mobile-security?

Use when the user asks about mobile app security, Keychain/Keystore secure storage, certificate or SSL pinning, root/jailbreak detection, Play Integrity, App Attest, R8 obfuscation or OWASP MASVS. Produces a hardened storage, transport and integrity setup. Not for biometric login UX (use mobile-biometrics) or web security (use frontend-security).

Как установить скилл mobile-security?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mobile-security запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mobile-security с