Skip to content

Commit 8fe622f

Browse files
committed
JS: Update PrototypePollutingFunction.ql
1 parent fd763a0 commit 8fe622f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

javascript/ql/src/Security/CWE-915/PrototypePollutingFunction.ql

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,7 @@ module PropNameTrackingConfig implements DataFlow::StateConfigSig {
285285
}
286286

287287
predicate observeDiffInformedIncrementalMode() {
288-
// TODO(diff-informed): Manually verify if config can be diff-informed.
289-
// ql/src/Security/CWE-915/PrototypePollutingFunction.ql:516: Flow call outside 'select' clause
290-
// ql/src/Security/CWE-915/PrototypePollutingFunction.ql:519: Flow call outside 'select' clause
291-
// ql/src/Security/CWE-915/PrototypePollutingFunction.ql:520: Flow call outside 'select' clause
292-
// ql/src/Security/CWE-915/PrototypePollutingFunction.ql:524: Flow call outside 'select' clause
293-
none()
288+
none() // Disabled since the alert references some locations other than the source or sink
294289
}
295290
}
296291

0 commit comments

Comments
 (0)