securityRisk property

String? securityRisk
getter/setter pair

A specific security risk that negatively affects the security posture of the device. Possible string values are:

  • "SECURITY_RISK_UNSPECIFIED" : Unspecified.
  • "UNKNOWN_OS" : SafetyNet detects that the device is running an unknown OS (basicIntegrity check succeeds but ctsProfileMatch fails).
  • "COMPROMISED_OS" : SafetyNet detects that the device is running a compromised OS (basicIntegrity check fails).
  • "HARDWARE_BACKED_EVALUATION_FAILED" : SafetyNet detects that the device does not have a strong guarantee of system integrity, such as a hardware-backed keystore (https://developer.android.com/training/articles/security-key-attestation).

Implementation

core.String? securityRisk;