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.
| Module | Question |
|---|---|
device_integrity | Is the device genuine and untampered? |
network_analysis | Does the network look risky? |
location_analysis | Do the location signals agree with each other? |
device_relationships | How does this device relate to its history and to your customers? |
Module statuses
| Status | Meaning |
|---|---|
FLAGGED | At least one label fired. labels lists them |
CLEAR | Every check that could run found nothing |
INSUFFICIENT_DATA | No check could be decided because data was missing: no location permission, or not enough history for the device or the customer yet |
NOT_APPLICABLE | The module has no checks for this platform. reason is PLATFORM |
Missing data never counts as clearIf the data a check needs is missing, Lean leaves the check undecided rather than treating it as passed. A module is
CLEARonly 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
| Label | Platforms | Fires when |
|---|---|---|
emulator_detected | Android, iOS | The app runs on an emulator or simulator, not a real phone |
root_access_detected | Android, iOS | The phone is rooted (Android) or jailbroken (iOS), so the app's protections can be switched off |
hooking_detected | Android, iOS | A hooking framework, such as Frida or Xposed, is changing how the app runs |
debugger_detected | Android, iOS | The app is being debugged or traced, or is a debuggable build |
boot_unverified | Android | The bootloader is unlocked, verified boot isn't green, or a custom ROM is installed. ℹ️ Some enthusiasts do this to their own phones |
automation_detected | Web | The browser is driven by automation software, such as WebDriver or Puppeteer |
browser_tampered | Web | A script changed browser functions or readings. ℹ️ Privacy extensions and privacy-focused browsers do this too |
timezone_spoofed | Web | The 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
| Label | Platforms | Fires when |
|---|---|---|
vpn_detected | All | The connection goes through a VPN, known from the IP address or, on Android and iOS, reported by the phone itself |
high_risk_ip | All | The IP address belongs to a hosting provider or the Tor network, or is a known attacker |
ip_many_devices_1h | All | Many devices used this IP address in the last hour |
ip_many_customers_24h | All | Many customers used this IP address in the last 24 hours. Needs a linked customer |
Location analysis
| Label | Platforms | Fires when |
|---|---|---|
timezone_country_mismatch | All | The device's time zone disagrees with the IP address's |
location_mocked | Android, iOS | The device's location comes from a mock or simulated location, not its own GPS or network |
impossible_travel | All | The 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
| Label | Platforms | Fires when |
|---|---|---|
device_first_seen_under_1h | All | Lean first saw this device less than an hour ago |
device_session_burst_1h | All | The device opened many sessions in the last hour |
device_token_churn_24h | All | The app was reinstalled or its data cleared repeatedly within 24 hours, to look like a new device |
token_signature_mismatch | All | The device's stored identity was presented by a device that looks different from the one it was issued to |
multiple_customers_same_device | All | Several different customers used this device in the last 30 days. Needs a linked customer |
device_new_for_customer | All | This customer hasn't used this device before. Needs a linked customer |
customer_many_devices_7d | All | This customer used many devices in the last 7 days. Needs a linked customer |
New labelsLean adds labels over time, and may add modules. Ignore any label or module your integration doesn't recognise rather than failing.
Updated about 20 hours ago
