Repository navigation
build: bump glob 14.0.3 / minimatch 11.0.3 (CVE-2026-118773 / -118764, ENG-22080) - #322
william-antoline-boon wants to merge 2 commits into
Conversation
… -118764, ENG-22080) Amazon Inspector flags glob 13.0.6 and minimatch 10.2.5 (Medium) on every paid boon-agent host and on the boon-agent-signup-container image. Both come from this fork: root dependencies, the workspace overrides, and extensions/file-transfer. - package.json: glob 13.0.6 -> 14.0.3, minimatch 10.2.5 -> 11.0.3 - extensions/file-transfer/package.json: minimatch 10.2.5 -> 11.0.3 - pnpm-workspace.yaml: override minimatch 10.2.5 -> 11.0.3, add glob 14.0.3, raise brace-expansion 5.0.11 -> 5.0.12 (minimatch 11's floor) - pnpm-lock.yaml: pnpm 11.2.2 --lockfile-only - npm-shrinkwrap.json: same versions, entries from npm's own resolution minimatch 11.0.3 rather than 11.0.4: 11.0.4 is inside the 2-day minimumReleaseAge window. Both are past the 11.0.1 fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
- Drop the Linear ticket ID from the new override comments; keep the CVE and package rationale. - Remove the stale [email protected] minimumReleaseAgeExclude entry: nothing resolves 5.0.9 anymore (override is now 5.0.12). Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Security & Dependency Review: APPROVE
Reviewed head commit: 75b091bcd57479f0d0f7b143e60da84bdb54eaee
1. Manifest & Lockfile Scope
- The diff touches manifests and lockfiles exclusively across 5 files:
package.json,extensions/file-transfer/package.json,pnpm-workspace.yaml,pnpm-lock.yaml, andnpm-shrinkwrap.json. - Resolves CVE-2026-118773 (glob, fixed in 14.0.2) via
[email protected]and CVE-2026-118764 (minimatch, fixed in 11.0.1) via[email protected](ENG-22080). - Properly pins overrides in
pnpm-workspace.yaml(glob: 14.0.3,minimatch: 11.0.3,brace-expansion: 5.0.12), preventing dev dependencies likecacachefrom pulling unpatched versions. Stale[email protected]release-age exclusion cleanly dropped.
2. Registry & Integrity Vetting
All added and updated packages were vetted directly against registry.npmjs.org:
[email protected]: SHA-512 integrity matches official npm distribution.[email protected]: SHA-512 integrity matches official npm distribution.@isaacs/[email protected](minimatch transitive): SHA-512 integrity matches official npm distribution.[email protected](minimatch floor): SHA-512 integrity matches official npm distribution.[email protected](glob transitive): SHA-512 integrity matches official npm distribution.
3. Breaking Change / Call Site Compatibility
Audited all repo call sites:
extensions/file-transfer/src/shared/policy.ts: standardminimatch(target, pattern, { dot: true }).src/agents/sessions/package-manager.ts: standardminimatch(...)andglobSync(entry, { cwd, absolute, dot, nodir }).src/agents/sessions/model-resolver.ts: standardminimatch(..., { nocase: true }).
No deprecated or removed APIs (makeRe,Minimatch#regexp,AST,debug, etc.) are consumed.
4. Commit Signatures & CI Status
- Head commit
75b091bcd57479f0d0f7b143e60da84bdb54eaeeis unsigned by author; noted non-blocking as GitHub signs squash-merges. - Full CI suite at head is all green (123 check runs, 0 failures,
dependency-guardpassed).
… -118764, ENG-22080) Amazon Inspector flags glob 13.0.6 and minimatch 10.2.5 (Medium) on every paid boon-agent host and on the boon-agent-signup-container image. Both come from this fork: root dependencies, the workspace overrides, and extensions/file-transfer. - package.json: glob 13.0.6 -> 14.0.3, minimatch 10.2.5 -> 11.0.3 - extensions/file-transfer/package.json: minimatch 10.2.5 -> 11.0.3 - pnpm-workspace.yaml: override minimatch 10.2.5 -> 11.0.3, add glob 14.0.3, raise brace-expansion 5.0.11 -> 5.0.12 (minimatch 11's floor), drop the now-unused [email protected] minimumReleaseAgeExclude entry - pnpm-lock.yaml: pnpm 11.2.2 --lockfile-only - npm-shrinkwrap.json: same versions, entries from npm's own resolution minimatch 11.0.3 rather than 11.0.4: 11.0.4 is inside the 2-day minimumReleaseAge window. Both are past the 11.0.1 fix. Signed re-creation of #322 (eb1c05e + 75b091b), same tree. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… -118764, ENG-22080) (#323) Amazon Inspector flags glob 13.0.6 and minimatch 10.2.5 (Medium) on every paid boon-agent host and on the boon-agent-signup-container image. Both come from this fork: root dependencies, the workspace overrides, and extensions/file-transfer. - package.json: glob 13.0.6 -> 14.0.3, minimatch 10.2.5 -> 11.0.3 - extensions/file-transfer/package.json: minimatch 10.2.5 -> 11.0.3 - pnpm-workspace.yaml: override minimatch 10.2.5 -> 11.0.3, add glob 14.0.3, raise brace-expansion 5.0.11 -> 5.0.12 (minimatch 11's floor), drop the now-unused [email protected] minimumReleaseAgeExclude entry - pnpm-lock.yaml: pnpm 11.2.2 --lockfile-only - npm-shrinkwrap.json: same versions, entries from npm's own resolution minimatch 11.0.3 rather than 11.0.4: 11.0.4 is inside the 2-day minimumReleaseAge window. Both are past the 11.0.1 fix. Signed re-creation of #322 (eb1c05e + 75b091b), same tree. Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
Bumps glob 13.0.6 → 14.0.3 and minimatch 10.2.5 → 11.0.3 to clear CVE-2026-118773 (glob, fixed in 14.0.2) and CVE-2026-118764 (minimatch, fixed in 11.0.1). Amazon Inspector reports both as Medium on every paid boon-agent host (
/usr/lib/node_modules/openclaw) and on theboon-agent-signup-containerimage. Linear: ENG-22080.This replaces Dependabot #319 and #320. Neither one could have worked:
globonly. glob 14 needs minimatch^11, but the globalminimatch: 10.2.5override inpnpm-workspace.yamlwould still force minimatch 10 underneath it.minimatchonly inextensions/file-transfer. The same override pins it back to 10.2.5, which is why that PR has no lockfile change.dependency-guardbecause Dependabot isn't a repo admin.Changes
package.jsonglob14.0.3,minimatch11.0.3extensions/file-transfer/package.jsonminimatch11.0.3pnpm-workspace.yamlminimatch11.0.3, new overrideglob14.0.3,brace-expansion5.0.11 → 5.0.12 (the floor minimatch 11 requires), with CVE commentspnpm-lock.yamlpnpm install --lockfile-only, using the pinned pnpm 11.2.2npm-shrinkwrap.jsonpath-scurry2.0.2 → 3.0.0 and the new@isaacs/nonrecursive-glob-match1.0.3minimumReleaseAgewindow. 11.0.3 is past the 11.0.1 fix and satisfies glob 14.0.3's^11.0.2.globoverride: without it, the dev-onlycacachewould keep a glob 13.0.6 copy in the lockfile.deprecated:note on@smithy/core. I removed it, the same as build: bump ip-address override to 10.7.5 (CVE-2026-111997, ENG-22074) #318.generate-npm-shrinkwrap.mjs --checkalready fails onboon. Each entry was copied fromnpm install --package-lock-onlyon{[email protected], [email protected]}, soresolvedandintegrityare npm's own.Compatibility
All three callers use only the basic API, which both new majors keep:
minimatch(path, pattern, opts)infile-transfer/src/shared/policy.ts,agents/sessions/model-resolver.tsandagents/sessions/package-manager.ts, andglobSync(entry, {cwd, absolute, dot, nodir})inpackage-manager.ts. The removed APIs (makeRe,Minimatch#regexp,AST,debug, glob'sPattern/walker internals, andignorepatterns starting with/) aren't used anywhere in the fork. The other dependents,@tufjs/modelsandcacache, are dev-only and also use only the basic calls.Differential test, minimatch 10.2.5 vs 11.0.3: every string literal from
policy.test.ts,model-resolver.test.ts,package-manager.test.tsandextensions/loader.test.ts, plus extra edge cases (trailing slashes, extglobs,**/..,~paths, Windows backslashes), was run as both pattern and path under the three option sets the callers use ({dot: true},{},{nocase: true}).a/b/no longer matchesa/b/?(x)ora/b/*(x). No input from the real tests changes./.globSyncwithpackage-manager.ts's options: 24 patterns against a fixture tree, identical results.Test plan
pnpm install --lockfile-onlywith pnpm 11.2.2 resolves cleanly, and the lockfile diff is only these packages.npm install --package-lock-onlyresolves the five changed shrinkwrap entries to the same version and integrity, leaving one glob (14.0.3) and one minimatch (11.0.3) in the shipped tree.check-dependency-pins. The full install didn't fit on my disk, so I'm relying on CI.fleet-upgrade.sh(canary first), and rebuildboon-agent-signup-container. Then confirm Inspector no longer lists glob 13.0.6 or minimatch 10.2.5 underopenclaw.Note: global npm 11.21.1 on the hosts bundles its own minimatch 10.2.5 / glob 13.0.6, and so does npm 12.2.1. Inspector keeps one record per package version per host, so those 158 host records are risk-accepted in Vanta until npm ships a fixed bundle. This PR clears our copy, so the records close as soon as npm does. The 2 container-image records should close outright once the image is rebuilt.
No release or version bump in this PR.
🤖 Generated with Claude Code
Summary by cubic
Bumps
glob13.0.6 → 14.0.3 andminimatch10.2.5 → 11.0.3, clearing CVE-2026-118773 and CVE-2026-118764 (Medium, Amazon Inspector on paid hosts and theboon-agent-signup-containerimage; ENG-22080).glob14.0.3 override inpnpm-workspace.yamland raisesbrace-expansionto 5.0.12 so dev-onlycacachecan't keep a 13.0.6 copy.[email protected]entry fromminimumReleaseAgeExclude, since nothing resolves 5.0.9 anymore (override is now 5.0.12).dependency-guard.minimatch(path, pattern, opts)andglobSynccalls; a 42,846-case differential test found only the documented 11.0 trailing-slash edge case, which no current input hits.fleet-upgrade.sh(canary first), rebuild the signup container image. npm's own bundled copies stay risk-accepted until npm ships fixed versions.Written for commit 75b091b. Summary will update on new commits.