Skip to content

Baseline the two unsloth-zoo 2026.10.2 findings after review - #12956

Merged
danielhanchen merged 3 commits into
mainfrom
scan-baseline-zoo-2026-10-2
Oct 7, 2026
Merged

danielhanchen merged 3 commits into
mainfrom
scan-baseline-zoo-2026-10-2

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

unsloth-zoo 2026.10.2 reached PyPI on Oct 7, and pip scan-packages :: hf-stack in the Security audit has failed on main since. Two HIGH findings sit at sites already reviewed for 2026.10.1. They were reopened only because the files changed, so their pinned digests no longer match.

This adds the 2026.10.2 digest for each one, the same way #12884 did for 2026.10.1 and #12515 for 2026.9.9. The 2026.10.1 entries stay, because one site can have several approved digests.

Review of the two files (2026.10.1 vs 2026.10.2 wheels)

File Check What changed Verdict
unsloth_zoo/vllm_utils.py Advanced obfuscation + exec/eval Adds one call to verify_vllm_moe_experts_match_checkpoint (in empty_model.py). It compares a few MoE expert rows with the checkpoint through safetensors.safe_open. No exec, subprocess or network code. The matched eval/exec/__import__ lines are unchanged, only shifted. benign
unsloth_zoo/temporary_patches/moe_utils.py Advanced obfuscation + exec/eval The Triton grouped-mm row limit now reads the UNSLOTH_MOE_GROUPED_TRITON* flags, and the compiled-MoE LoRA verdict is cached. The one matched site, the cached-bytecode exec(compile(...)) at L337, is byte-identical. benign

The evidence hashes match the existing reviewed entries. Only file_sha256 is new.

Verification

before after
scripts/scan_packages.py unsloth-zoo==2026.10.2 exit 1, 2 HIGH exit 0
scripts/scan_packages.py unsloth-zoo==2026.10.1 exit 0 exit 0
tests/security/test_scan_packages.py n/a 152 passed

unsloth-zoo 2026.10.2 reopened the two digest-pinned HIGH sites, so the
hf-stack scan in the security audit fails on main. Both were re-read
against 2026.10.1 and are benign:

- vllm_utils.py: the only change calls verify_vllm_moe_experts_match_checkpoint
  (empty_model.py), which compares a few MoE expert rows with the local
  safetensors checkpoint. The matched eval/exec/__import__ lines are unchanged.
- temporary_patches/moe_utils.py: Triton grouped-mm policy and compiled-MoE
  LoRA changes. The cached-bytecode exec at L337 is byte-identical.

Add one pinned entry per file for the 2026.10.2 digest. The 2026.10.1 pins
stay, so both releases pass.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 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 ⚠️ Failed 2026-10-07T17:05:42.463383Z 86a92e6 New commits
🔒 Security Review ⚠️ Failed 2026-10-07T14:32:52.590637Z a27acce 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: a27accef3e

ℹ️ 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