Repository navigation
Security audit: re-pin six reviewed unsloth-zoo 2026.11.10 sites in the package scan baseline - #19250
Merged
Merged
Conversation
…he package scan baseline unsloth-zoo 2026.11.10 changed compiler.py, mlx/decision.py, temporary_patches/moe_utils.py, vision_utils.py and vllm_utils.py, so their reviewed sites fall outside the file digest pins and pip scan-packages :: hf-stack fails on every PR. The flagged code is unchanged (same evidence hash); the rest of each diff since 2026.11.9 was reviewed. Append six entries pinned to the 2026.11.10 digests; no existing entry is changed.
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Security audit/pip scan-packages :: hf-stackfails on every PR that runs it, for example #19238:plus the two
vision_utils.pyCRITICAL sites (env + network, IMDS + network).Root cause
unsloth-zoo 2026.11.10 was released, and no PR here caused it. The scanner pins each reviewed zoo site to the file digest it was reviewed at, so a release that edits those files reopens their sites until they are re-reviewed. This is the same as the earlier re-pins (#19030, #18724). For all six sites the scanner reports "same matched code, file digest outside the pin": the evidence hash matches the reviewed entry, so the flagged lines themselves are unchanged.
Re-review
The pin covers the whole file, so I diffed each one from 2026.11.9 to 2026.11.10:
vision_utils.py: media fetches now pass an explicitauth.defaultentry and plain-http URLs no longer receive the user's saved credentials.vllm_utils.py: the adapter staging folder is created owner-only (0o700), and a re-save keeps the mode of the file it replaces.mlx/decision.py: the same owner-only and keep-the-mode handling for saved weights (private_staginghelpers).compiler.py:temporary_patches/moe_utils.py: an automatic cap on MoE dequant scratch memory, read from the localUNSLOTH_MOE_DEQUANT_*settings, recorded once per checkpointed call so the backward replay matches.None adds a network destination, subprocess, encoded payload or dynamic code path beyond the reviewed
exec/evallines.Changes
scripts/scan_packages_baseline.json: six new entries pinned to the 2026.11.10 file digests. They are appended at the end; no existing entry is changed or removed (54 lines added, 0 removed), so no reviewed pin is widened.Testing
python scripts/scan_packages.py unsloth-zoo==2026.11.10:main's baseline: exit 1,2 CRITICAL, 4 HIGH, the six sites above;Summary: 17 MEDIUM, 23 findings suppressed.tests/security/test_scan_packages.py: 152 passed.