Device Security Checker

A Flutter plugin for detecting device security risks such as Developer Mode, USB Debugging, virtual devices, Rooted and other security indicators.

✨ Features

  • ✅ Detect Developer Mode
  • ✅ Detect USB Debugging (Android)
  • ✅ Detect Virtual Devices (Emulator / Simulator)
  • ✅ Root Detection (Android)
  • ✅ Debugger Detection
  • ✅ Jailbreak Detection
  • 🚧 Frida Detection
  • 🚧 Play Integrity

📱 Platform Support

Feature Android iOS
Developer Mode N/A
USB Debugging N/A
Virtual Device
Root Detection N/A
Debugger Detection
Jail Break Detection N/A

📦 Installation

dependencies:
  device_security_checker: ^1.2.0

Run:

flutter pub get

🚀 Usage

import 'package:device_security_checker/device_security_checker.dart';

Future<void> main() async {
  await DeviceSecurityChecker.initialize();

  await SecurityService.instance.scan();

  final report = SecurityService.instance.report;

  print(report.developerMode);
  print(report.usbDebugging);
  print(report.virtualDevice);
  print(report.rooted);
  print(report.jailBroken);
  print(report.debuggerAttached);
}

📊 Example Output

SecurityReport(
  developerMode: false,
  usbDebugging: false,
  virtualDevice: false,
  rooted: false,
  jailBroken: false,
  debuggerAttached: false,
  deviceCompromised: false,
)

📸 Screenshots

Device Secure Developer Mode USB Debugging
Device Secure Developer Mode USB Debugging
Debugger Attached Virtual Device Device Compromised
Debugger Attached Virtual Device Device Compromised

🛣 Roadmap

  • x Developer Mode Detection (Android)
  • x USB Debugging Detection (Android)
  • x Virtual Device Detection (both)
  • x Root Detection (Android)
  • x Debugger Detection (both)
  • x Jailbreak Detection (iOS)

Planned

  • Frida Detection (both)
  • Play Integrity API (Android)

🤝 Contributing

Contributions, bug reports, and feature requests are welcome.

📄 License

This project is licensed under the MIT License.