mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
JS: Check property name in NodeJSModule.getABulkExportedNode
This commit is contained in:
@@ -102,6 +102,7 @@ class NodeModule extends Module {
|
||||
override DataFlow::Node getABulkExportedNode() {
|
||||
exists(DataFlow::PropWrite write |
|
||||
write.getBase().asExpr() = getModuleVariable().getAnAccess() and
|
||||
write.getPropertyName() = "exports" and
|
||||
result = write.getRhs()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user