Documentation

Go to Portal Website

Root Detection

PlanPlatformsMASVS
FreeAndroidMASVS-RESILIENCE-1

Overview

Root Detection identifies Android devices whose security model may have been weakened by root access, modified system images, root-management tooling, or related device changes. Rooted devices can undermine Android's app sandbox, expose local app data, enable runtime manipulation, and make network or integrity controls easier to attack.

When root risk is detected, AppTego applies your configured response. You can log the event, warn the user, restrict sensitive flows, redirect to support guidance, or close the app.

When To Use It

Use this control for apps that handle:

How It Works

The protected app evaluates multiple categories of Android device-integrity signals during startup. These include system state, installed tooling, device configuration, and environment indicators associated with root or modified operating systems.

AppTego does not publish exact root signatures, file paths, package lists, scoring weights, or inspection order. Those details are protection logic and may change as Android versions, OEM behavior, and root-hiding techniques evolve.

How to Enable the Control

Navigate to Detection & Response from the AppTego portal, and expand the Device Compromise Detection section. Under this section you will find the Root Detection control. Click Enable Configuration, choose the response action, and save the configuration for the next build or for it to be applied with a live push (if enabled).

API Configuration Example

{
  "RootDetectionResponse": {
    "detection": true,
    "action": "alert",
    "title": "Device Security Warning",
    "message": "This device appears to be modified. For your security, some features may be unavailable.",
    "buttons": ["OK"],
    "actions": ["log"],
    "redirects": [""]
  }
}
FieldPurpose
detectionEnables or disables root detection.
actionSelects the response style, such as alert, close, log, or warn.
title / messageUser-facing text shown when a response is displayed.
buttons / actions / redirectsDefines the available response buttons and their outcomes.

Response Strategy

App risk levelSuggested handling
Low-risk consumer flowsLog the event or display a warning.
Account recovery, login, wallet, payment, or approval flowsRestrict the sensitive action or require additional verification.
Regulated or high-value appsClose the app or block access when root risk is detected.

Compatibility Notes