# kdrag0n/safetynet-fix

Google SafetyNet attestation workarounds for Magisk

Repository: https://github.com/kdrag0n/safetynet-fix
Canonical: https://ross.abutalabs.com/products/safetynet-fix
Language: C++
License: MIT
License Family: permissive
Topics: android, safetynet, magisk, hacktoberfest
Last push: 2023-06-22T20:10:58+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": 2058, "days_push": 1168, "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 6412, forks 362 (observed 2026-08-28T04:09:43.211803+00:00)

## What it is
A Magisk module (Zygisk-based, with an older Riru version) that works around Google's SafetyNet and Play Integrity hardware attestation checks on rooted Android devices. It injects fixes so devices can pass CTS profile attestation, supporting Android up to 13 including OEM skins like One UI and MIUI.

## Use cases
- pass SafetyNet attestation on a rooted Android device
- pass Google Play Integrity checks with Magisk
- make banking apps work on a rooted phone
- fix CTS profile mismatch on custom ROMs
- spoof device certification on ROMs without GMS certification

## When to choose
- you run Magisk with Zygisk and need to pass SafetyNet or Play Integrity
- you use a custom ROM or uncertified device that fails basic CTS profile attestation

## When to avoid
- you don't root your device or use Magisk
- you need a maintained solution for Android versions beyond 13 or current Play Integrity hardware attestation enforcement
- you want an officially supported device certification method

## Facets
- artifact type: plugin
- maturity: maintenance
- function: security, plugin-system
- domain: android-tools, security, privacy
- platform: -
- tags: magisk-module, safetynet, play-integrity, zygisk, root-detection-bypass, device-attestation, android

## Member repositories
- kdrag0n/safetynet-fix (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.211803+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-29T17:44:56.059129+00:00, confidence not recorded.
  - readme: https://github.com/kdrag0n/safetynet-fix (fetched 2026-08-28T04:09:43.211803+00:00, sha d767225d253e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
