mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Update javascript/ql/src/semmle/javascript/security/dataflow/CodeInjectionCustomizations.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
1ed026fcce
commit
65b90c411c
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user