Threat enum
Security threats that flutter_rasp can detect.
Values
- root → const Threat
-
Root (Android) or jailbreak (iOS).
- emulator → const Threat
-
Running on an emulator or simulator.
- debug → const Threat
-
Attached debugger (JDWP, ptrace).
- hook → const Threat
-
Frida, Xposed, Cycript, Substrate.
- repackaging → const Threat
-
App signature or bundle has been modified.
- trustedInstall → const Threat
-
Installed from a source outside the trusted list (
AndroidRaspConfig.supportedStores).Note: some install channels don't always expose the installer package name to the OS (e.g. sideload or Firebase App Distribution), so this check may not flag them. For robust app-integrity validation on Android, it's recommended to pair it with repackaging and
AndroidRaspConfig.signingCertHashes. - vpn → const Threat
-
Active VPN connection.
- developerMode → const Threat
-
Android only: developer options enabled.
- adbEnabled → const Threat
-
Android only: ADB (Android Debug Bridge) is enabled.
- devicePasscode → const Threat
-
No screen lock configured.
- secureHardwareNotAvailable → const Threat
-
Device lacks hardware-backed keystore (TEE/StrongBox/Secure Enclave).
- obfuscationIssues → const Threat
-
App binary is not obfuscated — class/symbol names are readable.
- timeSpoofing → const Threat
-
Android only: system clock may be spoofed (auto-time disabled).
- locationSpoofing → const Threat
-
Android only: mock locations enabled or mock-location app detected.
- multiInstance → const Threat
-
Android only: app running in a cloned/dual-app environment.
- undefined → const Threat
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited