android-reverse-engineering
できること
このスキルは、Androidアプリのパッケージを開き、そのコードを読める形にして、Webのアドレスと呼び出しの経路を見つけます。Androidアプリを分析する開発者やセキュリティの研究者向けです。
使う場面
- ✓Androidのapkや似たパッケージの中のコードを読みたいとき。
- ✓Androidアプリが使うWeb APIのエンドポイントを見つける必要があるとき。
- ✓アプリの画面がネットワークのコードに至る経路をたどりたいとき。
スキルのリンク
https://github.com/SimoneAvogadro/android-reverse-engineering-skill/blob/master/plugins/android-reverse-engineering/skills/android-reverse-engineering/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このAPKをデコンパイルして、アプリが呼び出しているAPIのエンドポイントを、それぞれ短いメモ付きで一覧にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まずどのツールがインストールされているか、アプリの種類は何かを確認します。その後パッケージをデコンパイルし、コード内のネットワーク呼び出しを検索します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Android Reverse Engineering
Decompile Android APK, XAPK, JAR, and AAR files using jadx and Fernflower/Vineflower, trace call flows through application code and libraries, and produce structured documentation of extracted APIs. Two decompiler engines are supported — jadx for broad Android coverage and Fernflower for higher-quality output on complex Java code — and can be used together for comparison.
Prerequisites
This skill requires Java JDK 17+ and jadx to be installed. Fernflower/Vineflower and dex2jar are optional but recommended for better decompilation quality. Run the dependency checker to verify:
bash ${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/check-deps.sh
On Windows (PowerShell):
& "${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/check-deps.ps1"
If anything is missing, follow the installation instructions in ${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/references/setup-guide.md.
Workflow
Phase 0: Fingerprint the App (recommended before anything else)
Before installing tools or decompiling, run a fast triage to determine what kind of app you are looking at. Decompiling Java is mostly useless for Flutter, React Native, Cordova/Capacitor, and Xamarin apps — the real code lives elsewhere. The fingerprint script tells you which.
bash ${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/fingerprint.sh <file.apk|file.xapk>
It prints, in one screen:
- Mobile framework (Flutter / React Native / Cordova / Xamarin / Native Kotlin / etc.) with the file marker that triggered the verdict.
- HTTP stack (Retrofit, OkHttp, Ktor, Apollo, Volley) detected via DEX string scan — works even when class names are obfuscated.
- DI / serialization signals (Hilt, Dagger, Koin, kotlinx.serialization, Moshi, Gson, Jackson).
- Obfuscation level estimate based on root-level short-named packages.
- Notable third-party SDKs (AppsFlyer, Datadog, Sentry, Firebase, payment SDKs, support/chat SDKs, etc.).
- Consolidated native libraries across the base APK and all splits — XAPK split bundles often place
.sofiles inconfig.<abi>.apk, not inbase.apk. - Recommended next step, which differs by framework (e.g. for Flutter the script suggests
blutter/strings libapp.sorather than jadx).
If the fingerprint says the app is Flutter / RN / Cordova / Xamarin, stop and switch to the framework-appropriate tooling. Phases 1–5 below assume a native (Java/Kotlin) Android app.
Phase 1: Verify and Install Dependencies
Before decompiling, confirm that the required tools are available — and install any that are missing.
Action: Run the dependency check script.
bash ${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/check-deps.sh
On Windows (PowerShell):
& "${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/check-deps.ps1"
The output contains machine-readable lines:
INSTALL_REQUIRED:<dep>— must be installed before proceedingINSTALL_OPTIONAL:<dep>— recommended but not blocking
If required dependencies are missing (exit code 1), install them automatically:
bash ${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/install-dep.sh <dep>
On Windows (PowerShell):
& "${CLAUDE_PLUGIN_ROOT}/skills/android-reverse-engineering/scripts/install-dep.ps1" <dep>
The install script detects the OS and package manager, then:
- Installs without sudo when possible (downloads to
~/.local/share/, symlinks in~/.local/bin/) - Uses sudo and the system package manager when necessary (apt, dnf, pacman)
- If sudo is needed but unavailable or the user declines, it prints the exact manual command and exits with code 2 — show these instructions to the user
Windows notes: The PowerShell install script uses winget, scoop, or choco (in that order). If none are available, it downloads directly to %USERPROFILE%\.local\share\ and adds the directory to the user's PATH. After running install-dep.ps1, the PATH is persisted but the current terminal session may not see it. The check-deps.ps1 and decompile.ps1 scripts automatically refresh PATH from the user environment, so re-running them will find newly installed tools without restarting the terminal.
For optional dependencies, ask the user if they want to install them. Vineflower and dex2jar are recomme
よくある質問
必要なツールは何ですか?
Java 17以降とjadxが必要です。FernflowerやVineflowerは推奨の追加ツールです。
FlutterやReact Nativeのアプリでも使えますか?
これらのアプリでは、Javaのデコンパイルはほとんど役に立たないとスキルは警告しています。実際のコードは別の場所にあるためです。
どのファイル形式に対応していますか?
APK、XAPK、JAR、AARのファイルに対応しています。
詳細
作者による元の説明
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP API endpoints (Retrofit, OkHttp, Volley), and trace call flows from UI to network layer. Use when the user wants to decompile, analyze, or reverse engineer Android packages, find API endpoints, or follow call flows. 中文触发词:反编译APK、安卓逆向、提取API、分析安卓应用、反编译安卓、逆向工程、追踪调用链、提取接口
人気
- GitHubのスター
- 8.6k
- ランキング
- #12349
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/12
コメント
- …
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。