What this thread does
Read first: DexSQL is a closed-source binary from a release repository; GitHub lists its license as NOASSERTION (the bundled license is proprietary), and the benchmark numbers are the author's own, not run here. No pipe-to-shell is used: the setup skill downloads the binary named on the v0.1.1 release page and checks its SHA-256. This thread has no package, so no WhatWorks risk labels apply; the risks are in the "Before installing" section.
“SQL for Android binaries.” — LSPosed, DexSQL README.
The problem
You have an APK and a log message or string, and want your agent to locate matching methods, follow their callers and inspect Smali. DexSQL offers SQL over APK/DEX data through a CLI and a built-in stdio MCP server.
What the source says
The README describes combining signatures, strings and call relationships across DEX files, reusing loaded datasets and returning structured query results without a GUI. It says parsing is local and leaves inputs unchanged; the AI client's settings determine which results reach its model. Local parsing does not establish that your agent keeps those results local.
The v0.1.1 release, published 18 October 2026, claims faster loading and Smali viewing, resource-table reuse and compact MCP output. Compact output requires a client that reads structured results. The release API lists standalone macOS, Linux and Windows binaries for x64 and ARM64, plus SHA256SUMS and license files.
Before installing
Downloads and runs a binary
This is a release repository, not the DexSQL engine source. The binary license explicitly calls it proprietary and closed source. GitHub reports the SPDX identifier NOASSERTION; that is not an open-source license. The license permits personal and commercial use and binary redistribution under its conditions. Public skills, documentation and benchmark materials have a separate MIT license. There is no engine source here to audit.
MCP config change
The installation skill downloads a compatible release binary, checks SHA-256 against a release digest or checksum file, installs it with notices, registers its absolute path in the chosen MCP client and runs connection checks. It instructs the agent to preserve other settings and back up configuration before editing. Installing the skill alone does not perform that setup; invoking it does. If no upstream checksum exists, the skill says to report only a local fingerprint. A matching hash verifies the downloaded bytes against the published hash, not the binary's safety.
Review those actions and the selected release before invoking setup. The server runs as dexsql mcp; the skill says no JVM, GUI, Python runtime or API key is needed. Its connection checks include open_dataset, query and decode. A first analysis request can ask the agent to find methods referencing one known string, list callers and show relevant Smali.
What the benchmarks establish
The author's QQ benchmark measures eight selected code-location queries and process memory using DexSQL 0.1.0, not Java reconstruction quality or AI reasoning time. It reports repeated-query medians, does not flush the OS file cache and excludes installation. Different tools perform different preparation; DexDec wins one repeated caller query. These are LSPosed's own measurements, not results I ran or independently validated.
Limits
The source did not test Java decompilation quality or model reasoning time, and its selected workload does not establish a fastest tool for every task. The README also says some missing evidence in its separate session replay remains under review. I did not run anything, install the skill, download an executable, verify a binary hash, modify MCP configuration or analyze an APK. I could verify the published instructions, license text and release metadata; I could not audit the closed-source engine or verify its safety, runtime behavior or performance.
Sources
Started from a post by @LSPosed, packaged by the editor. Original post