engine_security 1.0.0 copy "engine_security: ^1.0.0" to clipboard
engine_security: ^1.0.0 copied to clipboard

Advanced security detection system for Flutter applications focused on Android and iOS. Detects Frida, Root/Jailbreak, Emulator, and Debugger threats with high precision.

example/main.dart

// ignore_for_file: avoid_print

import 'package:engine_security/engine_security.dart';

Future<void> main() async {
  print('πŸ”’ Engine Security - Example Usage\n');

  final detectors = [
    EngineDebuggerDetector(),
    EngineEmulatorDetector(),
    EngineFridaDetector(),
    EngineRootDetector(),
  ];

  print('Available Security Detectors:');
  for (final detector in detectors) {
    final info = detector.detectorInfo;
    print('  - ${info.name}: ${info.threatType} (Enabled: ${info.enabled})');
  }

  print('\nπŸ” Running Security Checks...\n');

  for (final detector in detectors) {
    try {
      print('Checking ${detector.detectorName}...');
      final result = await detector.performCheck();

      final status = result.isSecure ? 'βœ… SECURE' : '⚠️  THREAT DETECTED';
      print('  Result: $status');
      print('  Details: ${result.details}');
      print('  Method: ${result.detectionMethod}');
      print('  Confidence: ${(result.confidence * 100).toStringAsFixed(1)}%');

      if (!result.isSecure) {
        print('  Threat Type: ${result.threatType}');
      }

      print('');
    } catch (e) {
      print('  ❌ Error: $e');
      print('');
    }
  }

  final debuggerDetector = EngineDebuggerDetector(enabled: false);
  print('Example with disabled detector:');
  final disabledResult = await debuggerDetector.performCheck();
  print('  Disabled detector result: ${disabledResult.details}');
  print('  Confidence: ${(disabledResult.confidence * 100).toStringAsFixed(1)}%');

  print('\n🎯 Security Check Summary:');
  print('  All security detectors have been executed successfully!');
  print('  Use these detectors in your Flutter app to enhance security.');
}
6
likes
0
points
362
downloads

Publisher

verified publisherstmr.tech

Weekly Downloads

Advanced security detection system for Flutter applications focused on Android and iOS. Detects Frida, Root/Jailbreak, Emulator, and Debugger threats with high precision.

Repository (GitHub)
View/report issues

Topics

#security #detection #frida #mobile #android

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

device_info_plus, flutter, package_info_plus

More

Packages that depend on engine_security