MG1937/ASC
Security & PrivacyOn-demand Android APK decompiler for mobile reverse engineers and AI agents, with millisecond class extraction and cross-DEX reference search.
What it does
Droid ASC treats a compiled Android APK as a read-only database instead of fully unpacking it and building a global index first. It probes the Deflate stream directly, locates classes and references using the deterministic layout left by the R8 compiler, and rebuilds only the requested class into a small in-memory DEX for decompilation or disassembly. The result is quick, targeted queries over large APKs with little memory and no disk cache, aimed at mobile reverse engineers and coding agents that need to inspect many APKs at once.
The CLI exposes five operations: getclass (find a class and decompile it to Java), disassemble (extract a class and output smali via dadguard), listclass (enumerate classes across all DEX entries, optionally filtered by prefix), getmanifest (print AndroidManifest.xml as XML), and findrefs (search string/type/method/field references, plus extends/impl subclass and interface lookups). A GUI mode is also available. The project's design and benchmark claims were presented at Black Hat Europe Arsenal Droid ASC talk.
Quick start
Requires Python and pip; the package installs from PyPI or from the repository root.
pip install droidasc
After installation the droidasc command is available globally. A minimal inspection flow for an APK:
droidasc listclass app.apk --prefix com.example
droidasc getclass app.apk Lcom/example/MainActivity; -o MainActivity.java
droidasc findrefs app.apk string api_key -o refs.txt
droidasc getmanifest app.apk
Outputs go to stdout unless -o is given; --threads N controls the worker pool for commands that support it. Running python main.py from the repository also works and delegates to the same entry point. The README includes the full option reference and more examples usage examples.
Constraints
- This is the Python implementation; the maintainers describe a parallel Rust rewrite with 10x speed and full APK decompilation, recommended when only a binary is needed rust_ASC.
disassemble --methodrequires an exact method signature such as'run(I)V'; a bare method name is rejected.- The benchmark figures in the README are the author's measurements across four named APKs and should be treated as such, not as universal guarantees.
- Android reverse engineering and decompilation impose legal and licensing obligations on the user; the project is Apache-2.0 licensed but gives no guidance on target APK rights.
HotRepo's take
The repository had 1,365 stars on the 2026-09-16 all-language daily snapshot, after a recorded jump from 1,056 the day before. Its Show HN thread drew a comment noting JADX's long-standing memory problems and hoping ASC improves reverse-engineering pipelines HN comment, with a follow-up asking about MCP support reply. That matches the project's stated target: agents and researchers working across many APKs. The unresolved question is whether users adopt the Python CLI directly or migrate to the faster Rust version, which the README itself points binary-only users toward.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- skylot/jadxTurns Android APKs and Dalvik bytecode back into readable Java for reverse engineers and security analysts.
- morluto/awesome-reverse-engineeringA curated index of reverse-engineering tools, books and training resources organized by analysis task, for security researchers and binary analysts.
- Zfinix/elevenA desktop reverse-engineering workbench that lets an ACP-compatible AI agent read, rename and patch binaries with your approval.
- bethington/ghidra-mcpBridges Ghidra to AI agents so reverse-engineering of binaries can be driven by natural-language tool calls.