Skip to content
SkillMixed4,034 tokens in use

APK Reverse

A command-line workflow for Android APK analysis: unpack, decompile, review smali, rebuild and sign, and hook with Frida, with helper scripts for each step.

44,996 stars on the repository MIT Licensezhaoxuya520/reverse-skill · skills/apk-reverse
git clone https://github.com/zhaoxuya520/reverse-skill.git
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing APK Reverse costs

94tokens idle
4,034tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: scripts/decode.sh, scripts/frida-run.sh, scripts/rebuild-sign-install.sh.

Touches

shelldetectednetworkdetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Fair
  • Frontmatter8/15
  • Structure17/25
  • Examples15/15
  • Output7/15
  • Size11/15
  • Resources0/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Fair
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 142
  • File that was not read−15

    a file the skill ships that was not read, so what it does is unknown

    scripts/decode.ps1
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    scripts/decode.sh, line 76
  • File that was not read−5

    a file the skill ships that was not read, so what it does is unknown

    scripts/frida-run.ps1
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    scripts/frida-run.sh, line 54
  • File that was not read−5

    a file the skill ships that was not read, so what it does is unknown

    scripts/manifest-summary.ps1
  • File that was not read−5

    a file the skill ships that was not read, so what it does is unknown

    scripts/rebuild-sign-install.ps1

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity96
  • Maintenance72
  • Community72
  • Maturity28
  • Momentum40

APK Reverse is a skill for authorized analysis of Android apps from the command line. It uses jadx for Java decompilation, apktool for smali and resources, Frida for dynamic hooking and adb for devices, and it hands off to IDA or radare2 when the logic lives in native libraries.

Helper scripts (PowerShell and bash versions) decode an APK, run Frida, summarize the manifest, and rebuild, align, sign and install a modified app. The instructions are written in Chinese and expect the reverse-skill repository’s tool index and scope rules; dynamic analysis is meant for scope-authorized devices.

What You Get

  • Scripts to decode an APK with jadx and apktool and print a summary of package, Java files, smali folders and native libraries
  • A Frida runner for device and process listing, spawn and attach
  • A rebuild script that runs apktool, zipalign and apksigner, and can install with adb
  • A manifest summary script and four reference files on Android internals, a security checklist and Frida

Common Use Cases

  • Reviewing the login, signing and certificate-check logic of an app you are authorized to test
  • Producing a manifest and component summary for a mobile security assessment
  • Hooking Java methods on a test device to observe parameters and return values
  • Rebuilding and signing a patched APK for a test device

What Makes It Unique

It pairs a clear tool split (jadx to read, apktool to patch, Frida to observe, adb for the device) with scripts for the steps that are easy to get wrong, in both PowerShell and bash. It lists its own prohibitions, such as not patching smali before reading the manifest and entry point, and it defines when to move from Java to native analysis.

Under The Hood

The skill ships PowerShell and bash scripts, which the agent runs. They call jadx, apktool, zipalign, apksigner, keytool, adb and Frida. The scripts write decompiled output next to the APK, can delete an old output folder when asked, create a debug keystore under the home folder if none exists, and can install a rebuilt app onto a connected device. When a tool is missing, they call the repository’s bootstrap script, which downloads tools such as jadx and apktool from GitHub releases and installs Frida tools from PyPI. The instructions also read local repository notes before acting. Use only on apps and devices you are authorized to test.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers