# APKLeaks

> Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets.

Source: https://osinttools.io/tools/apkleaks/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** File
- **Category:** Data analysis and case notes
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI · Docker
- **Website:** https://github.com/dwisiswant0/apkleaks
- **GitHub:** dwisiswant0/apkleaks, 6,404 stars · Python · Apache-2.0 · last commit 2025-08-20
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

APKLeaks is an open-source command-line tool that takes an Android APK file, decompiles it with jadx and searches the code for URIs, API endpoints and secrets such as keys and tokens using a set of regex patterns. You can supply your own pattern file, and results can be saved as text or JSON.

Investigators use it to see which servers and third-party services an app talks to, which can reveal the infrastructure behind a scam app, stalkerware or a suspicious company. Security researchers use the same output to find keys that developers left in the code.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- APK decompilation via jadx
- Regex search for URLs, endpoints and secrets
- Custom pattern files
- Text or JSON output
- PyPI and Docker installs

## Pros

- Fast way to pull endpoints out of an app
- Custom patterns for specific hunts
- Widely used, with thousands of GitHub stars

## Cons

- Pattern matching produces false positives
- Android only
- Needs jadx (it offers to download it)

## When to use it

- Use it when you want to know which domains and APIs an Android app contacts.
- Use it when you are checking an app for leaked keys or hidden endpoints.

## Quick start

Install from PyPI (from the README):

```
pip3 install apkleaks
apkleaks -f ~/path/to/file.apk
```

## Alternatives

- [AI Voice Detector](https://osinttools.io/tools/ai-voice-detector/): Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API. (Freemium · File · passive)
- [ALEAPP](https://osinttools.io/tools/aleapp/): Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs. (Open source · File · passive · 1,055 GitHub stars)
- [Apache Tika](https://osinttools.io/tools/apache-tika/): Apache toolkit that detects file types and extracts text and metadata from over a thousand formats, including PDF and Office. (Open source · File · passive · 4,160 GitHub stars)
- [Apktool](https://osinttools.io/tools/apktool/): Open-source tool for decoding Android APK files into readable resources and smali code, and rebuilding them. (Open source · File · passive · 27,387 GitHub stars)
- [Autopsy](https://osinttools.io/tools/autopsy/): Open-source digital forensics platform and GUI for The Sleuth Kit, used to examine disk images, phones and other media. (Open source · File · passive · 3,468 GitHub stars)
- [CyberChef](https://osinttools.io/tools/cyberchef/): GCHQ's in-browser toolkit for decoding, decrypting, converting and parsing data by chaining operations into recipes. (Open source · File · passive · 36,545 GitHub stars)

All alternatives to APKLeaks in one table: https://osinttools.io/tools/apkleaks/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
