react-native-onesignal icon indicating copy to clipboard operation
react-native-onesignal copied to clipboard

[Bug]: Remote Webview debugging is enabled.

Open rakeshv1108 opened this issue 2 years ago • 7 comments

What happened?

How can this Webview debugging mode be turned off?

I've included my release apk build in the Mobsf testing procedure to look for security flaws. Additionally, I received one serious problem from the Mobsf report for your package library. The screenshot for that report is attached. Please take action to fix the security problem.

Screen Shot 2023-02-15 at 12 07 09 PM

Thank you.

Steps to reproduce?

1. Create release android build apk.
2. Set up the Mobsf security checkup tool.
3. Analyse that same apk through that Mobsf tool.

What did you expect to happen?

I want to disable or remove that debugging line from the npm package code.

React Native OneSignal SDK version

Release 4.5.0

Which platform(s) are affected?

  • [ ] iOS
  • [X] Android

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

rakeshv1108 avatar Feb 15 '23 06:02 rakeshv1108

Has this issue been added to the project road map? any approximation date on when this will be addressed?

mlblount45 avatar May 04 '23 17:05 mlblount45

Any new about this?

samu-gataca avatar May 10 '23 17:05 samu-gataca

I apologize we do not have news yet, but we appreciate the bump! We will investigate

emawby avatar May 11 '23 17:05 emawby

Any new?

maxi-sante avatar May 16 '23 21:05 maxi-sante

A pentest of our app revealed that Remote WebView debugging is activated. This was specifically found in OneSignal: com/onesignal/WebViewManager.java. We're use v4.5.1 of react-native-onesignal.

Any news about the issue yet?

Redn4s avatar Oct 20 '23 06:10 Redn4s

seems like that is false positive, because of this, if you do not set logLevel to debug and higher it should be OK

tair-rhyme avatar Jan 11 '24 11:01 tair-rhyme

I am having similar issue with Onesignal Android SDK with version 5.1.7. how can we disable Remote WEBview debugging?

manish-chimera avatar Apr 04 '24 11:04 manish-chimera