Repository navigation
Baseline the unsloth-zoo 2026.10.7 scan findings after review - #14311
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Security auditon main fails inpip scan-packages :: hf-stack(run 39357543071 on 22a0bea) with 2 CRITICAL and 5 HIGH unbaselined findings, all in unsloth-zoo. unsloth-zoo 2026.10.7 reached PyPI yesterday at 15:39, and the scan installs the latest release. Nothing in this repo caused it; it is the expected churn of digest-pinned entries on a zoo release, same as #13143, #13472, #13701 and #13949.llama_cpp.pycompiler.pyvllm_utils.pymlx/loader.pymlx/speculative.pytemporary_patches/moe_utils.pytriton_kernels_compat.pyReview
I diffed each of the seven files between 2026.10.6 (last baselined) and 2026.10.7 and searched the added lines for network, subprocess, exec/eval/compile, encoding, pickle, ctypes and environment access. What they add:
triton_kernels_compat.py: the flagged lines areimportlib.import_module(self.name + ".topk")and".tensor_details.ragged_tensor", which import fixed submodules of an already installedtriton_kernelspackage or vLLM's vendored copy. The newUNSLOTH_TRITON_KERNELS_SOURCEflag (auto | triton_kernels | vllm) only picks which of those two to import. Nothing is downloaded.vllm_utils.py,temporary_patches/moe_utils.py: feature flags (UNSLOTH_VLLM_SUFFIX_DECODING,UNSLOTH_VLLM_FP32_LM_HEAD,UNSLOTH_MOE_DEQUANT_CHUNK_EXPERTS,UNSLOTH_MOE_SELECTIVE_DEQUANT).mlx/loader.py: on MLX >= 0.32.4, imports the mlx-vlm modules named in a fixed table (_EXACT_VERIFY_SUM_SOURCES) and uses two regexes to promote their verify-kernel sums to float32.llama_cpp.py,compiler.py,mlx/speculative.py: no added line touches any of those patterns.None adds network access, subprocess use, encoded payloads or a new destination.
Change
Seven entries added to
scripts/scan_packages_baseline.json, taken fromscan_packages.py --write-baselineoverunsloth-zoo==2026.10.7and filtered to the unbaselined keys. Each is pinned to its 2026.10.7 file digest, as the previous entries for these files were, and sits next to them. Nothing is removed, so older releases stay covered.Testing
scan_packages.py unsloth-zoo==2026.10.7: exits 0 with this baseline; with main's baseline it exits 1 with the same seven findings as CI.scan_packages.py unsloth-zoo==2026.10.6still exits 0.tests/security/test_scan_packages.py: 152 passed.