mobile-audit
БесплатноЗапускает вложенные скриптыНе проверенAudit iOS and Android mobile applications against OWASP MASVS / MASTG — insecure storage, weak crypto, certificate pinning, deeplinks, IPC, jailbreak/root…
от briiirussell★ 541 звезда на GitHubОб этом скилле
Mobile Audit — iOS & Android Application Security Review
Audit mobile apps against the OWASP Mobile Application Security Verification Standard (MASVS) and Mobile Application Security Testing Guide (MASTG). Covers source code review, static analysis of compiled binaries, and runtime testing.
Scope: this skill covers the app and its interaction with the device, the backend, and other apps. For backend API security, pair with api-audit. For dependency CVEs (CocoaPods, SPM, Gradle), pair with dependency-audit.
Authorization Check
Before reverse-engineering or runtime-testing a binary, confirm:
- The app is yours, or you have written authorization from the publisher
- You're operating in an environment you control (test device, emulator, dedicated sandbox)
- App store ToS — Apple and Google generally allow security research on apps you own; testing competitor apps without authorization is a fast path to legal exposure
If unclear, ask before proceeding.
Audit Checklist — MASVS-STORAGE (Sensitive Data Storage)
- iOS: keychain items use the strongest available
kSecAttrAccessibleclass —kSecAttrAccessibleWhenUnlockedThisDeviceOnlyorkSecAttrAccessibleAfterFirstUnlockThisDeviceOnly. AvoidAlwaysandThisDeviceOnly-less variants - iOS: no secrets in
NSUserDefaults, plist, or app bundle —strings <app>.ipashould not reveal API keys or secrets - Android: secrets in EncryptedSharedPreferences / Keystore-backed encrypted storage, not raw SharedPreferences
- Android:
android:allowBackup="false"in the manifest (or backup rules carefully scoped) — otherwiseadb backupextracts everything - Both: no PII / tokens written to logs that survive a crash (NSLog, Log.d, third-party crash reporters)
- Both: Pasteboard / Clipboard access — sensitive fields don't auto-share to system clipboard (iOS
pasteboard.expirationDate, AndroidClipDescription.EXTRA_IS_SENSITIVE) - Both: the OS app-switcher screenshot doesn't capture sensitive screens — iOS
applicationDidEnterBackgroundblur, AndroidFLAG_SECUREon the activity
Audit Checklist — MASVS-CRYPTO (Cryptography)
- No hardcoded keys in the app bundle —
strings,class-dump,apktoolreveal embedded constants - Modern algorithms only — AES-GCM, ChaCha20-Poly1305; reject AES-ECB, DES, RC4, MD5, SHA-1
- Random number generation uses
SecRandomCopyBytes(iOS) /SecureRandom(Android) — notarc4random()for crypto, neverMath.random() - Key derivation from passwords uses PBKDF2 with ≥ 600,000 iterations (OWASP 2024) or Argon2id
- IVs / nonces are not reused — if you see
iv = "0000000000000000", that's worse than no encryption (reveals plaintext patterns) - Don't roll your own crypto — flag any custom encryption scheme; bias toward libsodium / Tink
Audit Checklist — MASVS-NETWORK (Network Communication)
- iOS: App Transport Security enabled — no global
NSAllowsArbitraryLoads = true. If exceptions exist, they're specific domains, justified, and documented - Android:
network_security_config.xmlexists and enforces cleartext-traffic refusal —<base-config cleartextTrafficPermitted="false"> - Both: Certificate pinning for high-trust backends — public-key pinning preferred over certificate pinning (survives cert rotation). For iOS:
URLSessionDelegate+URLAuthenticationChallenge; Android:NetworkSecurityConfig<pin-set>or OkHttpCertificatePinner - Both: Pinning has a backup pin — pinning to a single cert means the next rotation breaks the app for all users
- WebView usage —
WKWebViewonly (iOS, notUIWebView); JavaScript bridge audited;setJavaScriptEnabled(false)if the WebView doesn't need JS - WebView
loadUrlwith user-controlled URL — open redirect, intent-spoofing, phishing surface
Audit Checklist — MASVS-AUTH (Authentication & Session)
- Biometric prompts use
LAContext.evaluatePolicy(iOS) /BiometricPrompt(Android) — not the deprecatedFingerprintManager - Biometric auth is bound to keychain/keystore access, not just a UI check (
SecAccessControl.biometryAny, AndroidKeyGenParameterSpec.setUserAuthenticationRequired(true)) - Session tokens stored in keychain/keystore (not SharedPreferences/NSUserDefaults)
- Refresh-token flow — short-lived access token, refresh token revocable server-side
- OAuth flows use the platform browser (ASWebAuthenticationSession on iOS, Custom Tabs on Android) — never a WebView (steals credentials trivially)
- App-level passcode independent of device unlock if the app holds sensitive data
Audit Checklist — MASVS-PLATFORM (Platform Interaction)
Deeplinks / URL schemes (iOS) and Intent filters (Android)
- Every exported activity (
android:exported="true") reviewed for parameter handling - Universal Links (iOS) and App Links (Android) use HTTPS + verified domain — not custom schemes (
myapp://) which any app can register - Deeplinks that trigger sensitive actions (purchase, share, change account) r
Установить mobile-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobWebSearchВложенные файлы
FAQ
Что делает скилл mobile-audit?
Audit iOS and Android mobile applications against OWASP MASVS / MASTG — insecure storage, weak crypto, certificate pinning, deeplinks, IPC, jailbreak/root detection, reverse-engineering resistance. Use when the user mentions 'mobile security,' 'iOS security,' 'Android security,' 'mobile audit,' 'mobile pentest,' 'MASVS,' 'MASTG,' 'certificate pinning,' 'jailbreak detection,' 'root detection,' 'deeplink,' 'URL scheme,' 'app transport security,' 'keychain,' 'keystore,' 'mobile reverse engineering,' or has a mobile app to review.
Как установить скилл mobile-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mobile-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic