Skip to content
pubscout

security_plus

4.0.0, released 7 months ago by an unverified publisher

Detect root, jailbreak, emulators, and device security threats in Flutter apps.

WASM-readyUnverified publisher
$ flutter pub add security_plus
Source repository

What it does

Security Plus is a Flutter plugin that provides device security checks such as root detection, emulator detection, development mode, mock location, and external storage detection.

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

Use it when

  • You need to prevent your app from running on rooted Android devices or emulators.
  • You want to detect security risks like mock locations and development mode.

Skip it when

  • You require robust, guaranteed production-grade protection without reliance on client-side checks alone.
  • You only need standard device info without security checks.

Strengths

  • Includes advanced root detection and Frida anti-tampering protection.
  • Provides multiple security check layers including emulator and mock location detection.

Weaknesses

  • Client-side security checks can potentially be bypassed by advanced users.
  • iOS platform support is still marked as partial or under development in the platform table.

Setup

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

Requires adding location permissions to AndroidManifest.xml and Info.plist for location-related security checks.

try {
  bool isRooted = await SecurityPlus.isRooted;
  if (isRooted) {
    // Handle rooted device
  }
} catch (e) {
  // Handle errors
}

Alternatives

Packages that do the same job and could replace security_plus.

Works with

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