apk-bugbounty
БесплатноЗапускает вложенные скриптыНе проверенAndroid APK static analysis for bug bounty hunting. Decompiles APKs with BOTH Jadx AND Apktool for maximum coverage. Analyzes secrets, exported components…
от mswell★ 74 звезды на GitHubОб этом скилле
Android APK Bug Bounty Analysis Skill
Static analysis of decompiled Android APKs for bug bounty programs.
Rule #1: NO HALLUCINATION. Every finding MUST be backed by concrete code evidence (file path + line + snippet) and a clear, reproducible exploit path.
Rule #2: No impact = not reported. Ignore theoretical issues without an attack vector.
Rule #3: BRAIN DUMP MANDATE. Before listing vulnerabilities, output a Brain Dump documenting your reasoning, what you searched and failed to find, and why you discarded false positives.
Rule #4: DUAL DECOMPILATION. ALWAYS run BOTH Jadx AND Apktool on every APK. Never skip one. Each tool reveals data the other misses.
Rule #5: CONFIGURATION-TO-CAPABILITY TRACE. A string is not a finding merely because it looks secret. For every production configuration holder with opaque/high-entropy values, map constant → accessor/interface → consumer → SDK/API operation and classify its capability before closing the secrets phase. Obfuscation is not an exemption: use Kotlin metadata, implemented interfaces, call sites, smali, and SDK builders to recover semantics.
Tool Usage
Use the harness's available file-search, file-read, and shell tools. Prefer structured search/read tools when available; use shell commands when needed to run analysis tools or inspect their output.
Resolve every references/... path relative to the directory containing this SKILL.md, not the target APK workspace. Parallelize independent phases only when the harness supports it; otherwise run the same phases sequentially.
Authorization gate: before any network request, device interaction, credential test, or attempt to access a cloud/vendor resource, confirm the target and action are explicitly authorized and in scope. Without that authorization, do offline static analysis only and record the untested branch. Never bulk-collect records or invoke a state-changing endpoint merely to establish a credential's capability.
Phase 0: Setup & Decompilation
Goal: Validate tools, decompile with BOTH engines, create output directory, assess target.
Step 1: Validate Tools
which jadx && jadx --version || echo "FATAL: jadx not found in PATH"
which apktool && apktool --version || echo "FATAL: apktool not found in PATH"
If either tool is missing, STOP and inform the user immediately.
Step 2: Handle Input Format
| Input | Action |
|---|---|
.apk |
Proceed to Step 3 directly |
.xapk |
unzip target.xapk -d xapk_contents/ → locate base.apk and split APKs → decompile base.apk |
.aab |
bundletool build-apks --bundle=target.aab --output=target.apks → unzip target.apks → decompile |
| Split APKs | Identify base.apk → decompile it; note split configs for reference |
| Already decompiled | Verify both Java sources AND smali*/ exist. If only one, run the missing tool |
Step 3: Dual Decompilation (MANDATORY — NO EXCEPTIONS)
mkdir -p .apk-audit
# ALWAYS run both tools
jadx -d out_jadx "$APK_FILE" --no-res --threads-count 4 2>&1 | tail -5
apktool d "$APK_FILE" -o out_apktool -f 2>&1 | tail -5
Why both:
- Jadx → readable Java source in
out_jadx/sources/— best for business logic, control flow, taint analysis - Apktool → faithful smali bytecode + properly decoded XML + raw assets in
out_apktool/— catches obfuscated strings, resource values, and structures Jadx misses or decompiles incorrectly
Step 4: Map Target Structure
<workspace>/
├── out_jadx/
│ ├── sources/ ← Java source (PRIMARY for logic analysis)
│ └── resources/ ← Jadx-extracted resources
├── out_apktool/
│ ├── AndroidManifest.xml ← Properly decoded manifest (USE THIS ONE)
│ ├── smali*/ ← Bytecode (catches what Jadx misses)
│ ├── res/ ← Decoded XML (strings.xml, network_security_config, file_paths)
│ ├── assets/ ← Raw assets, configs, certs, proto files
│ ├── lib/ ← Native libraries (.so)
│ └── unknown/ ← Proto schemas, build artifacts
└── .apk-audit/
└── report.md ← Final report
Step 5: Initial Assessment
Quickly determine using Grep/Read:
- Package name, version, minSdk, targetSdk from
out_apktool/AndroidManifest.xml - Obfuscation level — are class names readable or
a.b.cstyle? - Component count — how many activities, services, receivers, providers?
Search paths for ALL subsequent phases: out_jadx/sources/, out_apktool/smali*/, out_apktool/assets/, out_apktool/res/, out_apktool/unknown/, out_apktool/lib/
Subagent Orchestration
Delegate to 3 parallel specialized subagents (balanced workload), then compile report.
Wave 1 (PARALLEL — launch all three in a single message):
├── mobile-security agent → Phases 1 + 4 (Manifest/Attack Surface + WebView/Taint)
├── security-automation agent → Phases 2 + 3 + 5 (Secrets + Network + Data Storage)
└── pentest agent
Установить apk-bugbounty в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл apk-bugbounty?
Android APK static analysis for bug bounty hunting. Decompiles APKs with BOTH Jadx AND Apktool for maximum coverage. Analyzes secrets, exported components, WebViews (Taint Analysis), deep links, Firebase, Native Libs, IPC abuse, and business logic flaws. Every finding MUST have concrete evidence and real exploit impact.
Как установить скилл apk-bugbounty?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл apk-bugbounty запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic