release: freeRASP 9.1.0 (Android SDK 19.2.1, iOS SDK 7.1.2) - #71
Merged
Conversation
Bump TalsecSecurity-Community-Cordova to 19.2.1 and migrate the Android bridge to the SDK's new package and callback names. 19.2.1 moves the SDK from com.aheaditec.talsec_security.security.api to app.talsec.rasp.security.api and renames every ThreatListener callback to match its threat name (onRootDetected -> onPrivilegedAccess, onADBEnabledDetected -> onAdbEnabled, and so on). Expose the release's new onBootloader() callback as the Android-only `bootloader` threat. The native ALL_EVENTS list and the TypeScript Android getValues() branch are matched by position, so Bootloader is appended to both; the iOS list is unchanged. Resolve the SDK's JitPack dependencies from the Talsec common registry instead of jitpack.io. Co-authored-by: Cursor <cursoragent@cursor.com>
Update TalsecRuntime.xcframework from 6.14.4 to 7.1.2. Changelog covers 6.14.5, 7.1.0 and 7.1.2 since the repo was three releases behind. Public Swift API change is additive, so the plugin bridge is unchanged.
cordova-ios derives the xcodebuild destination as 'platform=iOS Simulator,name=<device>' with no OS component, so xcodebuild resolves OS:latest. The macOS runner image now carries several iOS runtimes and the device cordova picks does not exist on the newest one, so the build failed with 'Unable to find a device matching the provided destination specifier'. This job only compiles, so a generic simulator destination avoids depending on which devices the runner image happens to create. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rolls Android Talsec SDK 19.2.1 into the Cordova plugin (from 18.3.0) and bumps the plugin to 9.1.0 in both
package.jsonandplugin.xml. Also rolls the iOS TalsecRuntime to 7.1.2 (from 6.14.4).SDK package and callback migration (required)
19.2.1 is a breaking SDK release beyond what the release notes describe:
com.aheaditec.talsec_security.security.apitoapp.talsec.rasp.security.api(6 Kotlin files).ThreatListenercallback was renamed to match its threat name —onRootDetected()→onPrivilegedAccess(),onUnlockedDeviceDetected()→onPasscode(),onADBEnabledDetected()→onAdbEnabled(),onSystemVPNDetected()→onSystemVpn(), and so on for all 21.Because the package moved as well, this fails to compile rather than silently delivering no threats.
New
bootloaderthreat (Android only)The release adds
onBootloader(), reporting an unlocked or compromised bootloader. It is plumbed through as thebootloadercallback onThreatEventActions.Native
ThreatEvent.ALL_EVENTSand the TypeScript Android branch ofThreat.getValues()are matched by position, soBootloaderis appended to both (22 entries each). The iOS list is unchanged at 14, following the existingautomationprecedent.plugin.xmlneeded no new<source-file>entries — only files it already registers were edited.Dependency resolution
jitpack.iois replaced byhttps://europe-west3-maven.pkg.dev/talsec-artifact-repository/common, which mirrors the SDK's two JitPack dependencies (fingerprint-android,truetime-android).iOS SDK 7.1.2
TalsecRuntime.xcframeworkgoes from 6.14.4 straight to 7.1.2, so the changelog covers three SDK releases: 6.14.5, 7.1.0 and 7.1.2.The framework diff is modification-only — nothing added or removed. The public Swift API gains exactly one additive type,
ScreenCaptureBlockError; no existing declaration changed, so no plugin bridge changes were needed.dSYMs are attached to this description.
CI fix (unrelated to the SDK bump)
build-ioswas already failing on this branch before the iOS framework was touched. cordova-ios derives the xcodebuild destination asplatform=iOS Simulator,name=<device>with no OS component, so xcodebuild resolvesOS:latest. Themacos-latestrunner image now carries several iOS runtimes (26.2, 26.4.1, 26.5) and the device cordova picks —iPhone 16e— only exists on 26.2, so the build died withUnable to find a device matching the provided destination specifier.The job only compiles and never boots a simulator, so it now passes an explicit generic destination via cordova's supported
--buildFlagoverride, which removes any dependence on which devices the runner image happens to create.Test plan
npm run typecheckpasses.npm run eslint -- --max-warnings=0andnpm run prettier -- --checkpass.npm run tsc && npm run build—www/dist/regenerated and committed, so theverify-dist-buildCI job stays green.ionic cordova build android, with the plugin installed from a clean out-of-tree source copy the wayci.ymldoes it.freeRASP initializedandAll checks finished, and is not killed — the real assertion that the native and TypeScript identifier lists are aligned, since a length or index mismatch triggersonInvalidCallback().Bootloaderrow renders in the example app.cordova build ios --emulator, with TalsecRuntime 7.1.2 confirmed underplatforms/ios.build-iospasses in CI after the destination fix; all four checks green.Threats flagged red on the emulator (app integrity, debug, emulator, unofficial store, obfuscation issues, malware, ADB, passcode, secure hardware) are the expected debug-build-on-emulator set.
dSYMs.zip
Made with Cursor