Repository navigation
Studio frontend: bump node-forge to 1.4.3 and seroval to 1.7.5 - #16258
danielhanchen merged 4 commits into
Conversation
Bumps the npm-frontend-security group with 3 updates in the /studio/frontend directory: [katex](https://github.com/KaTeX/KaTeX), [node-forge](https://github.com/digitalbazaar/forge) and [seroval](https://github.com/lxsmnsyc/seroval). Updates `katex` from 0.16.47 to 0.18.2 - [Release notes](https://github.com/KaTeX/KaTeX/releases) - [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md) - [Commits](KaTeX/KaTeX@v0.16.47...v0.18.2) Updates `node-forge` from 1.4.0 to 1.4.1 - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.4.0...v1.4.1) Updates `seroval` from 1.6.8 to 1.7.5 - [Release notes](https://github.com/lxsmnsyc/seroval/releases) - [Commits](https://github.com/lxsmnsyc/seroval/compare/[email protected]@1.7.5) --- updated-dependencies: - dependency-name: katex dependency-version: 0.18.2 dependency-type: direct:production dependency-group: npm-frontend-security - dependency-name: node-forge dependency-version: 1.4.1 dependency-type: direct:production dependency-group: npm-frontend-security - dependency-name: seroval dependency-version: 1.7.5 dependency-type: indirect dependency-group: npm-frontend-security ... Signed-off-by: dependabot[bot] <[email protected]>
|
This comes from the katex bump itself, not from the test. I'd split katex out of this group and take only the |
#16264) `pip scan-packages :: hf-stack` now fails on PRs whose closure resolves unsloth-zoo 2026.10.11, for example #16258: ``` Summary: 5 CRITICAL, 7 HIGH, 172 MEDIUM 12 of the 184 finding(s) above are at a site already reviewed in scripts/scan_packages_baseline.json. What differs from the reviewed entry: HIGH unsloth-zoo unsloth_zoo/compiler.py same matched code, file digest outside the pin CRITICAL unsloth-zoo unsloth_zoo/device_type.py same matched code, file digest outside the pin ... ``` All twelve are the same kind: the scanner's matched code is byte-identical to a reviewed entry (the same `evidence_hash`), and only the pinned `file_sha256` moved because other lines in the file changed in the release. | File | Check | Reviewed `evidence_hash` matches | |---|---|---| | `unsloth_zoo/device_type.py` | env + network | yes | | `unsloth_zoo/llama_cpp.py` | env + network | yes | | `unsloth_zoo/triton_kernels_compat.py` | downloads and executes remote code | yes | | `unsloth_zoo/vision_utils.py` | env + network | yes | | `unsloth_zoo/vision_utils.py` | cloud metadata + network | yes | | `unsloth_zoo/compiler.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/vllm_gdn_replayssm.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/vllm_utils.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/mlx/decision.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/mlx/loader.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/mlx/speculative.py` | obfuscation + exec/eval | yes | | `unsloth_zoo/temporary_patches/moe_utils.py` | obfuscation + exec/eval | yes | ## Change As in #16114, each new entry sits next to the reviewed one it matches, pinned at the 2026.10.11 file digest. Nothing is removed, so shards that still resolve older zoo releases are unaffected. I did not regenerate the whole file with `--write-baseline`, since a single-package scan would drop every other package's entries. The diff is 108 added lines and no removed ones. ## Verification - `scripts/scan_packages.py unsloth-zoo==2026.10.11` on main gives `5 CRITICAL, 7 HIGH` with exit 1, matching the CI hf-stack run. On this branch it exits 0 (`24 finding(s) suppressed by baseline`, 13 MEDIUM left). - The tests that read the scanner or its baseline, under `tests/security` and the others that import it: 638 passed.
katex 0.18 renames CSS classes that the 0.16 markup from rehype-katex and @streamdown/math still emits, which breaks math rendering in Studio.
|
@codex review |
1 similar comment
|
@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. Bravo. 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". |
Narrowed from the original Dependabot group bump.
Changes
node-forge1.4.0 -> 1.4.3. Fixes GHSA-6889-vf6x-f3g5, GHSA-w4xr-hqv8-ch44, GHSA-6cv4-p8m7-4r25 and GHSA-j8rw-jp99-435v (all affect <= 1.4.2). 1.4.3 is past the 7 daymin-release-age.seroval1.6.8 -> 1.7.5 (transitive, via@tanstack/router-core). It now declaresnode >= 20, which the frontendenginesfield already requires.Not taken
katexstays on 0.16. 0.17 / 0.18 rename CSS classes and change rendering, which would change how math looks in chat. The remaining katex advisory (GHSA-238p-pmpm-9mq7) needs prototype pollution to already exist, and our katex settings come only from our own code.Checks
npm ciclean,npm audit --omit=dev: main 17 (1 high, 8 moderate, 8 low) -> 8 low, all on the katex chain.npm test: 15606 passed, 0 failed.npm run build: OK.encryptProviderApiKeysteps (RSA-OAEP SHA-256 + AES-GCM, tag 128) run with node-forge 1.4.0 and 1.4.3, then decrypted by the real backendkey_exchange.decrypt_api_key. Both versions round-trip an ASCII key and a 314 character Unicode key, and theforge.md.sha256attachment-id fallback matcheshashlib.sha256on both.