diff --git a/src/skillspector/input_handler.py b/src/skillspector/input_handler.py index e511281..3f28253 100644 --- a/src/skillspector/input_handler.py +++ b/src/skillspector/input_handler.py @@ -179,7 +179,7 @@ def _extract_zip(self, zip_path: Path) -> Path: extract_dir.mkdir(exist_ok=True) try: with zipfile.ZipFile(zip_path, "r") as zf: - zf.extractall(extract_dir) + zf.extractall(extract_dir, filter="data") except zipfile.BadZipFile: logger.warning("Invalid zip or extract failed: %s", zip_path) raise ValueError(f"Invalid zip file: {zip_path}") from None