diff --git a/cpp/ql/src/Likely Bugs/Memory Management/NtohlArrayNoBound.qll b/cpp/ql/src/Likely Bugs/Memory Management/NtohlArrayNoBound.qll index 60f05bbc293..05281178d87 100644 --- a/cpp/ql/src/Likely Bugs/Memory Management/NtohlArrayNoBound.qll +++ b/cpp/ql/src/Likely Bugs/Memory Management/NtohlArrayNoBound.qll @@ -147,7 +147,7 @@ deprecated class NetworkToBufferSizeConfiguration extends DataFlow::Configuratio } } -module NetworkToBufferSizeConfiguration implements DataFlow::ConfigSig { +private module NetworkToBufferSizeConfiguration implements DataFlow::ConfigSig { predicate isSource(DataFlow::Node node) { node.asExpr() instanceof NetworkFunctionCall } predicate isSink(DataFlow::Node node) { node.asExpr() = any(BufferAccess ba).getAccessedLength() } diff --git a/cpp/ql/src/Security/CWE/CWE-020/ExternalAPIsSpecific.qll b/cpp/ql/src/Security/CWE/CWE-020/ExternalAPIsSpecific.qll index f10a6caf74c..d2ab4f0309f 100644 --- a/cpp/ql/src/Security/CWE/CWE-020/ExternalAPIsSpecific.qll +++ b/cpp/ql/src/Security/CWE/CWE-020/ExternalAPIsSpecific.qll @@ -62,7 +62,7 @@ deprecated class UntrustedDataToExternalApiConfig extends TaintTracking::Configu deprecated class UntrustedDataToExternalAPIConfig = UntrustedDataToExternalApiConfig; /** A configuration for tracking flow from `RemoteFlowSource`s to `ExternalApiDataNode`s. */ -module UntrustedDataToExternalApiConfig implements DataFlow::ConfigSig { +private module UntrustedDataToExternalApiConfig implements DataFlow::ConfigSig { predicate isSource(DataFlow::Node source) { exists(RemoteFlowSourceFunction remoteFlow | remoteFlow = source.asExpr().(Call).getTarget() and diff --git a/cpp/ql/src/Security/CWE/CWE-020/ir/ExternalAPIsSpecific.qll b/cpp/ql/src/Security/CWE/CWE-020/ir/ExternalAPIsSpecific.qll index 36ca9b6909b..4dd077f24ce 100644 --- a/cpp/ql/src/Security/CWE/CWE-020/ir/ExternalAPIsSpecific.qll +++ b/cpp/ql/src/Security/CWE/CWE-020/ir/ExternalAPIsSpecific.qll @@ -57,7 +57,7 @@ deprecated class UntrustedDataToExternalApiConfig extends TaintTracking::Configu deprecated class UntrustedDataToExternalAPIConfig = UntrustedDataToExternalApiConfig; /** A configuration for tracking flow from `RemoteFlowSource`s to `ExternalApiDataNode`s. */ -module UntrustedDataToExternalApiConfig implements DataFlow::ConfigSig { +private module UntrustedDataToExternalApiConfig implements DataFlow::ConfigSig { predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource } predicate isSink(DataFlow::Node sink) { sink instanceof ExternalApiDataNode }