by MG1937
Rust ASC is a super FAST and lightweight Android decompiler designed for Agents/Mobile Researchers.
# Add to your Claude Code skills
git clone https://github.com/MG1937/rust_ASCGuides for using ai agents skills like rust_ASC.
Last scanned: 10/18/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-18T08:35:30.574Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how rust_ASC compares with popular alternatives.
rust_ASC is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by MG1937. Rust ASC is a super FAST and lightweight Android decompiler designed for Agents/Mobile Researchers. It has 157 GitHub stars.
Yes. rust_ASC passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/MG1937/rust_ASC" and add it to your Claude Code skills directory (see the Installation section above).
rust_ASC is primarily written in Rust. It is open-source under MG1937 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh rust_ASC against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
rust_ASC is a stateless Android APK and DEX decompiler with millisecond cross-reference search, written in Rust. It queries the compiled artifact directly instead of building a global index, so there is no preprocessing step, no persistent cache, and no multi-gigabyte memory footprint.
It is the Rust implementation of MG1937/ASC, the Python reference project, and preserves the same source layout, data structures, control flow and runtime behavior. On the CLI workloads below it is approximately 10× faster than the Python version.
Presented at Black Hat Europe Arsenal: Droid ASC: R8 Compiler Optimization as a DeCompiler Primitive.
Repository links:
https://github.com/user-attachments/assets/f1f71a75-1eca-4647-89ce-406ed2c63c6b
AndroidManifest.xml.radguard is a Git submodule. Clone it with the main repository:
git clone --recurse-submodules https://github.com/MG1937/rust_ASC.git
cd rust_ASC
cargo build --release
For an existing checkout:
git submodule update --init --recursive
cargo build --release
MCP is enabled by default. Build only the original CLI with:
cargo build --release --no-default-features
The executable is written to:
target/release/rust_ASC
On Windows, the executable name is rust_ASC.exe.
Thread control is consistent across getclass, listclass, listmethod, liststring, findrefs, and export:
--thread <N>.--thread immediately after the subcommand.available_parallelism() API.# Search every code reference to a string.
rust_ASC findrefs --thread 10 --debug app.apk string https://
# Search a type, method, or field.
rust_ASC findrefs --thread 10 app.apk type com.example.Main
rust_ASC findrefs --thread 10 app.apk method onCreate --class com.example.Main
rust_ASC findrefs --thread 10 app.apk field apiKey --class com.example.Main
# Search subclasses or interface implementors.
rust_ASC findrefs --thread 10 app.apk extends android.app.Activity
rust_ASC findrefs --thread 10 app.apk impl android.os.IInterface
# Treat --class as a fuzzy descriptor substring instead of an exact name.
rust_ASC findrefs --thread 10 app.apk method notify --class poc --fuzzy-class
# Decompile one class from an APK.
rust_ASC getclass --thread 10 --debug app.apk com.example.Main
rust_ASC getclass --thread 10 app.apk com.example.Main -o Main.java
# List all classes, optionally filtered by package/class prefix.
rust_ASC listclass --thread 10 app.apk
rust_ASC listclass --thread 10 --prefix com.example app.apk
# List method definitions without decompiling, optionally filtered by class/name.
rust_ASC listmethod --thread 10 app.apk
rust_ASC listmethod --class com.example.Main -f onCreate app.apk
rust_ASC listmethod app.apk -o methods.txt
# List string pool values, optionally filtered by substring.
rust_ASC liststring --thread 10 app.apk
rust_ASC liststring -f https app.apk
rust_ASC liststring app.apk -o strings.txt
# Decode AndroidManifest.xml.
rust_ASC getmanifest app.apk -o AndroidManifest.xml
# Export pseudocode for every class to the required output directory.
rust_ASC export --thread 10 --debug app.apk output
findrefs takes string, type, extends, impl, method, or field. extends and impl print matching class descriptors; the rest print referencing methods. For method and field, --class is an exact dotted name or Dalvik descriptor, and --fuzzy-class makes it a case sensitive substring. -o also writes the output to a file.
listmethod prints one Dalvik method descriptor per line, for example Lcom/example/Main;->onCreate(Landroid/os/Bundle;)V. It lists only methods defined in class data, in DEX/class/declaration order with duplicates preserved. --class takes an exact dotted name or descriptor; -f is a case insensitive name substring. -o writes to a file instead of stdout.
liststring prints one string pool value per line, straight from the DEX string table, including literals nothing references. Order is DEX central-directory then string index; duplicates across DEX files are preserved. -f is a case insensitive substring filter, while findrefs string is case sensitive. -o writes to a file instead of stdout. Values containing newlines span multiple lines.
export writes one .java pseudocode file per class under package-relative paths in the output directory, using the parallel APK pipeline from MG1937/radguard. --debug logs the export lifecycle.
rust_ASC mcp runs a stdio MCP server that exposes the CLI commands as tools: getclass, listclass, listmethod, liststring, getmanifest, and findrefs. Each call spawns a fresh CLI process, so behavior always matches the command line.
The listmethod tool accepts apk_path, optional class_name, filter, thread, and output. It returns exactly the CLI stdout; with output, it writes the method list to that file and returns empty text.
The liststring tool accepts apk_path, optional filter, thread, and output, with the same stdout and output semantics.
The findrefs tool accepts apk_path, query, optional thread, and optional output. query.kind is one of string, type, method, or field; method and field take optional name, class_name, and fuzzy_class. extends and impl are CLI only.
Configure it in your MCP client:
{
"mcpServers": {
"asc": {
"command": "/absolute/path/to/rust_ASC",
"args": ["mcp"]
}
}
}
Same workloads. JADX figures come from the ASC benchmark suite.
Global string cross-reference search
| TelegramX (59 MB) | WhatsApp (130 MB) | Grab (228 MB) | TencentQQ (318 MB) | |
|---|---|---|---|---|
| rust_ASC | 55 ms | 67 ms | 118 ms | 136 ms |
| JADX | 20 s | 32 s | 2m14s | 8m2s |
rust_ASC is 364x to 3,544x faster than JADX for global string xref search.
Single-class decompile
| TelegramX (59 MB) | WhatsApp (130 MB) | Grab (228 MB) | TencentQQ (318 MB) | |
|---|---|---|---|---|
| rust_ASC | 79 ms | 70 ms | 111 ms | 118 ms |
| JADX | 6 s | 15 s | 37 s | 1m32s |
rust_ASC is 76x to 780x faster than JADX for single-class decompile.
CLI peak memory
| TelegramX (59 MB) | WhatsApp (130 MB) | Grab (228 MB) | TencentQQ (318 MB) | |
|---|---|---|---|---|
| rust_ASC | 32 MB | 116 MB | 358 MB | 443 MB |
| JADX | 1,016 MB | 2.1 GB | 7.1 GB | 13.2 GB |
rust_ASC uses 19x to 32x less memory than JADX for CLI operation.
Disk cache
| TelegramX | Grab | TencentQQ | ||
|---|---|---|---|---|
| rust_ASC | 0 MB | 0 MB | 0 MB | 0 MB |
| JADX | 119 MB | 30 MB | 127 MB | 322 MB |
rust_ASC stays fully in memory with zero disk cache, while JADX writes up to 322 MB.
Because every query is stateless, an agent can analyze hundreds of APKs at once, even on weak machines.
The following measurements use CLI commands with no cache, no preprocessing, and direct searches of every code reference to the string https://.
| APK | APK size | CLI string-reference search | CLI single-class decompile | CLI RSS peak | Persistent cache |
|---|---|---|---|---|---|
| TelegramX | 59 MB | 55 ms | 79 ms — com.coremedia.iso.boxes.AlbumBox |
32 MB | 0 MB |
| 130 MB | 67 ms | 70 ms — com.whatsapp.apollo.Apollo |
116 MB | 0 MB | |
| Grab | 228 MB | 118 ms | 111 ms — com.grab.arrears.view.ArrearsPickUpDropOffView |
358 MB | 0 MB |
| TencentQQ | 318 MB | 136 ms | 118 ms — com.tencent.icgame.game.trtc.roomservice.voiceroom.a.b |
443 MB | 0 MB |
https:// directly from the APK, without cache or preprocessing.Full-APK pseudocode export is provided through MG1937/radguard's public export_to_directory API and uses its shared parallel APK export pipeline. The following benchmark fully decompiles TencentQQ.apk (383 MB, 41 DEX files).
| Workers | Wall time | Speedup vs. 8 workers | Notes |
|---|---|---|---|
| 8 | 7.4 s | 1.00× | 725% CPU, 827,840 KiB max RSS |
| 16 | 4.17 s | 1.78× | Reported run |
| 32 | 2. |