fix(deps): override adm-zip to ^0.6.0 to clear the npm audit CI gate - #1014
Merged
Merged
Conversation
The npm audit --audit-level=high precheck gate (landed in #903) fails on GHSA-xcpc-8h2w-3j85: adm-zip <0.6.0 via onnxruntime-node via @huggingface/transformers, turning CI red for every PR. Force the patched adm-zip through the existing overrides block. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KTABxrmLvrGWZe4JgDh8YC
jonathanKingston
enabled auto-merge (squash)
July 18, 2026 15:45
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b234fc0f-3d96-419a-ac7a-cfeed9410580) |
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.


Summary
The
npm audit --audit-level=highprecheck gate (landed with #903) is failing on main itself: GHSA-xcpc-8h2w-3j85 —adm-zip@0.5.18pulled in viaonnxruntime-node→@huggingface/transformers. Because the gate runs inside precheck, every open PR's CI is currently red, and all armed auto-merges are stuck behind it.Change
Add
"adm-zip": "^0.6.0"to the existingoverridesblock inpackage.json(alongside dompurify/serialize-javascript/tar) and refreshpackage-lock.json. This is the advisory's patched line; 0.6.0 keeps the same API surfaceonnxruntime-nodeuses for archive extraction.Verified locally:
npm ls adm-zipshows0.6.0 overriddenandnpm audit --audit-level=highexits 0 with "found 0 vulnerabilities".After merge
Open PRs need their branches updated (or CI re-run) to pick the fix up through the merge ref — their prechecks will keep failing until then.
🤖 Generated with Claude Code
https://claude.ai/code/session_01KTABxrmLvrGWZe4JgDh8YC
Generated by Claude Code
Note
Low Risk
Dependency-only override with no application code changes; risk is limited to zip extraction behavior in optional ONNX/transformers paths, which the PR author expects to remain API-compatible.
Overview
Adds an
adm-zip^0.6.0npm override next to the existing security overrides so the lockfile no longer resolves the vulnerable 0.5.18 copy pulled in transitively (e.g.onnxruntime-nodeunder optional@huggingface/transformers).package-lock.jsonis refreshed to 0.6.0 (Node engine >=14.0 on that package).This targets GHSA-xcpc-8h2w-3j85 so
npm audit --audit-level=highin CI can pass again; branches that predate the fix need a merge or re-run to pick it up.Reviewed by Cursor Bugbot for commit 5b26747. Bugbot is set up for automated code reviews on this repo. Configure here.