Package selection guidance compiled from public package information, community data, and project usage.
security_plus is a Flutter plugin designed to enhance app security by detecting multiple potential threats, including root access, jailbreak detection, emulator environments, development mode, and external storage usage. It helps developers safeguard their applications against common vulnerabilities present in compromised or debugged devices. The package integrates seamlessly with Android and iOS platforms, providing real-time checks during runtime. By identifying risky conditions early, it enables proactive responses such as restricting functionality or terminating sessions. Ideal for apps handling sensitive data, it strengthens overall security posture without requiring complex implementation.
Use cases
Protecting financial apps from unauthorized access
Detecting emulators in gaming apps
Preventing debug mode usage in production
Securing health and personal data apps
Blocking execution on rooted devices
Enforcing secure environment checks
Key features
Root and jailbreak detection
Emulator and simulator detection
Development mode detection
External storage usage monitoring
Cross-platform support (Android & iOS)
Real-time security alerts
Suitable for
Apps handling sensitive user data
Financial and banking applications
Healthcare and privacy-focused apps
Games requiring anti-cheat measures
Enterprise mobile solutions
Considerations
May trigger false positives on certain devices
Requires careful handling of detected threats
Limited to basic security checks
Not a substitute for comprehensive security architecture
Performance impact in high-frequency checks
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Security Plus
A comprehensive Flutter security plugin that provides advanced security features for your Flutter applications, including root detection, emulator detection, and various security checks.
Features
🛡️ Advanced Root Detection
Multiple detection layers
Frida anti-tampering protection
Magisk detection
SuperSU detection
Common root app detection
📱 Emulator Detection
Comprehensive emulator environment checks
Build properties analysis
Hardware characteristics verification
🔒 Security Checks
Development mode detection
Mock location detection
External storage checks
Runtime integrity verification
System tampering detection
Installation
Add this to your package's pubspec.yaml file:
dependencies:security_plus:^3.0.1
Platform Setup
Android
1.Add the following permissions to your AndroidManifest.xml file:
The Flutter team and community for their amazing work
Disclaimer
This plugin provides security features but should not be considered as the sole security measure for your application. Always implement multiple layers of security and keep your security measures up to date.