Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Baseline the seven unsloth-zoo 2026.9.7 findings after re-review (#11577)

Daniel Han321a4efd21a6
diff --git a/scripts/scan_packages_baseline.json b/scripts/scan_packages_baseline.json
index 5747cc5c216..8927962c449 100644
--- a/scripts/scan_packages_baseline.json
+++ b/scripts/scan_packages_baseline.json
@@ -2016,6 +2016,69 @@
"evidence": "Obfusc: L330: exec(compile(cached_bytes, cache_file, \"exec\"), module.__dict__)\nExec: L330: exec(compile(cached_bytes, cache_file, \"exec\"), module.__dict__)",
"evidence_hash": "ef22a4fe0d8ec7e2b0e4afc6e6a3d997cd94c981bf59790562217d4f9dd70732",
"file_sha256": "5a5b88e76bd20c9fa1607d962a768b748eb8086d9c77e799b0f67bf00c99214b"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/llama_cpp.py",
+ "check": "Harvests environment variables/secrets AND makes network calls",
+ "severity": "CRITICAL",
+ "evidence": "Env: L985: token = os.environ.get(\"GH_TOKEN\") or os.environ.get(\"GITHUB_TOKEN\") | L5408: env = dict(env) if env is not None else dict(os.environ) | L5495: env = dict(os.environ)\nNetwork: L993: response = requests.get(url, timeout = timeout, headers = headers, stream = stream) | L4106: response = requests.get(\nL4107: LLAMA_CPP_CONVERT_FILE, timeout = (10, 120)\nL4108: ) | L7544: check = requests.get(llama_cpp_chat_file, timeout = 5)",
+ "evidence_hash": "88c38db8f2b8b9d6512709dd7a6d7a9a7bf8a3c48007124ff3680da3a5331d1d",
+ "file_sha256": "d72ae17d76be2c65aa011d0f10a17986ce36bdec58ce6030b68c2a3ce418e357"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/compiler.py",
+ "check": "Advanced obfuscation (marshal/compile/zlib) + exec/eval",
+ "severity": "HIGH",
+ "evidence": "Obfusc: L1638: exec(compile(source, file_location, \"exec\"), new_module.__dict__) | L1877: _mod = __import__(model_location, fromlist=items) | L6295: f\" {chr(92)}{chr(92)} /| Num examples = {num_examples:,} | Num Epochs = {num_train_epochs:,} | Total steps = {max_steps:,}\\\\n\"\\\\\nL6296: f\"O^O/ {chr(92)}_/ {chr(92)} Batch size per device = {self._train_batch_size:,} | Gradient accumulation steps = {args.gradient_accumulation_steps}\\\\n\"\\\\\nL6297: f\"{chr(92)} / Data Parallel GPUs = {args.world_size} | Total batch size ({self._train_batch_size} x {args.gradient_accumulation_steps} x {args.world_size}) = {total_train_batch_size: sha256:b7ea9cdbe360ad323911014caf12a9d4ec87cb36195a511080e4e484c2fb80d2\nL6298: f' \"-____-\" Trainable parameters = {get_model_param_count(model, trainable_only=True):,} of {get_model_param_count(model):,} ({get_model_param_count(model, trainable_only=True)/get_model_p sha256:9e832c1e7b2815aa44dc42638d821cb9df22550db88d85bd4bfb29c13f984b53 | L6296: f\"O^O/ {chr(92)}_/ {chr(92)} Batch size per device = {self._train_batch_size:,} | Gradient accumulation steps = {args.gradient_accumulation_steps}\\\\n\"\\\\\nL6297: f\"{chr(92)} / Data Parallel GPUs = {args.world_size} | Total batch size ({self._train_batch_size} x {args.gradient_accumulation_steps} x {args.world_size}) = {total_train_batch_size: sha256:b7ea9cdbe360ad323911014caf12a9d4ec87cb36195a511080e4e484c2fb80d2\nL6298: f' \"-____-\" Trainable parameters = {get_model_param_count(model, trainable_only=True):,} of {get_model_param_count(model):,} ({get_model_param_count(model, trainable_only=True)/get_model_p sha256:9e832c1e7b2815aa44dc42638d821cb9df22550db88d85bd4bfb29c13f984b53 | L6295: f\" {chr(92)}{chr(92)} /| Num examples = {num_examples:,} | Num Epochs = {num_train_epochs:,} | Total steps = {max_steps:,}\\\\n\"\\\\\nL6296: f\"O^O/ {chr(92)}_/ {chr(92)} Batch size per device = {self._train_batch_size:,} | Gradient accumulation steps = {args.gradient_accumulation_steps}\\\\n\"\\\\\nL6297: f\"{chr(92)} / Data Parallel GPUs = {args.world_size} | Total batch size ({self._train_batch_size} x {args.gradient_accumulation_steps} x {args.world_size}) = {total_train_batch_size: sha256:b7ea9cdbe360ad323911014caf12a9d4ec87cb36195a511080e4e484c2fb80d2\nExec: L1638: exec(compile(source, file_location, \"exec\"), new_module.__dict__) | L1806: _modeling_file = eval(model_location) | L2533: f = eval(f\"{model_location}.{module}\") | L2874: exec(f\"def raise_{j}(*args, **kwargs): print('{function}')\", globals(), locals()) | L2875: try: exec(f\"EMPTY_LOGITS.{function} = raise_{j}\", globals(), locals()) | L4357: exec(f\"import {parent}\", locals(), globals()) | L4471: dir(eval(parent)), | L4475: exec(f\"{parent}.{child}.forward = forward\", globals(), locals()) | L4549: module = eval(f\"modeling_file.{module}\") | L4576: inner_class = eval(f\"modeling_file.{inner_class}\") | L4706: exec(f\"from timm.layers.norm_act import {norm}\") | L4714: forward = eval(norm).forward | L4720: exec(f\"timm.layers.norm_act.{norm}.forward = forward\") | L4737: exec(f\"from timm.models._efficientnet_blocks import {block}\") | L4745: forward = eval(block).forward | L4751: exec(f\"timm.models._efficientnet_blocks.{block}.forward = forward\") | L4991: exec(\nL4992: f\"{model_location}.torch.nn.{module}.forward = forward\",\nL4993: globals(),\nL4994: locals(),\nL4995: ) | L4997: exec(f\"{model_location}.nn.{module}.forward = forward\", globals(), locals()) | L5001: exec(\nL5002: f\"combined_module.torch.nn.{module}.forward = forward\",\nL5003: globals(),\nL5004: locals(),\nL5005: ) | L5007: exec(f\"combined_module.nn.{module}.forward = forward\", globals(), locals()) | L5084: source = eval(f\"{model_location}.torch\") | L5091: function = eval(f\"source.nn.{module}\") | L5285: exec(\"import transformers\", globals()) | L5298: exec(\nL5299: \"model_logger.addFilter(HideLoggingMessage('`use_cache`'))\", globals(), locals()\nL5300: ) | L5302: exec(\nL5303: \"model_logger.addFilter(HideLoggingMessage('compile_config'))\",\nL5304: globals(),\nL5305: locals(),\nL5306: ) | L5540: source = eval(f\"modeling_file.{module}\") | L5554: source = eval(f\"modeling_file.{module}\") | L5655: source = eval(f\"modeling_file.{module}\") | L5693: source = eval(f\"{model_location}.{module}\") | L5773: source = eval(f\"{model_location}.{module}\") | L5821: source = eval(f\"{model_location}.{module}\") | L6058: source = eval(f\"{model_location}.{module}\") | L6069: exec(\nL6070: f\"{model_location}.{module}._update_causal_mask = no_update_causal_mask\",\nL6071: globals(),\nL6072: ) | L6135: source = eval(f\"{model_location}.{module}\") | L6176: module_cls = eval(f\"{model_location}.{module}\") | L6213: module_cls = eval(f\"{model_location}.{module}\") | L6280: exec(\nL6281: \"from transformers.trainer import (\" + \", \".join(x for x in good_items) + \")\",\nL6282: globals(),\nL6283: ) | L6345: exec(inner_training_loop, globals()) | L6354: function = eval(f\"{model_location}.{module}\") | L6441: function = eval(f\"{model_location}.{module}\") | L6595: exec(\nL6596: f\"{model_location}.{module} = combined_module.{module}\",\nL6597: globals(),\nL6598: locals(),\nL6599: ) | L6609: check_dicts = dir(eval(f\"{model_location}\")) | L6611: item = eval(f\"{model_location}.{check}\") | L6621: exec(\nL6622: f\"{model_location}.{check}['{key}'] = combined_module.{replaced_class}\",\nL6623: globals(),\nL6624: locals(),\nL6625: )",
+ "evidence_hash": "aaba0e6f7c289e2d6ee4ac8ff927d691a450fb3913a4245aa0fab585dd28d871",
+ "file_sha256": "f6005ebf8d082e2cec5d490698fd96a5fd7490fcc807a8edb71eaf3d7f32ecd1"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/mlx/loader.py",
+ "check": "Advanced obfuscation (marshal/compile/zlib) + exec/eval",
+ "severity": "HIGH",
+ "evidence": "Obfusc: L4859: _mod = __import__(module_name, fromlist=[\"_\"])\nExec: L158: mx.eval(model.parameters()) | L192: mx.eval([v for k, v in tree_flatten(casted) if is_mlx_norm_parameter_path(k)]) | L1254: mx.eval(model.parameters()) | L1255: mx.eval(mx.distributed.all_sum(mx.array(1.0), stream=mx.cpu)) | L1322: mx.eval(model.parameters()) | L1325: mx.eval(mx.distributed.all_sum(mx.array(1.0), stream=mx.cpu)) | L2715: mx.eval(altup.correct(predictions, activated)) | L3214: mx.eval(baseline, perturbed) | L4507: model.eval() | L5248: mx.eval(model.parameters()) | L5364: mx.eval(module.weight) | L7917: mx.eval(model.parameters()) | L7934: mx.eval(target.parameters()) | L8812: lambda: mx.eval(model.parameters()), | L8872: lambda: mx.eval(model.parameters()), | L9028: mx.eval(model.parameters())",
+ "evidence_hash": "33ed0a28c99198e85c768e9d9e799e0762c433cfdab71992fa1e047c67b23046",
+ "file_sha256": "5d574174485141a92839df63447d1878b43c6ddc0d45eefd917a189075d34319"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/temporary_patches/moe_utils.py",
+ "check": "Advanced obfuscation (marshal/compile/zlib) + exec/eval",
+ "severity": "HIGH",
+ "evidence": "Obfusc: L330: exec(compile(cached_bytes, cache_file, \"exec\"), module.__dict__)\nExec: L330: exec(compile(cached_bytes, cache_file, \"exec\"), module.__dict__)",
+ "evidence_hash": "ef22a4fe0d8ec7e2b0e4afc6e6a3d997cd94c981bf59790562217d4f9dd70732",
+ "file_sha256": "567474f064b6fa7c21947c4ecbaa73e0ecae0aa14a5cc5ac57361665a76814fa"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/converter_scan.py",
+ "check": "Writes to /tmp and executes (staged dropper)",
+ "severity": "CRITICAL",
+ "evidence": "L324: r\"/tmp/\\S+.*(?:subprocess|os\\.system|os\\.popen|Popen|chmod.*\\+x)\", | L324: r\"/tmp/\\S+.*(?:subprocess|os\\.system|os\\.popen|Popen|chmod.*\\+x)\", sha256:5b1749fa0d5dca5b0404f92f3e82d17a9b872a2443830a68d84016680f97e95a",
+ "evidence_hash": "057c7a7106a83eaa1e82063fdae0b90bc721a73e20af2f53f05a0919bc84e4ed",
+ "file_sha256": "747bc4f3f23f7d2e445cc7fc2c9a9a2a825cf7118b22e7ac42718a215b926bf5"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/converter_scan.py",
+ "check": "May-12 Shai-Hulud IOC string present in Python file",
+ "severity": "CRITICAL",
+ "evidence": "L339: r\"|With Love TeamPCP|We've been online over 2 hours)\",",
+ "evidence_hash": "1fc2637d45f3b1dc5a94c41c13abc5fde05e224b9fcac3f8ddd861e84f90ec57",
+ "file_sha256": "747bc4f3f23f7d2e445cc7fc2c9a9a2a825cf7118b22e7ac42718a215b926bf5"
+ },
+ {
+ "package": "unsloth-zoo",
+ "file": "unsloth_zoo/converter_scan.py",
+ "check": "Installs persistence mechanism (systemd/cron/launchd/registry)",
+ "severity": "HIGH",
+ "evidence": "L182: r\"/etc/systemd/\" | L185: r\"|/etc/cron\" | L188: r\"|/Library/LaunchDaemons\" | L189: r\"|/Library/LaunchAgents\" | L191: r\"|~/.local/share/systemd\" | L193: r\"|HKEY_LOCAL_MACHINE.*\\\\\\\\Run\" | L194: r\"|HKEY_CURRENT_USER.*\\\\\\\\Run\"",
+ "evidence_hash": "23e53d85cbd99e32168cc24464299379df5a1864ad465d52aae6ca3d68684cfa",
+ "file_sha256": "747bc4f3f23f7d2e445cc7fc2c9a9a2a825cf7118b22e7ac42718a215b926bf5"
}
]
}