mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge pull request #520 from esben-semmle/js/clear-text-logging-taint-kinds
Approved by asger-semmle
This commit is contained in:
@@ -52,7 +52,7 @@ module CleartextLogging {
|
||||
}
|
||||
|
||||
override predicate isAdditionalFlowStep(DataFlow::Node src, DataFlow::Node trg) {
|
||||
any (TaintTracking::StringConcatenationTaintStep s).step(src, trg)
|
||||
StringConcatenation::taintStep(src, trg)
|
||||
or
|
||||
exists (string name | name = "toString" or name = "valueOf" |
|
||||
src.(DataFlow::SourceNode).getAMethodCall(name) = trg
|
||||
|
||||
Reference in New Issue
Block a user