mobile-pentest
What it does
This skill teaches an agent how to test an Android or iOS app for security issues. It starts by watching the app's normal network traffic, since the same backend APIs are often tested like a web target.
When to use it
- βWhen a tester needs to check an Android APK or iOS app for API weaknesses.
- βWhen a bounty program includes a mobile app and its backend APIs.
- βWhen a tester's proxy cannot see the app's traffic and decompiling is needed.
Skill link
https://github.com/awarexone/Agentic-Bug-Hunter/blob/main/skills/mobile-pentest/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHelp me test this Android app's API. I can route its traffic through my Burp proxy.β
5 new skills a week. 1 minute to read.
How it works
The agent installs the app, routes its traffic through a proxy, and drives the main flows by hand. If the traffic is visible and replayable, it tests the API like any web target. Decompiling is used only when needed.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
MOBILE APP PENTEST (ANDROID / iOS)
Mobile apps talk to the same backend as the web app β but they ship a different, less-hunted attack surface: base URLs, API endpoints, header schemes, and hardcoded secrets that web recon never sees. Most hunters skip mobile. That's the edge.
The whole point: the APK/IPA is a copy of the client. Decompile it once and you get every endpoint the web JS never references, every staging/internal base URL, and often a live API key sitting in
strings.xml. Then you attack the backend like any web target.
RUNTIME-FIRST β THE ONE RULE THAT MATTERS
Do NOT start by decompiling. Decompiling first burns hours recovering crypto you may never need. Default order:
1. Install the app on a device/emulator (in scope confirmed via /scope)
2. Point it at Burp / mitmproxy
3. Drive the real business flows by hand (login, pay, edit profile, share)
4. After each action, check the proxy: are requests visible and replayable?
5. Traffic visible + replayable β STOP. Test the API like a web target.
6. Traffic pinned / encrypted / absent β THEN escalate to apktool/jadx/Frida.
Most of your paid mobile bugs (IDOR, auth bypass, business logic) come from step 5 β plain HTTP traffic you replay in Burp. Reversing (apktool/jadx/Frida) is a support step to get traffic flowing or to recover a request signer, not the goal.
If Burp already has a stable, replayable request, you are done reversing. Switch to server-side testing.
0. SCOPE CHECK FIRST
Mobile has its own scope traps. Before touching the binary:
- Is the app itself in scope, or only the web domains? Many programs list the app package (
com.target.app) explicitly. If only*.target.comis listed, the API endpoints the app calls are usually in scope β but the app binary analysis may not be. Run/scope. - Third-party SDKs (analytics, ads, crash reporters) bundled in the APK are out of scope β they belong to Firebase/Sentry/AppsFlyer, not the target.
- Don't report "app is debuggable" / "no root detection" / "no obfuscation" β these are N/A on almost every program (no real-world attacker impact). See the Never-Submit list below.
1. SETUP (one-time)
# Android device/emulator over adb
adb devices
adb install target.apk # or pull a live install: adb shell pm path com.target.app
# Proxy β route device traffic through Burp or mitmproxy
# Android: Settings > Wi-Fi > proxy = <laptop-ip>:8080, install Burp CA as a *system* cert
# (user certs are ignored by apps targeting API 24+ β push to /system/etc/security/cacerts on a rooted device,
# or use objection patchapk to inject a network_security_config that trusts user certs)
mitmproxy --listen-port 8080 # CLI alternative to Burp; mitmweb for a UI
# Reversing toolchain
apktool d target.apk -o target_src # smali + resources + manifest (recompilable)
jadx-gui target.apk # DEX -> readable Java (best for reading logic)
jadx -d target_jadx target.apk # CLI batch decompile
# Runtime instrumentation
pip install frida-tools objection
# Pin a compatible gadget version β Frida 17 broke older flows; 16.7.x is the stable bug-bounty pick (2025)
frida --version
iOS needs a jailbroken device (Apple ships no emulator that defeats pinning). Same flow: install IPA, proxy, drive UI, escalate to frida/objection only if pinned.
2. STATIC SWEEP β SECRETS + ENDPOINTS WEB RECON MISSES π
This is the highest-ROI 5 minutes in mobile hunting. Decompile, then grep. The quick check (no rooted device needed):
apktool d target.apk -o target_src
# Hardcoded secrets β strings.xml is where lazy devs stash keys
grep -rn "api_key\|secret\|password\|token\|Authorization\|Bearer\|client_secret\|private_key" \
target_src/ --include="*.smali" --include="*.xml"
# Base URLs + endpoints β the gold. Strip framework noise:
grep -rn "https://" target_src/ | grep -v "schema\|xmlns\|android\|google\|w3.org\|apache" | sort -u | head -80
# Firebase / cloud creds frequently shipped in resources
grep -rniE "firebaseio\.com|amazonaws\.com|s3\.|googleapis|cloudfront|\.blob\.core" target_src/
# Use jadx output (Java) for readability when smali is unreadable
jadx -d target_jadx target.apk
grep -rnE "https?://[a-z0-9.-]+" target_jadx/sources/ | grep -viE "android|google|w3\.org" | sort -u
Automate it with apkleaks (regex pack for URIs + secrets) when installed:
FAQ
Why start with traffic instead of decompiling?
The skill says decompiling can take hours and is usually needed only when traffic is pinned, encrypted, or missing.
What can decompiling reveal?
It can reveal hidden endpoints, staging base URLs, and sometimes hardcoded secrets.
Which tools does it name?
The skill names Burp, mitmproxy, apktool, jadx, Frida, and objection.
Details
Original description by the author
Mobile app pentest for bug bounty (Android APK + iOS IPA) β runtime-first workflow: install app, proxy through Burp/mitmproxy, drive the UI, capture packets, then test the API exactly like a web target; escalate to decompile (apktool/jadx) and Frida/objection only when traffic is SSL-pinned, encrypted, or absent. Covers APK/IPA decompile for hardcoded secrets + hidden API endpoints + base URLs the web app never exposes, exported-activity and deeplink intent injection, WebView addJavascriptInterface bridge abuse, SSL pinning bypass (objection patchapk / Frida CertificatePinner + checkServerTrus
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14793
- License
- MIT
- Updated
- 10/28/2026
Comments
- β¦
More skills from this repository
bug-bounty
5.5kHelps your agent plan a bug bounty review in stages, from checking the program scope and mapping assets to testing leads, validating impact, and writing a report.
agentic-app-audit
5.5kHelps your agent review a live AI assistant from the outside for risks such as hijacked tool calls, poisoned memory, and actions taken with more access than the user has.
argus
5.5kHelps your agent run six automated scanners for common web and AI app flaws, such as open cross-origin access, JWT weaknesses, and blind bugs confirmed out-of-band.
bb-methodology
5.5kHelps your agent plan a bug bounty session in stages, choosing the next step and the right checks, and dropping ideas that cannot cause real harm.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.