Yet Another SafetyNet Attestation Checker appYet Another SafetyNet Attestation Checker is System tool that is open source under the MIT license.
YASNAC (short for Yet Another SafetyNet Attestation Checker) is an Android app that demonstrates SafetyNet Attestation API.
The API key used by YASNAC has a quota of 10,000 times per day. If the quota is exhausted, you will see an error and you will not be able to use it until the quota is restored the next day.
SafetyNet is developed by Google, it provides a set of services and APIs. SafetyNet Attestation API provides a cryptographically-signed attestation, assessing the device's integrity. The app developer can use SafetyNet Attestation API to check if the device is an emulator, bootloader unlocked, system integrity compromised (root for example), etc.
This app uses SafetyNet Attestation API and displays the result.
In an production environment, the response of the SafetyNet Attestation API should be transfer to a remote server for verification. As a simple demonstration project, it is impractical to provide a server, so the verification step runs locally.