Skip to content

Commit 86671a9

Browse files
committed
Python: WeakSensitiveDatHashing
1 parent 58e9e4a commit 86671a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/ql/lib/semmle/python/security/dataflow/WeakSensitiveDataHashingQuery.qll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ module NormalHashFunction {
3333
predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
3434
sensitiveDataExtraStepForCalls(node1, node2)
3535
}
36+
37+
predicate observeDiffInformedIncrementalMode() { any() }
3638
}
3739

3840
/** Global taint-tracking for detecting "use of a broken or weak cryptographic hashing algorithm on sensitive data" vulnerabilities. */
@@ -63,6 +65,8 @@ module ComputationallyExpensiveHashFunction {
6365
predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
6466
sensitiveDataExtraStepForCalls(node1, node2)
6567
}
68+
69+
predicate observeDiffInformedIncrementalMode() { any() }
6670
}
6771

6872
/** Global taint-tracking for detecting "use of a broken or weak cryptographic hashing algorithm on passwords" vulnerabilities. */

0 commit comments

Comments
 (0)