Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit b10f9f5

Browse files
authored
Merge branch 'main' into securingdev-java-cwe-532-dataflow-update
2 parents 49fe169 + 37ee529 commit b10f9f5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

java/CWE-326/Base64Encryption.ql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Base64Sinks extends DataFlow::Node {
2828
}
2929
}
3030

31-
module Base64EncryptionUsage implements DataFlow::ConfigSig {
31+
module Base64EncryptionUsageConfig implements DataFlow::ConfigSig {
3232

3333
predicate isSource(DataFlow::Node source) { source instanceof SensitiveInformationSources }
3434

@@ -39,9 +39,9 @@ module Base64EncryptionUsage implements DataFlow::ConfigSig {
3939
}
4040
}
4141

42-
module Base64EncryptionFlows = TaintTracking::Global<Base64EncryptionUsage>;
43-
import Base64EncryptionFlows::PathGraph //importing the path graph from the module
42+
module Base64EncryptionFlow = TaintTracking::Global<Base64EncryptionUsageConfig>;
43+
import Base64EncryptionFlow::PathGraph //importing the path graph from the module
4444

45-
from Base64EncryptionFlows::PathNode source, Base64EncryptionFlows::PathNode sink //Using PathNode from the module
46-
where Base64EncryptionFlows::flowPath(source, sink) //using flowPath instead of hasFlowPath
45+
from Base64EncryptionFlow::PathNode source, Base64EncryptionFlow::PathNode sink //Using PathNode from the module
46+
where Base64EncryptionFlow::flowPath(source, sink) //using flowPath instead of hasFlowPath
4747
select sink.getNode(), source, sink, "Sensitive data is being 'encrypted' with Base64 Encoding: $@", source.getNode(), "user-provided value"

0 commit comments

Comments
 (0)