Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
apk-info — APK full-featured parser | Kitploit
Tools/GitHubGitHub/delvinru/apk-info
Android SecurityStatic AnalysisReverse EngineeringForensicsMalware AnalysisBinary Analysis
GitHubdelvinru/apk-info

apk-info

APK full-featured parser

View Repository
13317677 days agoReviewed by Kitploit
Share

apk-info

crates.io rust downloads docs.rs pypi PyPI Downloads license

Fast, malware-robust parser for Android apk/xapk/apkm/apks files.

Documentation: https://delvinru.github.io/apk-info/

$ apk-info show apkstest.apk
apkstest.apk
  Package         io.github.delvinru.apkstest
  Label           APKS Test
  Version         1.0.7 (7)
  SDK             min 21 · target 35
  Main activity   io.github.delvinru.apkstest/.MainActivity
  ABIs            x86_64

Features

  • A malware-friendly zip reader that reads archives the way Android does, including the BadPack technique (great article about it) and ZIP64;
  • XAPK, APKM and APKS containers, opened through their base APK;
  • A full AXML (Android Binary XML) and ARSC (Android Resource) implementation, robust against garbage chunks;
  • Support for extracting information contained in the APK Signing Block:
    • APK Signature scheme v1;
    • APK Signature scheme v2;
    • APK Signature scheme v3;
    • APK Signature scheme v3.1;
    • APK Signature scheme v3.2;
    • Stamp Block v1 & v2;
    • Channel blocks: Walle, VasDolly v2, Packer NG v2, ByteDance;
    • Google Play Frosting (presence only, its structure isn't public);
  • Correct extraction of the MainActivity based on how the Android OS does it;
  • Bindings for python 3.11+ with typings - no more # type: ignore; parsing releases the GIL, so threads run in parallel;
  • And of course just a fast parser - 🙃

Getting started

cli

Installation

With Homebrew:

brew install delvinru/tap/apk-info

Or with cargo:

cargo install apk-info-cli

Help

A command-line tool to inspect and extract APK files

Usage: apk-info [COMMAND]

Commands:
  show        Show basic information about the APK file
  extract     Unpack apk files as zip archive [alias: x]
  axml        Read and pretty-print binary AndroidManifest.xml
  repack      Repack a BadPack-damaged APK into a clean, well-formed zip archive
  completion  Generate shell completion
  help        Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Python

Installation

uv pip install apk-info

Get basic information about APK

from apk_info import APK

apk = APK("./path-to-file.apk")
package_name = apk.get_package_name()
main_activities = apk.get_main_activities()
min_sdk = apk.get_min_sdk_version()

print(f"Package Name: {package_name}")
print(f"Minimal SDK: {min_sdk}")

if not main_activities:
    print("apk is not launchable!")
    exit()

print(f"Main Activity: {package_name}/{main_activities[0]}")

Get information about signatures

import sys

from apk_info import APK, Signature

if len(sys.argv) < 2:
    print(f"usage: {sys.argv[0]} <apk>")
    sys.exit(1)

file = sys.argv[1]
apk = APK(file)

signatures = apk.get_signatures()
for signature in signatures:
    match signature:
        case Signature.V1() | Signature.V2() | Signature.V3() | Signature.V31() | Signature.V32():
            for cert in signature.certificates:
                print(f"{cert.subject=} {cert.issuer=} {cert.valid_from=} {cert.valid_until=}")
        case Signature.ApkChannelBlock() | Signature.VasDollyV2() | Signature.ByteDance():
            print(f"got channel block: {signature.value}")
        case _:
            print(f"oh, cool, library added some new feature - {signature}")

# For `xapk`/`apkm`/`apks` containers, `get_container_signatures()` returns the
# distributor's signature on the outer archive, separate from the app.
container_signatures = apk.get_container_signatures()

Performance Analysis

One thread, cold page cache, the same metadata read by each tool from Python. Apple M3 Pro, macOS 26.6.1.

Clean apps: 5,714 APK and XAPK files from app stores, 429 GB.

TimeFiles/sPeak memoryFailed
apk-info 1.1.029.7 s192745 MB0
apk-info 1.0.1371.4 s80770 MB0
androguard 4.1.4926.3 s65.8 GB784

Malware: 23,745 files from the VirusShare Android collection, 106 GB.

TimeFiles/sPeak memoryFailed
apk-info 1.1.044.7 s53188 MB692
apk-info 1.0.1376.0 s31287 MB691
androguard 4.1.4362.6 s65794 MB737

Methodology, per-file timings and failure reasons: Benchmarks.

FAQ

  • Why not just use androguard?

Almost all of my projects are born from something that is inconvenient to use. Androguard is a great tool in itself, but in my opinion it is simply not possible to maintain, and it is not suitable for production-ready code. It is also not suitable for analyzing a large number of files, because its logic isn't well optimized.

  • I want to modify an APK. How do I do it with this library?

The library is read-only by design: I needed a good tool to extract information from an APK easily and quickly. There are many other good tools for modifying APKs.

  • I repacked an APK. How do I sign it?

The repack command produces an unsigned APK. To re-sign it, I recommend uber-apk-signer, a simple one-command tool that signs with v1/v2/v3 and zipaligns in a single pass:

java -jar uber-apk-signer.jar --apks ./malware.repacked.apk

Credits

  • androguard
  • apkInspector
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    513
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    471
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    345
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    311
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    303
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    303

Explore all tools

Browse our collection of tools

View all tools →