device_security_checker 1.2.0
device_security_checker: ^1.2.0 copied to clipboard
A Flutter plugin for detecting common device security risks such as Developer Mode, USB Debugging, Emulator/Simulator, and more.
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 |
|---|---|---|
![]() |
![]() |
![]() |
| Debugger Attached | Virtual Device | Device Compromised |
|---|---|---|
![]() |
![]() |
![]() |
🛣 Roadmap #
- ✅ Developer Mode Detection (Android)
- ✅ USB Debugging Detection (Android)
- ✅ Virtual Device Detection (both)
- ✅ Root Detection (Android)
- ✅ Debugger Detection (both)
- ✅ 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.






