DeviceIntegrity
interface DeviceIntegrity
Runtime posture check for the device the app is running on. A security-sensitive app runs this on launch to decide whether to proceed, warn, or refuse to load sensitive UI on a compromised device.
Portable across platforms: Android inspects root/emulator/debugger signals; iOS inspects jailbreak/simulator signals; desktop (JVM) and web (wasm) are outside the mobile threat model and report a clean posture (JVM additionally surfaces an attached JDWP debugger).
This is the KMP sibling of :security's Android-only DeviceIntegrity — extracted so the non-Android targets of a KMP app get the same seam. (:security stays Android-only for its VAPT/Keystore surface.)