CodeQL library for Java/Kotlin
codeql/java-all 0.8.12 (changelog, source)
Search

Member predicate OnActivityResultIncomingIntent::isRemoteSource

Holds if this node is a remote flow source.

This is only a source when the Activity or Fragment that implements onActivityResult is also using an implicit Intent to start another Activity with startActivityForResult. This means that a malicious application can intercept it to start itself and return an arbitrary Intent to onActivityResult.

predicate isRemoteSource()