本文へスキップ
Skillpedia
セキュリティ6.5k · #14144

mobile-security

できること

このスキルは、AIがAndroidとiPhoneのアプリファイルを、露出した秘密情報や弱いストレージなどの問題がないかレビューする手順を案内します。セキュリティテスターと開発者向けです。

使う場面

  • ✓チームが、AndroidのAPKファイルに危険な権限や隠れたパスワードがないかを確認したいとき。
  • ✓iPhoneのアプリパッケージに、弱いネットワークやストレージの設定がないかレビューする必要があるとき。
  • ✓セキュリティレビュアーが、リリース前にモバイルアプリの簡単な静的チェックを求めているとき。

スキルのリンク

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/mobile-security/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/mobile-security/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このAndroidアプリのファイルに、ハードコードされたパスワードや危険な権限がないかを確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルは、AIにアプリパッケージを開き、その設定、コード、証明書を読むための標準的な手順とツールを提供します。AIは見つかったものを一覧にします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Mobile Application Security Reconnaissance Knowledge Base

Mobile application security reconnaissance involves static analysis of APK and IPA files to identify vulnerabilities, misconfigurations, and security weaknesses without executing the application. This skill enables autonomous agents to analyze mobile applications for security issues.

1. APK Analysis

Package Information Extraction

# Extract APK package information
aapt dump badging {apk_path}

# Extract full APK details
aapt dump all {apk_path}

Decompilation

# Decompile APK with apktool
apktool d {apk_path} -o output_dir

# Decompile with jadx (to Java source)
jadx {apk_path} -d output_dir

# Convert DEX to JAR for Java analysis
dex2jar {apk_path} -o output.jar

Resource Extraction

# Extract resources from APK
unzip -l {apk_path}
unzip -d output_dir {apk_path}

# View AndroidManifest.xml
aapt dump xmltree {apk_path} AndroidManifest.xml

2. iOS IPA Analysis

Package Information

# Extract IPA metadata
unzip -l {ipa_path}

# View Info.plist
plutil -p {ipa_path}/Payload/*.app/Info.plist

Binary Analysis

# Extract binary information
otool -lv {binary_path}

# View strings in binary
strings {binary_path}

# Check entitlements
jtool --ent {ipa_path}/Payload/*.app/embedded.mobileprovision

3. Certificate and Signature Validation

Android

# View certificate information
keytool -printcert -jarfile {apk_path}

# Verify APK signature
jarsigner -verify -verbose -certs {apk_path}

iOS

# Check code signing
codesign -v --deep --strict {app_path}

# View provisioning profile
security cms -D -i {embedded.mobileprovision_path}

4. Hardcoded Secret Detection

String Extraction

# Extract all strings from binary
strings {binary_path} > strings_output.txt

# Search for API keys and secrets
grep -E "(API_KEY|api_key|SECRET|secret|PASSWORD|password|TOKEN|token)" strings_output.txt

# Search for AWS credentials
grep -E "(AKIA|ASIA)[0-9A-Z]{16,}" strings_output.txt

Common Secret Patterns

  • AWS Access Keys: AKIA... or ASIA... (20 characters)
  • GitHub Tokens: ghp_, gho_, ghu_, ghs_, ghr_
  • Generic API Keys: Various formats depending on service
  • Private Keys: -----BEGIN PRIVATE KEY-----
  • JWT Tokens: Three base64-encoded parts separated by dots

5. Insecure Storage Identification

Android

# Check for SharedPreferences usage
grep -r "SharedPreferences" smali/ 2>/dev/null

# Check for file-based storage
grep -r "FileOutputStream\|FileInputStream\|openFileOutput\|openFileInput" smali/ 2>/dev/null

# Check for SQLite database
grep -r "SQLiteDatabase\|SQLiteOpenHelper" smali/ 2>/dev/null

iOS

# Check for UserDefaults
strings {binary_path} | grep -i "UserDefaults"

# Check for Keychain usage
strings {binary_path} | grep -i "Keychain"

# Check for plist storage
find {app_path} -name "*.plist" -type f

6. Network Security Configuration Analysis

Android

# Check for cleartext traffic
grep -r "android:usesCleartextTraffic" AndroidManifest.xml

# Check for network security config
cat app/src/main/res/xml/network_security_config.xml 2>/dev/null

iOS

# Check ATS (App Transport Security) settings
plutil -p {app_path}/Info.plist | grep -A 10 "NSAppTransportSecurity"

7. Third-Party Library Vulnerability Scanning

Library Identification

# List all JAR files in APK
unzip -l {apk_path} | grep "\.jar$"

# Check for known vulnerable libraries
grep -r "org.apache.commons\|com.google.gson\|com.fasterxml.jackson" smali/ 2>/dev/null

Version Checking

  • Use OWASP Dependency-Check for vulnerability scanning
  • Use mobsfscan for mobile-specific vulnerability detection
  • Check CVE databases for known vulnerabilities

8. WebView Security Checks

Android

# Check for JavaScript enabled
grep -r "setJavaScriptEnabled(true)" smali/ 2>/dev/null

# Check for DOM storage enabled
grep -r "setDomStorageEnabled(true)" smali/ 2>/dev/null

# Check for addJavascriptInterface
grep -r "addJavascriptInterface" smali/ 2>/dev/null

9. Deep Link Analysis

Android

# Check for intent filters in manifest
grep -A 5 "intent-filter" AndroidManifest.xml

# Check for deep link schemes
grep -o '<data android:scheme="[^"]*"' AndroidManifest.xml

iOS

# Check for URL schemes in Info.plist
plutil -p Info.plist | grep -A 5 "CFBundleURLTypes\|URL Sc
よくある質問

このスキルはアプリを電話上で実行しますか?

いいえ。これは静的なレビューを説明しており、アプリを起動せずにアプリのファイルを読むことを意味します。

どのような問題を探しますか?

アプリ内に保存された秘密情報、弱い証明書の確認、安全でないデータの保存などを探します。

誰が使うべきですか?

そのアプリをレビューする許可を持つ、セキュリティテスターと開発者向けです。

詳細

作者による元の説明

Mobile application security reconnaissance — APK/IPA analysis, permission enumeration, certificate validation, hardcoded secret detection, insecure storage identification, network security analysis.

repo: BitterSecurity/Decepticon

人気

GitHubのスター
6.5k
ランキング
#14144
ライセンス
Apache-2.0
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル