Threat enum

Possible threats which can occur in Flutter app.

Inheritance

Constructors

Threat()
const

Values

hooks → const Threat

The application is being hooked (e.g. Frida), indicating that the app is being attacked.

debug → const Threat

The application is running in unsafe environment (debugger), indicating that the application is being reverse engineered.

passcode → const Threat

The device has not set any passcode as protection, indicating that the device is unprotected.

deviceId → const Threat

The application was reinstalled.

iOS only.

simulator → const Threat

The application is running on a simulator, potentially indicating that it is being analyzed or reverse engineered.

appIntegrity → const Threat

The integrity of the application's code or data may be compromised, indicating that it has been tampered with.

obfuscationIssues → const Threat

The application is not obfuscated, indicating that it is vulnerable to reverse engineering.

deviceBinding → const Threat

The device running the application may be bound to another device, indicating an attempt to clone the application.

unofficialStore → const Threat

The application is installed from an unofficial app store, indicating that it has been tampered with.

privilegedAccess → const Threat

The application has privileged access to system resources making it vulnerable to exploitation by attackers.

secureHardwareNotAvailable → const Threat

The application is running on a device which doesn't support secure hardware based cryptography.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<Threat>
A constant List of the values in this enum, in order of their declaration.