
Flutter library for Android and iOS mobile devices. SDK providing threat detection and security monitoring. Shield your app with free RASP. Detect reverse engineering, root (Magisk), jailbreak, Frida, emulators, bots, tampering and integrity issues, obfuscation, VPN usage, malware and monitor, device identification and fingerprint.
Repo talsec/Free-RASP-Flutter, read from GitHub 9 h ago. talsec has not joined Take My Repo.
RaspExecutionStateCallback.onAllChecksFinished renamed to onFastChecksFinished and RaspExecutionState.allChecksFinished renamed to fastChecksFinished. On Android, it is triggered when the fast checks are completed, while the postponed checks may still run; on iOS, when all checks are completedAndroidConfig.signingCertHashes renamed to certificateHashes and AndroidConfig.supportedStores renamed to supportedAlternativeStores, matching the Android SDK and the other freeRASP pluginsIOSConfig.bundleIds renamed to appBundleIds and IOSConfig.teamId renamed to appTeamId, matching the iOS SDK and the other freeRASP plugins. The JSON keys used by toJson/fromJson change accordinglyThreatCallback.onADBEnabled renamed to onAdbEnabled and ThreatCallback.onUnsecureWiFi renamed to onUnsecureWifi; Threat.deviceId renamed to deviceID and Threat.unsecureWiFi renamed to unsecureWifi, matching the other freeRASP pluginsTalsec methods now throw only TalsecException or its subclasses: Android-only methods throw the new UnsupportedPlatformException (code unsupported-platform) instead of UnimplementedError, blockScreenCapture/isScreenCaptureBlocked no longer throw a generic Exception, start wraps platform errors in TalsecException, and addToWhitelist/getAppIcon throw MalwareFailureExceptionMalwareCallback now receives a List<SuspiciousAppInfo> without nullable items, and its parameter is renamed from packageInfo to suspiciousAppsTalsec.private constructor and the methodChannel, eventChannel and executionStateChannel fields are no longer public; use Talsec.instanceThreatX.fromInt throws an ArgumentError for an unknown code instead of terminating the app. The app is still terminated when the native side sends an unknown threat code, and now also for an unknown execution state code, like in the other freeRASP pluginsThreatCallback no longer extends the generated TalsecPigeonApi; its onMalwareDetected and onOngoingCallDetected methods are removed, use the onMalware and onOngoingCall callbacks insteadPackageInfo and SuspiciousAppInfo are now immutable classes with value equality; their fields are final and the encode/decode methods are removedThreatCallback.onOngoingCall callback with the new CallState enum (started, ongoing, stopped), driven by Talsec.startOngoingCallDetection() and Talsec.stopOngoingCallDetection() (Android only)Talsec.blockScreenControl() and Talsec.isScreenControlBlocked() to prevent accessibility services from reading or controlling the app screen (Android only)Talsec.blockOverlayWindows() and Talsec.isOverlayWindowsBlocked() to hide overlay windows of other apps (Android 12+ only, requires the HIDE_OVERLAY_WINDOWS permission)RaspExecutionStateCallback.onCriticalChecksFinished and RaspExecutionStateCallback.onPostponedChecksFinished, with matching RaspExecutionState values (Android only)ExternalIdFailureException and MalwareFailureException are now exported, so they can be caught by typecom.aheaditec.freerasp to app.talsec.rasp.flutter, following the Android SDK's app.talsec.raspTalsec.isScreenCaptureBlocked() reports the protection state of the current activityTalsecMode.BACKGROUND), so the initialization and synchronous checks no longer run on the main threadThreatCallback receives all detections in the order in which they occur. The plugin no longer uses PigeonScreenProtector.unregisterScreenCallbacks on Android 15+ when several activities registered screen callbacksNullPointerException: Cannot read field "d", shown by Gradle as [CIRCULAR REFERENCE]) caused by invalid bytecode in some SDK buildskillOnBypass closing the app when the same threat was reported twice in quick successioncom.aheaditec.talsec.security:TalsecSecurity-{flavor})Talsec.start no longer runs on the platform (main) thread. Its keychain work could hang the UI for tens of seconds and get the app killed by the launch watchdog on iOS 26 (#231).app.talsec.plugin Gradle plugin, applied by freeRASP automaticallyapp.talsec.plugin Gradle plugin with talsec { } configuration block_dyld_get_shared_cache_range.-flattenpackagehierarchy out of consumer ProGuard rules to restore AGP 8+ compatibility