add separate query for sinks that accepts data: URL

This commit is contained in:
amammad
2023-09-28 03:39:29 +10:00
parent f6737b3d90
commit 921198ed30
13 changed files with 448 additions and 263 deletions

View File

@@ -761,13 +761,6 @@ module NodeJSLib {
}
}
/**
* The dynamic import expression input can be a `data:` URL which loads any module from that data
*/
class DynamicImport extends CodeInjection::Sink, DataFlow::ExprNode {
DynamicImport() { this = any(DynamicImportExpr e).getSource().flow() }
}
/**
* A call to a method from module `child_process`.
*/