mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Update to DataFlow::Global
This commit is contained in:
@@ -15,5 +15,5 @@ import semmle.code.java.security.WebviewDebuggingEnabledQuery
|
||||
import WebviewDebugEnabledFlow::PathGraph
|
||||
|
||||
from WebviewDebugEnabledFlow::PathNode source, WebviewDebugEnabledFlow::PathNode sink
|
||||
where WebviewDebugEnabledFlow::hasFlowPath(source, sink)
|
||||
where WebviewDebugEnabledFlow::flowPath(source, sink)
|
||||
select sink, source, sink, "Webview debugging is enabled."
|
||||
|
||||
@@ -17,6 +17,6 @@ import semmle.code.java.security.UnsafeAndroidAccessQuery
|
||||
import FetchUntrustedResourceFlow::PathGraph
|
||||
|
||||
from FetchUntrustedResourceFlow::PathNode source, FetchUntrustedResourceFlow::PathNode sink
|
||||
where FetchUntrustedResourceFlow::hasFlowPath(source, sink)
|
||||
where FetchUntrustedResourceFlow::flowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "Unsafe resource fetching in Android WebView due to $@.",
|
||||
source.getNode(), sink.getNode().(UrlResourceSink).getSinkType()
|
||||
|
||||
@@ -18,7 +18,7 @@ import semmle.code.java.security.AndroidIntentRedirectionQuery
|
||||
import IntentRedirectionFlow::PathGraph
|
||||
|
||||
from IntentRedirectionFlow::PathNode source, IntentRedirectionFlow::PathNode sink
|
||||
where IntentRedirectionFlow::hasFlowPath(source, sink)
|
||||
where IntentRedirectionFlow::flowPath(source, sink)
|
||||
select sink.getNode(), source, sink,
|
||||
"Arbitrary Android activities or services can be started from a $@.", source.getNode(),
|
||||
"user-provided value"
|
||||
|
||||
Reference in New Issue
Block a user