# niklashigi/apk-mitm

🤖 A CLI application that automatically prepares Android APK files for HTTPS inspection

Repository: https://github.com/niklashigi/apk-mitm
Canonical: https://ross.abutalabs.com/products/apk-mitm
Homepage: https://npm.im/apk-mitm
Language: TypeScript
License: MIT
License Family: permissive
Topics: cli, reverse-engineering, android, apk, mitm, certificate-pinning, apktool, man-in-the-middle
Last push: 2024-07-24T18:34:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2524, "days_push": 770, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5092, forks 434 (observed 2026-08-28T04:09:09.653458+00:00)

## What it is
A Node.js CLI application that automatically patches Android APK files to allow HTTPS traffic inspection through a man-in-the-middle proxy. It decodes APKs with Apktool, modifies the Network Security Configuration and disables certificate pinning, then re-encodes and signs the patched APK without requiring a rooted device.

## Use cases
- intercept an android app's https traffic with a proxy
- bypass certificate pinning in an apk
- patch an apk to trust user-added certificates
- analyze how a mobile app communicates with its api
- prepare an app bundle for mitm inspection without rooting

## When to choose
- you want a one-command automated apk patching workflow
- you cannot or do not want to root the android device
- the app's pinning is implemented in Java/Kotlin code rather than native binaries

## When to avoid
- the app uses native-code pinning like Flutter, which apk-mitm cannot reliably bypass
- Apktool fails to disassemble large or obfuscated apps
- you prefer runtime hooking with Frida on a rooted device

## Facets
- artifact type: cli-tool
- maturity: stable
- function: reverse-engineering, security, cli, developer-tools
- domain: security, reverse-engineering, android-tools, developer-tools
- platform: cli, cross-platform
- tags: apk, certificate-pinning, mitm, android, apktool, https-inspection, patching, command-line, nodejs

## Member repositories
- niklashigi/apk-mitm (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.653458+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:31.673360+00:00, confidence not recorded.
  - readme: https://github.com/niklashigi/apk-mitm (fetched 2026-08-28T04:09:09.653458+00:00, sha 558dd2ee6620)
- Data as of 2026-08-30T08:39:29.467469+00:00.
