We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b794fcb + 00c253a commit 3a2dd8fCopy full SHA for 3a2dd8f
java/ql/src/semmle/code/java/security/ExternalAPIs.qll
@@ -75,8 +75,9 @@ class ExternalAPIDataNode extends DataFlow::Node {
75
m.getASourceOverriddenMethod() = call.getCallee().getSourceDeclaration() and
76
m.fromSource()
77
) and
78
- // Not already modeled as a taint step
+ // Not already modeled as a taint step (we need both of these to handle `AdditionalTaintStep` subclasses as well)
79
not exists(DataFlow::Node next | TaintTracking::localTaintStep(this, next)) and
80
+ not exists(DataFlow::Node next | TaintTracking::defaultAdditionalTaintStep(this, next)) and
81
// Not a call to a known safe external API
82
not call.getCallee() instanceof SafeExternalAPIMethod
83
}
0 commit comments