analyze-apk
What it does
It guides a step-by-step static analysis of an Android APK file using the Androguard tool, from reading its metadata to scanning for vulnerabilities. It is for security reviewers and developers examining Android apps.
When to use it
- βWhen a security reviewer receives an Android app file and needs a full static review.
- βWhen a developer wants to check their own Android app for risky settings or exposed web addresses.
- βWhen an analyst needs a written report of the app's findings.
Skill link
https://github.com/androguard/androguard/blob/master/.claude/skills/analyze-apk/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
βRun a full static analysis on this Android app file and give me a written report.β
5 new skills a week. 1 minute to read.
How it works
The skill runs the Androguard tool in phases: first a basic overview, then listing classes and methods, then decompiling, searching for references and scanning for known problems. It ends with a report.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/analyze-apk β Androguard static analysis
Input
$ARGUMENTS β path to an APK (preferred). If only a package name is given, look under workspace/samples/ for a matching APK or ask for a path.
Set:
$APKβ APK path$PKGβ package name fromandroguard -i $APK(or manifest)
Phase 1 β Recon
androguard -i "$APK"
unzip -l "$APK" | head -80
unzip -l "$APK" | grep -E '\.so$|classes.*\.dex' | head -40
Record package, main activity, DEX count, permissions, signing notes, native libs.
Phase 2 β Inventory
androguard -i "$APK" --list-classes | head -200
androguard -i "$APK" --list-methods | head -200
Identify the appβs own package prefix for --only-package.
Phase 3 β Decompile (requires [decompile])
mkdir -p "workspace/output/$PKG"
androguard -i "$APK" -d "workspace/output/$PKG/" --only-package "$PKG"
If decompiler missing: pip install -e '.[decompile]' (with PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 on 3.14+).
Phase 4 β Search & vulns
androguard -i "$APK" --findrefs string --findrefs-value http
androguard -i "$APK" --findrefs string --findrefs-value api
androguard -i "$APK" --scan-vulns
Also search decompiled tree for secrets/URLs (rg / grep on workspace/output/$PKG).
Phase 5 β Deep methods
For suspicious methods:
androguard -i "$APK" --decompile-method 'fully.qualified.Class#method'
androguard -i "$APK" --disasm --class 'ClassName' --method 'methodName' # needs [disasm]
Phase 6 β Report
Write workspace/reports/$PKG-$(date +%Y-%m-%d).md using the agent report template.
Every finding needs evidence (path or class#method) and impact β not a bare checklist.
FAQ
Does this run the app?
No. It is static analysis, which reads the app files without starting the app.
What does the report include?
It includes confirmed findings and notes on any scan results that were not verified.
What is needed first?
The skill needs the Androguard tool installed, with the decompiler extra for the full review.
Details
Original description by the author
Full static analysis of an Android APK with Androguard β metadata, decompile, findrefs, vulns, markdown report
repo: androguard/androguard
Popularity
- GitHub stars
- 6.4k
- Ranking position
- #14220
- License
- Apache-2.0
- Updated
- 10/25/2026
Comments
- β¦
More skills from this repository
decompile-apk
6.4kHelps your agent decompile an Android app file into readable Java code, either for the whole app or just one class or method.
find-refs
6.4kHelps your agent search an Android app file for strings, classes, methods and fields, to find where things like web addresses or keys are used.
scan-vulns
6.4kHelps your agent run a vulnerability scan on an Android app file, then check each finding and summarize the ones that are real.
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.