Release Notes - 2.1


2.1.12-funcrel

Stability

Customer Ticket IdCustomer Details
Fixes an issue causing the analyzer to crash during an analysis.

2.1.11-funcrel

Fixes/Bugs

Customer Ticket IdCustomer Details
Resolved an issue where some objects of different types (Android Event Handlers and Android Intent Resources) were missing because of duplicate GUIDs.

New Support

Customer Ticket IdCustomer Details
Added support for android.database.sqlite, an SDK-native persistence library.
Added support for androidx.room, an SDK-native persistence library.

Enhancement/Improvements

Customer Ticket IdCustomer Details
Extended scope of support to Android 11, 12, 13, 14 and 15.
Updated extension for compatiblity with CAST Imaging Core 8.4.

2.1.10-funcrel

New Support

SummaryDetails
Support of com.android.volleyAdded support for com.android.volley - see the documentation.

2.1.9-funcrel

Other Updates

Details
Fixes an issue causing Android UI XML files to be duplicated with Android Kotlin UI XML files.

2.1.8-funcrel

Other Updates

Details
Fixes various traceback errors in the analysis log.
Improvements to and standardization of end-user messages.
Removed multiple (and not useful) occurrences of the log message: "[com.castsoftware.android] No Android project found for method".
Fixes an issue causing a traceback error in the analysis log: "AttributeError : 'VariableDeclaration' object has no attribute 'get_parameters'".
Fixes an issue causing a traceback error in the analysis log: "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'".
Add handlers for "setPositiveButton" method calls.

2.1.7-funcrel

Other Updates

Details
Android is not Linux compliant.

2.1.6-funcrel

Other Updates

Details
Traceback errors in log for eWallet analysis.

2.1.5-funcrel

Resolved Issues

Customer Ticket IdDetails
32275Android analysis warning: Extension com.castsoftware.android has encountered an issue.
32193Analysis warnings: [com.castsoftware.android] Internal Error (with Traceback).

2.1.4-funcrel

Resolved Issues

Customer Ticket IdDetails
29803Missing link between Android application and onCreate Kotlin method
28853Update android jar file shipped with extension

2.1.3-funcrel

Resolved Issues

Customer Ticket IdDetails
29189Android Warning: Extension com.castsoftware.android has encountered an issue

2.1.2-funcrel

Resolved Issues

Customer Ticket IdDetails
27441Extension com.castsoftware.android has encountered an issue: AttributeError: 'str' object has no attribute 'get_begin_line'

2.1.1-funcrel

Other Updates

Details
Android Extension is executed and launched during analysis where it should not be

2.1.0-funcrel

Note

This release of the extension contains a large number of rule related improvements, which will have a significant impact on any existing analysis results generated with a previous release of the extension. When re-analyzing existing and unchanged source code with this new extension, you should therefore expect grade and violation changes. When using AIP Console, if you do not want this extension to be used, you should ensure that you implement an extension strategy to prevent the automatic download and installation of the extension. If you are onboarding a new application, CAST actively encourages you to use this new release to take advantage of the improvements that have been implemented.

Rules

Rule IdNew RuleDetails
1024044FALSEAlways check the device supports Biometric capability before using BiometricPrompt API (updated thresholds)
1024042FALSEAvoid using weak encryption algorithm (Android) (updated thresholds)
1024040FALSEAlways activate unlockedDeviceRequired to avoid data decryption when device is unlocked (updated thresholds)
1024036FALSEAlways check all the BiometricPrompt acquired options in the onAuthenticationSucceeded method (updated thresholds)
1024034FALSEAlways check all the BiometricPrompt error options in the onAuthenticationError method (updated thresholds)
1024032FALSEAlways manage the BiometricPrompt onAuthenticationFailed method (updated thresholds)
1024030FALSEAvoid using FingerprintManager as biometric API (updated thresholds)
1024028FALSEAvoid using "Android Protected Confirmation" without User Confirmation (updated thresholds)
1024020FALSEAvoid using implicit intent (update thresholds)
1024016FALSEA permission is required for securing Services (updated thresholds)
1024014FALSEA permission is required for securing Receivers (update thresholds)
1024010FALSEApply signature-based permissions (updated thresholds)
1024008FALSEAlways use onActivityResult to pass the login results when using Facebook SDK (updated thresholds)
1024006FALSELimit the accessibility of your app's Content Provider (update thresholds)
1024026FALSEAvoid using MODE_WORLD_READABLE and MODE_WORLD_WRITEABLE (updated criticity)
1024022FALSEMedia Resources should be released (updated criticity)
1024018FALSEAlways provide a permission to secure Activities (updated weight and thresholds)
1024012FALSEAvoid setting android:grantUriPermissions as True (updated criticity)

New Support

SummaryDetails
Support of android.app.Application and com.ad4screen.sdk.A4SApplication for Java and Kotlin.See documentation
Support of androidx.room library for Kotlin.See documentation