Update javascript/ql/src/semmle/javascript/security/dataflow/CodeInjectionCustomizations.qll

Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Erik Krogh Kristensen
2020-10-08 21:28:50 +02:00
committed by GitHub
parent 1ed026fcce
commit 65b90c411c

View File

@@ -87,6 +87,7 @@ module CodeInjection {
this = c.getArgument(index)
)
or
// node-serialize is not intended to be safe for untrusted inputs
this = DataFlow::moduleMember("node-serialize", "unserialize").getACall().getArgument(0)
}
}