/** * @name Leaking sensitive information through an implicit Intent * @description An Android application uses implicit Intents containing sensitive data * in a way that exposes it to arbitrary applications on the device. * @kind path-problem * @problem.severity warning * @security-severity 8.2 * @precision medium * @id java/android/sensitive-communication * @tags security * external/cwe/cwe-927 */ import java import semmle.code.java.security.AndroidSensitiveCommunicationQuery import SensitiveCommunicationFlow::PathGraph from SensitiveCommunicationFlow::PathNode source, SensitiveCommunicationFlow::PathNode sink where SensitiveCommunicationFlow::flowPath(source, sink) select sink.getNode(), source, sink, "This call may leak $@.", source.getNode(), "sensitive information"