# hyugogirubato/KeyDive

Extract Widevine L3 keys from Android devices effortlessly, spanning multiple Android versions for DRM research and education.

Repository: https://github.com/hyugogirubato/KeyDive
Canonical: https://ross.abutalabs.com/products/keydive
Homepage: https://pypi.org/project/keydive/
Language: Python
License: MIT
License Family: permissive
Topics: drm, widevine, google, python, keybox
Last push: 2026-06-14T13:48:06+00:00

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

## Adoption (not part of the score)
Stars 1058, forks 156 (observed 2026-08-28T04:03:25.026884+00:00)

## What it is
KeyDive is a Python CLI tool that extracts Widevine L3 DRM keys and device credentials from rooted Android devices using Frida instrumentation and ADB. It supports multiple Android versions and exports keys in formats like pywidevine .wvd for DRM research and education.

## Use cases
- extract widevine l3 keys from android device
- dump cdm private key and client id for drm research
- create pywidevine wvd device file from rooted phone
- intercept widevine keybox via frida
- analyze drm protection on android versions

## When to choose
- you need to extract Widevine L3 keys from a rooted Android device for research
- you want automated extraction across many Android SDK versions
- you need pywidevine-compatible device credential export

## When to avoid
- your device is not rooted or lacks frida-server
- you need L1 key extraction or want to circumvent DRM on content you don't have rights to
- you need a GUI-based tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, reverse-engineering, cli, cryptography
- domain: security, android-tools, reverse-engineering, privacy
- platform: python, cli, cross-platform
- tags: drm, widevine, frida, adb, key-extraction, cdm, android

## Member repositories
- hyugogirubato/KeyDive (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.026884+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-30T06:57:46.847389+00:00, confidence not recorded.
  - readme: https://github.com/hyugogirubato/KeyDive (fetched 2026-08-28T04:03:25.026884+00:00, sha 29f29c701338)
  - homepage: https://pypi.org/project/keydive/ (fetched 2026-08-29T12:59:55.685357+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/keydive/json (fetched 2026-08-29T12:59:55.687914+00:00, sha 229c6e6daaaf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
