Bounty mobile

From 26zl/cybersec-toolkit · View interactive version

Bounty mobile is an AI agent skill from the GitHub repository 26zl/cybersec-toolkit. Use when bug-bountying an Android (APK) or iOS (IPA) app. Covers static + dynamic analysis, Frida hooking, certificate pinning bypass, deep link / intent abuse, IPC, secrets in bundles. Triggers on "bounty mobile", "android app", "ios app", "apk analysis", "frida".

How to use this skill

Skill file

Mobile bug bounty methodology

Pre-flight. Run authorization-gate and read the program policy first: confirm that automated scanning, brute force and rate-limit testing are allowed, and stay inside scope. Start with suggest_for_bounty or guided_assessment. Commands below are CLI notation: run them with run_tool/run_pipeline using registry names (list_tools), and run_script only for real logic. If policy blocks a command (for example CYBERSEC_MCP_ALLOW_EXTERNAL=0), ask the operator to fix the configuration and restart; do not fall back to the client shell. A tool that is not in the registry is a recommendation to the user (approval-gated install), not a bare command.

1. Get the artifact

Android APK:

# From device
adb shell pm path com.target.app
adb pull /data/app/.../base.apk

# From APKMirror / APKPure (be sure of version match)

iOS IPA: requires jailbroken device or developer build (frida-ios-dump, flexdecrypt).

2. Static analysis (Android)

# Decompile to source (jadx-gui is a GUI, so use the CLI)
run_tool("jadx", "-d ./out base.apk")

# Disassemble to smali
run_tool("apktool", "d base.apk -o ./out")

# Manifest (aapt2 is not a registry tool; read ./out/AndroidManifest.xml from apktool)

# Quick wins
run_pipeline([{"tool": "grep", "args": "-rhoE https?://[A-Za-z0-9./_?=&%-]+ ./out/sources/"}, {"tool": "sort", "args": "-u"}])   # endpoints
run_tool("grep", "-rniE -e api.?key -e secret -e token -e password ./out/sources/")                            # hardcoded creds
run_tool("trufflehog", "filesystem ./out/")

Specifically check AndroidManifest.xml for:

Look at assets/ and res/raw/ for embedded files (often contain SDK keys, dev URLs).

3. Static analysis (iOS)

# IPA is just a ZIP
unzip app.ipa -d app

# Class-dump from binary (if not encrypted)
class-dump-z Payload/MyApp.app/MyApp

# If encrypted (FairPlay) — need decrypted dump from jailbroken device:
# frida-ios-dump or bagbak

# Strings & secrets
strings Payload/MyApp.app/MyApp | grep -E "https?://|api[_-]?key"
trufflehog filesystem Payload/

Inspect Info.plist for:

4. Dynamic — Frida + Objection

# List apps on device
frida-ps -Uai

# Spawn with hook
frida -U -f com.target.app -l hook.js --no-pause

# Objection — high-level wrapper
objection -g com.target.app explore
# Inside objection:
android sslpinning disable
android hooking watch class_method com.target.app.AuthManager.login
android root disable
ios sslpinning disable
ios jailbreak disable

objection covers ~80% of routine instrumentation. Use Frida directly only when you need custom hooks.

5. Cert pinning bypass

| Approach | When |

| --- | --- |

| objection ... ssl-pinning disable | First try, works on most apps |

| Custom Frida script (apk-mitm, frida-ssl-bypass) | When objection fails |

| Patching the APK with apk-mitm | Non-rooted devices, or for permanent test build |

| Magisk + LSPosed + JustTrustMe | Rooted device, app-side bypass |

After bypass, route traffic through Burp / mitmproxy and replay/edit.

6. IPC / deep-link / intent abuse

For each exported=true activity / service / receiver:

# Trigger directly from adb
adb shell am start -n com.target.app/.SomeActivity --es param "value"
adb shell am broadcast -a com.target.app.ACTION_FOO --es key val

Look for:

ContentProviders: adb shell content query --uri content://com.target.app/... — many leak data.

7. Storage

Check what the app writes to disk (rooted device or post-frida pull):

8. Network traffic

# Setup mitmproxy / burp on host, route phone via WiFi proxy
# Install Burp/mitmproxy CA cert as system cert (rooted) or via apk-mitm patch

mitmproxy -p 8080 --mode regular
# or
burpsuite (Pro)

# Capture, intercept, replay, fuzz API calls just like web

After bypass + proxy, the target reduces to a normal API target → use bounty-api skill.

9. Tool stack from this installer (mobile module)

jadx, apktool, aapt2, frida, frida-tools, objection, mobsf, androguard, mitmproxy, apkleaks, apk-mitm.

iOS-specific (less common): class-dump, bagbak, frida-ios-dump, iproxy.

10. Reporting

Show the chain end-to-end: app → exposed component → impact. Include the exact adb command or Frida hook used. Note device + Android version + app version.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.