mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JavaScript: add taint step through 'join'
This commit is contained in:
@@ -365,7 +365,9 @@ module TaintTracking {
|
||||
name = "trimRight" or
|
||||
// sorted, interesting, properties of Object.prototype
|
||||
name = "toString" or
|
||||
name = "valueOf"
|
||||
name = "valueOf" or
|
||||
// sorted, interesting, properties of Array.prototype
|
||||
name = "join"
|
||||
) or
|
||||
exists (int i | pred.asExpr() = astNode.(MethodCallExpr).getArgument(i) |
|
||||
name = "concat" or
|
||||
|
||||
Reference in New Issue
Block a user