From 8e05fdb36942525ff36da50d276452a55948df46 Mon Sep 17 00:00:00 2001 From: erik-krogh Date: Fri, 3 Feb 2023 15:00:31 +0100 Subject: [PATCH] make more imports private --- .../UnsafeShellCommandConstructionCustomizations.qll | 6 +++--- .../dataflow/UnsafeShellCommandConstructionQuery.qll | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionCustomizations.qll b/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionCustomizations.qll index fcffb9f5145..903b8f3eb72 100644 --- a/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionCustomizations.qll +++ b/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionCustomizations.qll @@ -5,9 +5,9 @@ */ private import python -import semmle.python.dataflow.new.DataFlow -import semmle.python.dataflow.new.TaintTracking -import CommandInjectionCustomizations::CommandInjection as CommandInjection +private import semmle.python.dataflow.new.DataFlow +private import semmle.python.dataflow.new.TaintTracking +private import CommandInjectionCustomizations::CommandInjection as CommandInjection private import semmle.python.Concepts as Concepts /** diff --git a/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionQuery.qll b/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionQuery.qll index 6fc567289e7..9003b19015c 100644 --- a/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionQuery.qll +++ b/python/ql/lib/semmle/python/security/dataflow/UnsafeShellCommandConstructionQuery.qll @@ -7,11 +7,11 @@ */ import python -import UnsafeShellCommandConstructionCustomizations::UnsafeShellCommandConstruction import semmle.python.dataflow.new.DataFlow -import semmle.python.dataflow.new.TaintTracking -import CommandInjectionCustomizations::CommandInjection as CommandInjection -import semmle.python.dataflow.new.BarrierGuards +import UnsafeShellCommandConstructionCustomizations::UnsafeShellCommandConstruction +private import semmle.python.dataflow.new.TaintTracking +private import CommandInjectionCustomizations::CommandInjection as CommandInjection +private import semmle.python.dataflow.new.BarrierGuards /** * A taint-tracking configuration for detecting shell command constructed from library input vulnerabilities.