diff --git a/hardeneks/__init__.py b/hardeneks/__init__.py index 3563384..efc3a22 100644 --- a/hardeneks/__init__.py +++ b/hardeneks/__init__.py @@ -153,7 +153,7 @@ def run_hardeneks( console.print() with open(config, "r") as f: - config = yaml.load(f, Loader=yaml.FullLoader) + config = yaml.safe_load(f) if not namespace: namespaces = _get_namespaces(config["ignore-namespaces"])