Skip to content
pubscout

root_jailbreak_sniffer

1.1.4, released a year ago by an unverified publisher

Detects root, jailbreak, emulators, and debugging environments on Android and iOS.

Unverified publisher
$ flutter pub add root_jailbreak_sniffer
Source repository

What it does

A Flutter plugin that checks if the host device is compromised by being rooted on Android or jailbroken on iOS. It also detects if the app is running in an emulator or being debugged.

AI-written summary of version 1.1.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a high-security app (banking, enterprise) that needs to block rooted or jailbroken devices
  • You need to detect emulator environments or active debugging sessions

Skip it when

  • Your application does not require device security or anti-tamper checks

Strengths

  • Combines root, jailbreak, emulator, and debugging checks into a single plugin
  • Uses established underlying native libraries like RootBeer and IOSSecuritySuite

Weaknesses

  • Root and jailbreak detection can sometimes produce false positives or be bypassed by advanced users

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Android requires no special configurations. iOS requires adding specific application query schemes to the Info.plist file.

import 'package:root_jailbreak_sniffer/rjsniffer.dart';

bool amICompromised = await Rjsniffer.amICompromised() ?? false;
bool amIEmulator = await Rjsniffer.amIEmulator() ?? false;
bool amIDebugged = await Rjsniffer.amIDebugged() ?? false;

Alternatives

Packages that do the same job and could replace root_jailbreak_sniffer.

Works with

Packages commonly used together with root_jailbreak_sniffer: ones it builds on, ones built on it, and its own family.