Skip to content

Commit 8671a2f

Browse files
authored
Merge pull request #110 from talsec/release/6.5.0
freeRASP: 6.5.0
2 parents 1a1bab3 + 47d3ee3 commit 8671a2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4385
-2738
lines changed

.gitignore

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,14 @@
1818
# The .vscode folder contains launch configuration and tasks you configure in
1919
# VS Code which you may wish to be included in version control, so this line
2020
# is commented out by default.
21-
#.vscode/
21+
.vscode/
2222

2323
# Flutter/Dart/Pub related
24+
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
25+
/pubspec.lock
2426
**/doc/api/
25-
**/ios/Flutter/.last_build_id
2627
.dart_tool/
27-
.flutter-plugins
28-
.flutter-plugins-dependencies
2928
.packages
30-
.pub-cache/
31-
.pub/
32-
/build/
29+
build/
3330

34-
# Web related
35-
lib/generated_plugin_registrant.dart
36-
37-
# Symbolication related
38-
app.*.symbols
39-
40-
# Obfuscation related
41-
app.*.map.json
42-
43-
# Android Studio will place build artifacts here
44-
/android/app/debug
45-
/android/app/profile
46-
/android/app/release
31+
example/pubspec.lock

CHANGELOG.md

Lines changed: 73 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
1+
# freeRASP 6.5.0
2+
3+
## What's new in 6.5.0?
4+
5+
- ⚡ Updated `CURL` to `8.5.0` and `OpenSSL` to `1.1.1w` (resolves [issue #93](https://github.com/talsec/Free-RASP-Flutter/issues/93))
6+
- 📄 Added information about APK size increase and ways to decrease it (resolves [issue #100](https://github.com/talsec/Free-RASP-Flutter/issues/100))
7+
8+
## Android
9+
10+
- ⚡ Fixed issue with disappearing threats when the app is quickly put into the background and then back to the foreground (resolves [issue #91](https://github.com/talsec/Free-RASP-Flutter/issues/91))
11+
- ⚡ Fixed a native crash bug during one of the native root checks (detected after NDK upgrade)
12+
- ⚡ Improved _appIntegrity_ check and its logging
13+
14+
## iOS
15+
16+
- ❗ Added Privacy Manifest
17+
- ❗ Added codesigning for the SDK, it is signed by:
18+
- _Team ID_: `ASQC376HCN`
19+
- _Team Name_: `AHEAD iTec, s.r.o.`
20+
- ⚡ Improved obfuscation of Swift and C strings
21+
122
# freeRASP 6.4.0
23+
224
Minor fixes and improvements
325

426
## What's new in 6.4.0?
27+
528
- ⚡ Improved reaction obfuscation
629
- ⚡ Improved obfuscation of the iOS SDK
730
- ⚡ Fixed ProviderException on Android
@@ -10,9 +33,11 @@ Minor fixes and improvements
1033
- ❗ Raised supported Xcode version to 14.3.1
1134

1235
# freeRASP 6.3.0
36+
1337
Improved logging of the Android SDK and minor bug fixes
1438

1539
## What's new in 6.3.0?
40+
1641
- 📄 Documentation updates and improvements
1742
- ✔️ Updated CA bundle for logging pinning
1843
- ✔️ Added error logging of network issues within the logging process
@@ -21,9 +46,11 @@ Improved logging of the Android SDK and minor bug fixes
2146
- ⚡ Improved root detection capabilities
2247

2348
# freeRASP 6.2.0
49+
2450
Minor fixes and added support for AGP 8.0
2551

2652
## What's new in 6.2.0?
53+
2754
- ⚡ Added support for AGP 8.0
2855
- ❗ Removed PolarSSL dependency on Android
2956
- ❗ Removed forgotten `onOverlay` callback
@@ -32,84 +59,104 @@ Minor fixes and added support for AGP 8.0
3259
# freeRASP 6.1.0
3360

3461
## What's new in 6.1.0?
62+
3563
- ⚡ Fixed issue with incorrect Keystore type detection on Android 11 and above (https://github.com/talsec/Free-RASP-Flutter/issues/77)
3664
- ⚡ Reduced timeout period for logging from 20 sec to 5 sec on iOS
3765
- ⚡ Logging is now async in all calls on iOS
3866

3967
# freeRASP 6.0.0
68+
4069
We are constantly working on improving your freeRASP experience. This update contains a new check - obfuscation detection. Minimal supported Android SDK level was raised to 23.
4170

4271
## What's new in 6.0.0?
72+
4373
- ❗ BREAKING: Raised minSdkVersion on Android to 23
4474
- ❗ Removed BouncyCastle dependency on Android
4575
- 🔎 New threat type `obfuscationIssues`
4676
- 🔎 New threat callback `onObfuscationIssues`
4777
- ✔️ Fixed `NullPointerException` which could occur during specific subcheck execution on Android
4878

4979
# freeRASP 5.0.4
80+
5081
- ✔️ Fixed issue with metadata in iOS framework
5182

5283
# freeRASP 5.0.3
84+
5385
Fixed issue that caused freeRASP to be killed prematurely
5486

5587
## What's new in 5.0.3?
88+
5689
- ✔️ Fixed issue when freeRASP throws [IllegalStateException: Talsec is not running](https://github.com/talsec/Free-RASP-Flutter/issues/70)
5790

5891
# freeRASP 5.0.2
92+
5993
Fixed issue causing app to freeze on iOS
6094

6195
## What's new in 5.0.2?
96+
6297
- ✔️ Fixed issue with [app freezing after `start` called on iOS](https://github.com/talsec/Free-RASP-Flutter/issues/67)
6398
- 📄 Updated example application
6499

65100
# freeRASP 5.0.1
101+
66102
Minor changes in documentation
67103

68104
## What's new in 5.0.1?
105+
69106
- 📄 Updated documentation for migration from freeRASP 4.x to 5.x
70107

71108
# freeRASP 5.0.0
109+
72110
Get ready for some exciting updates! In this latest release, we have revamped the freeRASP's
73111
codebase, which has helped to resolve several known issues. As a result, the integration of
74112
freeRASP into your workflow is even easier than before.
75113

76114
## What's new in 5.0.0?
115+
77116
- ⚡ New enum values for threat types
78117
- ⚡ New threat handler for handling threat types
79118
- ✔️ Fixed issue with [platform detection](https://github.com/talsec/Free-RASP-Flutter/issues/61)
80119
- ✔️ Fixed issue with [Codemagic CI/CD on iOS](https://github.com/talsec/Free-RASP-Flutter/issues/22)
81120
- ✔️ Fixed issue with [app crashing on hot restart](https://github.com/talsec/Free-RASP-Flutter/issues/57)
82121

83122
### Other improvements
123+
84124
- 📄 Documentation updates and improvements
85125
- ⚡ Updated demo app for new implementation
86126
- ⬆️ Increased constraint with maximal Dart SDK version to support the latest release
87127

88128
# freeRASP 5.0.0-dev.1
129+
89130
New changes incoming! This major update, contains new API to for handling dev and release deployments
90131
of freeRASP. Now, you can integrate freeRASP more easily without pesky iOS installation steps. We
91132
also no longer rely on HMS.
92133

93134
## What's new in 5.0.0-dev.1?
135+
94136
- ❗ Only one version of the SDK is used from now on, instead of two separate for dev and release
95-
### Android
137+
138+
### Android
96139
- ❗ Removed the HMS dependencies
97140
- ⚡ Improved root detection accuracy by moving the 'ro.debuggable' property state to an ignored group
98141
- ⚡ Enhanced root detection capabilities by moving the selinux properties check to device state
99142
- ⚡ Fine-tuning root evaluation strategy
100143

101144
### iOS
145+
102146
- ❗ Removed the dependency on the symlinks choosing the proper version (release/dev)
103147
- ❗️ Removed pre-built script for changing the Debug and Release versions
104148

105149
### Other improvements
150+
106151
- 📄 Documentation updates and improvements
107152
- ⚡ Updated demo app for new implementation
108153

109154
# freeRASP 4.0.0
155+
110156
A new round of fixes and improvements! Here's the list of all the new things we included in the latest release.
111157

112158
## What's new in 4.0.0?
159+
113160
- ❗ BREAKING API CHANGE: Added multi-signature support for certificate hashes of Android apps
114161
- ✔️ Fixed `NullPointerException` in RootDetector when there are no running processes ([issue](https://github.com/talsec/Free-RASP-Flutter/issues/40)) on Android
115162
- ✔️ Removed deprecated SafetyNet dependency ([issue](https://github.com/talsec/Free-RASP-Flutter/issues/28)) on Android
@@ -121,19 +168,24 @@ A new round of fixes and improvements! Here's the list of all the new things we
121168
- 🔎 Improved logging of non-existing hardware for biometrics on iOS
122169

123170
# freeRASP 3.0.2
171+
124172
We are constantly listening to our community to make freeRASP better. This update contain fixes to [reported issues](https://github.com/talsec/Free-RASP-Flutter/issues).
125173

126174
## What's new in 3.0.2?
175+
127176
- 📄 Updated [troubleshoot](README.md#Troubleshoot) section related to ProGuard [issue](https://github.com/talsec/Free-RASP-Flutter/issues/21)
128177
- ✔️ Fixed `Duplicate class` [issue](https://github.com/talsec/Free-RASP-Flutter/issues/23)
129178

130179
# freeRASP 3.0.1
180+
131181
This update contains small fix of documentation.
132182

133183
## What's new in 3.0.1?
184+
134185
- 🛠️ Fixed Plans Comparison table in README.md
135186

136187
# freeRASP 3.0.0
188+
137189
We are constantly working on improving your freeRASP experience, and today we're happy to announce a major update packed with new features and improvements! Here's the list of all the new things we included in the latest release.
138190

139191
## What's new in 3.0.0?
@@ -172,48 +224,63 @@ For iOS devices, we prepared upgraded and polished incident detections and even
172224
- ❗ BREAKING API CHANGE: Renamed parameter `IOSCallback` to `iosCallback`
173225

174226
## 2.0.0
227+
175228
### General/Flutter
229+
176230
* Fixed bug causing Talsec to not run properly (initialization checks for non null-safe version of Flutter)
177231
* Added configuration tests
178-
### Android
232+
233+
### Android
179234
* Improved performance during library initialization
180235
* Improved method handling
181236
* Improved incident handling
182237
* Sensitive content logging modification, package names of well-known dangerous applications (rooting apps, hooking frameworks, etc...) are no longer sent to Elastic, only a flag that device contains one of those applications is sent
183238
* Fixed usage of deprecated API calls (DexFile) for Android 8.0 and above
184239
* Fixed issue with root prompt ("app asking for root permission") on rooted devices
185-
### iOS
240+
241+
### iOS
186242
* Updated jailbreak checks to detect jailbreak hiders
187243
* Updated hook checks
188244
* Better debugger handling
189245
* Better incident handling
190246
* Fixed issue with false positive during device binding check
191247

192248
## 1.1.0
193-
#### Android
249+
250+
#### Android
251+
194252
* Changed minSDK to 21
195253
* Added DeviceBinding callback
196254
* Added UntrustedInstallation callback
197255

198-
#### iOS
256+
#### iOS
257+
199258
* Added onDeviceChange callback
200259
* Added onDeviceIdDetected callback
201260

202261
## 1.0.0
262+
203263
* Initial full release of freeRASP.
204264

205265
## 0.0.4
266+
206267
* Update: documentation
207268

208269
## 0.0.3
270+
209271
### General/Flutter
272+
210273
* Fix: documentation
211274

212275
## 0.0.2
276+
213277
### General/Flutter
278+
214279
* Updated README.md
215-
### iOS
280+
281+
### iOS
216282
* Fixed build failure on Xcode
217283

218284
## 0.0.1
285+
219286
* Initial testing release of freeRASP.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ dependencies {
5858
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5959

6060
// Talsec SDK
61-
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:9.0.0'
61+
implementation 'com.aheaditec.talsec.security:TalsecSecurity-Community-Flutter:9.0.2'
6262
}

android/src/main/kotlin/com/aheaditec/freerasp/FreeraspPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ class FreeraspPlugin : FlutterPlugin, ActivityAware, LifecycleEventObserver {
5555

5656
override fun onStateChanged(source: LifecycleOwner, event: Lifecycle.Event) {
5757
when (event) {
58-
Lifecycle.Event.ON_RESUME -> context?.let { TalsecThreatHandler.attachListener(it) }
59-
Lifecycle.Event.ON_PAUSE -> context?.let { TalsecThreatHandler.detachListener(it) }
58+
Lifecycle.Event.ON_RESUME -> context?.let { TalsecThreatHandler.resumeListener() }
59+
Lifecycle.Event.ON_PAUSE -> context?.let { TalsecThreatHandler.suspendListener() }
6060
else -> {
6161
// Nothing to do
6262
}

0 commit comments

Comments
 (0)