Modules and labels

Every module, status and label an assessment can return, per platform.

An assessment groups its findings into four modules. Each module answers one question, and returns a status and the labels that fired.

ModuleQuestion
device_integrityIs the device genuine and untampered?
network_analysisDoes the network look risky?
location_analysisDo the location signals agree with each other?
device_relationshipsHow does this device relate to its history and to your customers?

Module statuses

StatusMeaning
FLAGGEDAt least one label fired. labels lists them
CLEAREvery check that could run found nothing
INSUFFICIENT_DATANo check could be decided because data was missing: no location permission, or not enough history for the device or the customer yet
NOT_APPLICABLEThe module has no checks for this platform. reason is PLATFORM
📘

Missing data never counts as clear

If the data a check needs is missing, Lean leaves the check undecided rather than treating it as passed. A module is CLEAR only when its checks actually ran.

All labels

The Platforms column shows where each label can fire. On other platforms it's never evaluated.

ℹ️ in a description marks a label that some honest users can trigger too, for example with a privacy tool or a phone they modified themselves. Consider these labels alongside others rather than acting on them alone.

Device integrity

LabelPlatformsFires when
emulator_detectedAndroid, iOSThe app runs on an emulator or simulator, not a real phone
root_access_detectedAndroid, iOSThe phone is rooted (Android) or jailbroken (iOS), so the app's protections can be switched off
hooking_detectedAndroid, iOSA hooking framework, such as Frida or Xposed, is changing how the app runs
debugger_detectedAndroid, iOSThe app is being debugged or traced, or is a debuggable build
boot_unverifiedAndroidThe bootloader is unlocked, verified boot isn't green, or a custom ROM is installed.
ℹ️ Some enthusiasts do this to their own phones
automation_detectedWebThe browser is driven by automation software, such as WebDriver or Puppeteer
browser_tamperedWebA script changed browser functions or readings.
ℹ️ Privacy extensions and privacy-focused browsers do this too
timezone_spoofedWebThe page's clock shows a UTC offset that the browser's time zone doesn't have.
ℹ️ Some privacy tools change one without the other

Network analysis

LabelPlatformsFires when
vpn_detectedAllThe connection goes through a VPN, known from the IP address or, on Android and iOS, reported by the phone itself
high_risk_ipAllThe IP address belongs to a hosting provider or the Tor network, or is a known attacker
ip_many_devices_1hAllMany devices used this IP address in the last hour
ip_many_customers_24hAllMany customers used this IP address in the last 24 hours. Needs a linked customer

Location analysis

LabelPlatformsFires when
timezone_country_mismatchAllThe device's time zone disagrees with the IP address's
location_mockedAndroid, iOSThe device's location comes from a mock or simulated location, not its own GPS or network
impossible_travelAllThe device is further from the customer's last location than a flight could cover in the time between. Needs a linked customer and location permission

Device relationships

LabelPlatformsFires when
device_first_seen_under_1hAllLean first saw this device less than an hour ago
device_session_burst_1hAllThe device opened many sessions in the last hour
device_token_churn_24hAllThe app was reinstalled or its data cleared repeatedly within 24 hours, to look like a new device
token_signature_mismatchAllThe device's stored identity was presented by a device that looks different from the one it was issued to
multiple_customers_same_deviceAllSeveral different customers used this device in the last 30 days. Needs a linked customer
device_new_for_customerAllThis customer hasn't used this device before. Needs a linked customer
customer_many_devices_7dAllThis customer used many devices in the last 7 days. Needs a linked customer
📘

New labels

Lean adds labels over time, and may add modules. Ignore any label or module your integration doesn't recognise rather than failing.


Did this page help you?