mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JavaScript: Include 'unzipper' library in ZipSlip.
This commit is contained in:
@@ -45,6 +45,8 @@ module ZipSlip {
|
||||
* Gets a node that can be a parsed archive.
|
||||
*/
|
||||
private DataFlow::SourceNode parsedArchive() {
|
||||
result = DataFlow::moduleImport("unzipper").getAMemberCall("Parse")
|
||||
or
|
||||
result = DataFlow::moduleImport("unzip").getAMemberCall("Parse")
|
||||
or
|
||||
result = DataFlow::moduleImport("tar-stream").getAMemberCall("extract")
|
||||
|
||||
Reference in New Issue
Block a user