device_integrity_pluginOpen-source Flutter plugin for device integrity
A Flutter plugin on pub.dev that reports separate, explainable integrity signals on Android and iOS and creates Play Integrity and App Attest proofs that a backend can verify.
Root and jailbreak, emulators, attached debuggers, hooking frameworks like Frida, app tampering, proxies and VPNs are each reported as their own finding with a reason code. There is deliberately no single isSafe flag: the app gathers observations and the backend decides policy. A check that fails reports an error instead of quietly passing.
For sensitive actions like payments, it requests a Play Integrity token on Android or an App Attest assertion on iOS, bound to a single-use backend challenge and a hash of the request so a proof can’t be replayed for a different transaction.
Native checks are written in Kotlin and Swift behind a Dart API. The plugin sends nothing off the device on its own, and it also covers sensitive screens: blocking screenshots on Android and detecting screen capture on iOS.