GithubHelp home page GithubHelp logo

Comments (10)

talsec-app avatar talsec-app commented on June 21, 2024 1

Thanks for your submission. We are inspecting this issue internally. We will get back to you with a resolution.

from free-rasp-flutter.

ShadyZekry avatar ShadyZekry commented on June 21, 2024 1

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.

talsec-app avatar talsec-app commented on June 21, 2024 1

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.

talsec-app avatar talsec-app commented on June 21, 2024 1

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.

realTristan avatar realTristan commented on June 21, 2024

this is happening to me too, did you find a solution?

from free-rasp-flutter.

ShadyZekry avatar ShadyZekry commented on June 21, 2024

Not yet, @realTristan .
I wanted to deploy my application fast, so I skipped the RASP part from my app.

from free-rasp-flutter.

talsec-app avatar talsec-app commented on June 21, 2024

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.

talsec-app avatar talsec-app commented on June 21, 2024

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.

yakim333 avatar yakim333 commented on June 21, 2024

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.

ShadyZekry avatar ShadyZekry commented on June 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.