Skip to content

Baseline the nine unsloth-zoo 2026.9.9 findings after review - #12515

Merged
danielhanchen merged 1 commit into
mainfrom
baseline-unsloth-zoo-2026-9-9
Oct 2, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
baseline-unsloth-zoo-2026-9-9

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

pip scan-packages :: hf-stack in Security audit fails on main since unsloth-zoo 2026.9.9 reached PyPI: 5 CRITICAL, 4 HIGH, all in unsloth-zoo. This adds the nine entries after reviewing each site, pinned to the 2026.9.9 file digests, the same way #12292 did for 2026.9.8. Older pins stay, so 2026.9.8 still passes.

Re-pinned (7): same matched code, only the file digest moved. I diffed each file 2026.9.8 to 2026.9.9 for new network, exec, environment, credential or URL use outside the matched lines and found none:

File Check What changed in the file
compiler.py obfuscation + exec/eval decode-compile gating, V4 rope helpers
llama_cpp.py env + network tar extraction now also refuses paths through the archive's own links
mlx/loader.py obfuscation + exec/eval missing-argument error parsing
temporary_patches/moe_utils.py obfuscation + exec/eval MXFP4 fused GEMM path and its env switches
vision_utils.py env + network PyAV 19 metadata_errors fallback
vision_utils.py IMDS + network same file, same change
vllm_utils.py obfuscation + exec/eval LFM2 / Idefics3 weight mapping

New sites (2), read in full:

  • triton_kernels_compat.py (new file): resolves OpenAI's triton_kernels from a local install or vLLM's vendored copy with importlib.import_module, then runs a numeric self-check. No network, download, subprocess or exec.
  • temporary_patches/gpt_oss.py _matmul_ogs_for: imports matmul_ogs from the triton_kernels copy that owns an already-loaded tensor. The file's only download-related text is an unchanged "get_kernel" not in source check.

Both match "Downloads and executes remote code" only because of the dynamic import.

Validation

  • python scripts/scan_packages.py unsloth-zoo==2026.9.9: exit 0, 22 suppressed, 8 MEDIUM left (was 5 CRITICAL, 4 HIGH).
  • python scripts/scan_packages.py unsloth-zoo==2026.9.8: still exit 0.
  • tests/security/test_scan_packages*.py: 151 passed.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-02T06:35:23.692653Z 6125dbc Manual request
🔒 Security Review ⚠️ Failed 2026-10-02T06:30:10.749416Z 6125dbc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 6125dbcc8d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant