analyze

open suspend override fun analyze(context: Context): Double

Determines if the device has been tampered with by checking for suspicious installed packages.

This method uses the package list provided by getPackages to check if any known tampering-related applications are installed on the device. If any suspicious package is found, the device is considered to be compromised.

Return

A confidence score where: - 1.0 indicates suspicious packages were detected - 0.0 indicates no suspicious packages were found

Parameters

context

The Android context used for package detection