mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Fix qhelp & ql-for-ql errors
This commit is contained in:
@@ -22,7 +22,7 @@ private predicate isDebugCheck(Expr ex) {
|
||||
)
|
||||
}
|
||||
|
||||
/** Configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
|
||||
/** A configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
|
||||
class WebviewDebugEnabledConfig extends DataFlow::Configuration {
|
||||
WebviewDebugEnabledConfig() { this = "WebviewDebugEnabledConfig" }
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<p>The <code>WebView.setWebContentsDebuggingEnabled</code> method enables or disables the contents of any <code>WebView</code> in the application to be debugged.</p>
|
||||
|
||||
<p>Enabling debugging featues could allow for additional entry points or leaking sensitive information.
|
||||
As such, debugging should only be anabled during development, and disabled during production builds.
|
||||
As such, debugging should only be anabled during development, and disabled during production builds.</p>
|
||||
</overview>
|
||||
<recommendation>
|
||||
Ensure that debugging features are not enabled during production builds.
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
import java
|
||||
import semmle.code.java.security.WebviewDubuggingEnabledQuery
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from WebviewDebugEnabledConfig conf, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
|
||||
Reference in New Issue
Block a user