flutter_security_check 0.3.2 copy "flutter_security_check: ^0.3.2" to clipboard
flutter_security_check: ^0.3.2 copied to clipboard

A comprehensive Flutter security plugin for Android and iOS. Detects Root/Jailbreak, Emulator, Frida, Cloned Apps, Mock Location, VPN, and blocks Screen Capture.

0.3.2 #

  • Fix: Restructured iOS Swift source files to fully support both Swift Package Manager (SPM) and CocoaPods seamlessly.
  • CI/CD: Configured GitHub Actions to use the latest Flutter stable channel to resolve Dart SDK version constraint issues.

0.3.1 #

  • Fix: Resolved Dart analyzer warnings (withOpacity deprecation) in the example app and integration tests.
  • CI/CD: Improved GitHub Actions workflow to suppress non-fatal info logs and updated Node.js actions version.

0.3.0 #

  • Play Integrity API (Android): Added requestPlayIntegrityToken(nonce) for backend validation.
  • App Clone Detection (Android): Detects if the app is running in parallel space, dual app, or cloned environments.
  • Screen Capture Prevention: Added preventScreenCapture(bool) method to block screenshots and screen recordings (implements FLAG_SECURE for Android and UITextField secure entry trick for iOS).
  • Android Mock Location Detection: Added detection for Mock Location (GPS Spoofing).
  • Android Accessibility Detection: Added detection for active Accessibility Services (often abused by overlay malware).
  • Enhanced iOS App Integrity: Added detection for App Store vs TestFlight/AdHoc installer sources.
  • Advanced iOS Dylib Detection: Expanded native hooking detection to cover MobileSubstrate, CydiaSubstrate, and SSLKillSwitch.

0.2.1 #

  • Swift Package Manager (SPM) Support: Added Package.swift to support modern iOS/macOS integration.

0.2.0 #

  • iOS Platform Support: Added native implementation for iOS security checks.
    • Jailbreak Detection (Cydia path checks, filesystem access, URL Schemes)
    • Simulator/Emulator Detection
    • Debugger Detection (sysctl)
    • Native Threat/Frida Detection (dyld image scan)
    • Proxy and VPN Connection Detection

0.1.0 #

  • Advanced Emulator Detection: Added hardware property checks and specific driver/file detection (QEMU, Genymotion).
  • Enhanced Root Detection: Added Build Tags (test-keys) check and Magisk/MagiskHide package detection.
  • Developer Options Detection: Detects if ADB or Development Settings are enabled.
  • Proxy & VPN Detection: Added detection for active system proxies and VPN connections.
  • Xposed/LSPosed Detection: Added package-level and runtime stacktrace-level detection for Xposed framework.
  • Advanced Frida Detection (Native):
    • Added string obfuscation (XOR).
    • Added Port Scanning (27042).
    • Added Thread Name monitoring.
    • Added Native Inline Hook Detection for critical libc functions (ARM64/ARM/x86).
  • App Integrity: Added SHA-256 Signature Hash retrieval and Installer Package detection.

0.0.1 #

  • Initial release of flutter_security_check.
  • Implementation of Anti-Root detection for Android.
  • Implementation of Native Anti-Debugger (ptrace) check.
  • Implementation of Anti-Frida memory scan detection.
  • Added isDeviceSecure and securityDetails API.
0
likes
160
points
272
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter security plugin for Android and iOS. Detects Root/Jailbreak, Emulator, Frida, Cloned Apps, Mock Location, VPN, and blocks Screen Capture.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_security_check

Packages that implement flutter_security_check