Skip to content

freeRASP 6.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 22:10
d776d5b
  • Android SDK version: 20.0.1
  • iOS SDK version: 8.0.1

Breaking

  • allChecksFinished RASP execution state action 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 completed
  • TalsecIosConfig.appBundleId (string) replaced by appBundleIds (string[]), matching the iOS SDK
  • Methods that resolved with a status string or a constant now resolve to void: talsecStart, addToWhitelist, blockScreenCapture, blockScreenControl, startOngoingCallDetection, stopOngoingCallDetection, storeExternalId, removeExternalId
  • All methods now reject with TalsecError (code: talsec-failure, unsupported-platform, configuration-exception, external-id-failure, malware-failure) instead of native errors or plain strings
  • onInvalidCallback and removeListenerForEvent are no longer exported; use abortApp to terminate the app

React Native

Added

  • useFreeRasp returns { started, error }; error is the TalsecError that prevented the listeners from being registered or freeRASP from starting, which was previously only logged to the console
  • ongoingCall threat action with the new CallState type ('STARTED' | 'ONGOING' | 'STOPPED'), driven by startOngoingCallDetection() and stopOngoingCallDetection() (Android only)
  • blockScreenControl() and isScreenControlBlocked() to prevent accessibility services from reading or controlling the app screen (Android only)
  • blockOverlayWindows() and isOverlayWindowsBlocked() to hide overlay windows of other apps (Android 12+ only, requires the HIDE_OVERLAY_WINDOWS permission)
  • criticalChecksFinished and postponedChecksFinished RASP execution state actions (Android only)

Changed

  • Android package (namespace) of the plugin renamed from com.freeraspreactnative to app.talsec.rasp.reactnative, following the Android SDK's app.talsec.rasp (update the import if you register FreeraspReactNativePackage manually)
  • On Android, isScreenCaptureBlocked() reports the protection state of the current activity
  • Threat and RASP execution state actions are typed as returning void instead of any

Android

Fixed

  • Improved hook detection to prevent collisions with running VPN services and to better work with the device resources (threads/RAM)
  • Fixed a release crash during root detection when a checked package is not installed
  • Fixed a crash in ScreenProtector.unregisterScreenCallbacks on Android 15+ when several activities registered screen callbacks
  • Fixed intermittent build failures of apps using the SDK (NullPointerException: Cannot read field "d", shown by Gradle as [CIRCULAR REFERENCE]) caused by invalid bytecode in some SDK builds
  • Fixed killOnBypass closing the app when the same threat was reported twice in quick succession

Changed

  • Deprecated the freeRASP Maven coordinates (com.aheaditec.talsec.security:TalsecSecurity-{flavor})
  • Improved Bootloader detection
  • Extended emulator detection with additional device-property and ABI checks
  • Improved logging structure and data enrichment for better Portal insights/reports
  • Refactoring of the time spoofing detection which improves the performance of the freeRASP check execution
  • Improved the performance of the App integrity check
  • Updated CA bundle