Comments (10)
Thanks for your submission. We are inspecting this issue internally. We will get back to you with a resolution.
from free-rasp-flutter.
Thanks for paying attention, @talsec-app.
My main concern is that the callbacks is not being invoked, so I guessed that these warnings had something to do with that.
If you need any specific information about the my app to continue your debugging, I'll be happy to help.
from free-rasp-flutter.
Hi @ShadyZekry , the issue will be solved in the upcoming freeRASP release. Thanks for giving your time to help our cause.
from free-rasp-flutter.
Hello.
We have just released new version of freeRASP 2.0.0. This version fixes this issue. We recommend you to update to this new version.
Talsec Team
from free-rasp-flutter.
this is happening to me too, did you find a solution?
from free-rasp-flutter.
Not yet, @realTristan .
I wanted to deploy my application fast, so I skipped the RASP part from my app.
from free-rasp-flutter.
This issue was caused by a deprecated API in one of hook detection checks. It shouldn't impact your app run whatsoever. But it is a bug, and we will provide a patch in the upcoming release.
from free-rasp-flutter.
This seems to be a separate issue. How do you test your callbacks? You can find tips in this issue: #3
from free-rasp-flutter.
Hi @ShadyZekry
My main concern is that the callbacks is not being invoked, so I guessed that these warnings had something to do with that. > If you need any specific information about the my app to continue your debugging, I'll be happy to help.
Just would like to check if issue: #3 suggestions helped you to verify the problem. Please let me know if you can proceed with freeRASP or any other issue is blocking you.
Regards,
Sergiy Yakymchuk
Talsec co-founder
from free-rasp-flutter.
Sorry I was busy in the last 3 days, @yakim333 @talsec-app
So, I was not following this issue to test the package to be honest. What I have tried to do is trying different changes to the app to test these lines of code which i found on the README:
// Talsec config
TalsecConfig config = TalsecConfig(
androidConfig: AndroidConfig(
expectedPackageName: dotenv.env["EXPECTED_PACKAGE_NAME"]!,
expectedSigningCertificateHash: dotenv.env["EXPECTED_SIGNING_HASH"]!,
),
watcherMail: '[email protected]',
);
// Callback setup
TalsecCallback callback = TalsecCallback(
onDebuggerDetected: () => print("Debugger detected"),
// For Android
androidCallback: AndroidCallback(
onRootDetected: () => print('Root detected'),
onEmulatorDetected: () => print('Emulator detected'),
onHookDetected: () => print('Hook detected'),
onTamperDetected: () => print('Tamper detected'),
onDeviceBindingDetected: () => print('Device binding detected'),
onUntrustedInstallationDetected: () => print('Untrusted installation detected'),
),
}
These lines were added to initstate
at the start of my app, after adding all the android configurations mentioned in the README ofcourse.
I did try these to test the app over multiple devices:
- Run the app on debugger.
- Run on a rooted device.
- Run on Emulator.
- Change my
EXPECTED_PACKAGE_NAME
in my.env
file. - Change my
EXPECTED_SIGNING_HASH
in my.env
file. - Install the app .apk as an untrused installation.
And sadly not a single callback is called, and I keep getting these lines in the logs as I mentioned before.
I/System (24218): Opening DexFile: /data/app/com.test.project.dev-LGO3HZxe32u2d8rLunK-_A==/base.apk
W/est.project.de(24218): Opening an oat file without a class loader. Are you using the deprecated DexFile APIs?
W/System (24218): A resource failed to call close.
from free-rasp-flutter.
Related Issues (20)
- [Flutter project] APK file increased by 40% with FreeRASP package HOT 6
- java.lang.UnsatisfiedLinkError crash HOT 3
- onSecureHardwareNotAvailable false positives with freeRASP 6.0.0 HOT 6
- Threat detection order HOT 1
- Android app not compilable with AGP >= 8.0.0 HOT 3
- Shorebird and freeRasp inconvenient HOT 4
- Where is the documentation? HOT 1
- DeadObjectException on some Android 6 devices HOT 4
- How to know proper value for `AndroidConfig.supportedStores`? HOT 3
- How the 100k limitation for free tier is calculated? HOT 2
- The package is susceptible to smali changes. HOT 6
- Free-RASP-Flutter Security Delay Issue HOT 8
- When the app is minimized and resumed before the checks, they do not occur. HOT 5
- only Xcode 13 required to be able to build the application. HOT 4
- Crash on iOS device with 6.2.0 HOT 6
- onAppIntegrity after releasing playstore HOT 7
- Emulator Detection / Root detection on Android emulator HOT 3
- Which callback? HOT 3
- Android app not compilable with AGP >= 8.0.0 HOT 2
- Android Google Play Automatic integrity protection support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free-rasp-flutter.