apkInspector
apkInspector is a tool designed to provide detailed insights into the zip structure of APK files, offering the capability to extract content and decode the AndroidManifest.xml file.
What it is and what it does
apkInspector is a Python library and CLI tool for analyzing Android APK files by reading their zip structure directly, without relying on external parsing libraries. It extracts file contents, decodes the AndroidManifest.xml binary format, and identifies tampering indicators such as multiple central directory records, unknown compression methods, and malformed manifest structures. The tool is designed for security researchers and developers who need to perform static analysis on APKs that use evasion techniques or fail to parse with standard tools.
The library is built with extensibility in mind, allowing integration into other security tools. It supports both programmatic use via a Python API and command-line operations for listing files, extracting contents, analyzing manifests, and checking for evasion indicators. It has no runtime dependencies and supports Python 3.5 through 3.14, making it portable across environments.
Use it for:
- Analyze malicious or evasive APKs that standard Android tools cannot parse
- Extract and inspect AndroidManifest.xml from APKs for permission and component analysis
- Detect APK tampering and structural anomalies in security research workflows
- Integrate APK parsing into custom security scanning or threat analysis pipelines
- Batch process multiple APKs to identify common evasion patterns or structural issues
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses APK files according to the zip specification, extracts contents, decodes AndroidManifest.xml, and identifies static analysis evasion techniques without external library dependencies.
Yes. Active maintenance, no dependencies, permissive license, and zero known vulnerabilities make it a low-risk addition. Install if you need to analyze APKs programmatically or from the CLI, especially those that fail with standard tools. The library design supports both standalone use and integration into larger security workflows.
Install
apkinspector on PyPI
pip
pip install apkinspectoruv
uv add apkinspectorpoetry
poetry add apkinspectorInstalling apkInspector
Before you install
Low friction; pure Python wheel with no runtime dependencies. Actively maintained with recent commits and updates across Python 3.5 through 3.14.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; attribution required.
Quickstart
pip install apkInspector
from apkinspector import APKInspector
apk = APKInspector('path/to/app.apk')
manifest = apk.get_manifest()
Verify before relying
- Whether the library API is stable and documented beyond docstrings (docs link not provided in fact sheet)
- Performance characteristics on large or malformed APKs
- Specific evasion techniques detected and their coverage
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4.0,>=3.5) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 292 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,127,817/month — #3,269 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apkinspector-1.3.6-py3-none-any.whl
Tags
More Security packages
Provides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
msalMSAL for Python handles OAuth2 and OpenID…
permissive · top 1,000 on PyPI
joserfcjoserfc implements JOSE standards (JWS, JWE,…
permissive · top 1,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI
argon2-cffi-bindingsProvides low-level CFFI bindings to the…
permissive · top 1,000 on PyPI
adalADAL for Python authenticates applications with…
permissive · top 1,000 on PyPI
pyaxmlparserParses Android APK files to extract metadata…
permissive · top 15,000 on PyPI
androguardAndroguard is a Python tool for analyzing,…
permissive · top 5,000 on PyPI
apkutils2Parses Android APK files to extract and display…
permissive · top 15,000 on PyPI
google-play-scraperScrapes application metadata, ratings, reviews,…
permissive · top 15,000 on PyPI
java-manifestEncode and decode Java's META-INF/MANIFEST.MF…
unclear · top 15,000 on PyPI
comment-parserExtracts comments from source code files across…
permissive · top 15,000 on PyPI
remotezipDownload individual files from remote zip…
permissive · top 15,000 on PyPI
mobsfscanmobsfscan is a static analysis tool that…
copyleft · top 15,000 on PyPI
pbixrayParse and extract metadata, tables, DAX…
permissive · top 15,000 on PyPI
pixelhogCompares PNG screenshots pixel-by-pixel and…
permissive · top 5,000 on PyPI