Authorization notice. Dexsql Release is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. Combining several app packages to map their code is reverse engineering, so keep it to software you are allowed to analyze.
Who it is forA developer or analyst working with a large app that ships many DEX files, who needs one answer across all of them.
The problemRunning separate searches per DEX file misses cross-file references and forces manual merging of results.
The outcomeOne result set that covers every supplied file, so a method or string can be found wherever it lives in the app.
What you need first
- A terminal on macOS, Linux or Windows
- The DexSQL executable or archive from the Releases page that matches your OS and CPU
- An APK or DEX file you have the right to analyze
- An MCP-capable AI client such as Codex, if you want agent access
Steps
- Download the executable for your OS and CPU from the Releases page and set it up as in the manual MCP or CLI steps.
- Pass each input file with its own
--inputflag, for exampledexsql query --input base.apk --input feature.apk --sql "SELECT DISTINCT method FROM method_strings WHERE value = '<value>'". (inferred, check the README) - Use
dexsql query --input base.apk --input feature.apk --interactiveto run several exploratory queries against the same loaded inputs. (inferred, check the README) - Note which input each result came from, since the query output shows method names and you should confirm the source file before drawing conclusions.
Prompt for your agent
Using the dexsql CLI, query <APK or DEX path 1> and <APK or DEX path 2> together for the method <method name>. Report which input files contain a matching method and state any method that appears in only one file.
Caveat. The README confirms that repeating --input queries multiple files together but does not say how results are labeled by source file, so check the output format yourself before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for LSPosed/dexsql-release and "Search all DEX files in an app in a single query"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer