Repository navigation
fix(security): bump prod deps off high/critical advisories (security-fast) - #69
Conversation
…fast) Nine newly-published high/critical npm advisories caught up to versions already resolved in the production dependency tree, turning the CI security-fast 'Audit production dependencies' step red on every branch with no code change to blame. Bump the existing pnpm-workspace 'Security-audit bumps' overrides to patched versions and add two missing pins: - axios 1.16.0 -> 1.18.1 - tar 7.5.16 -> 7.5.20 (7.5.21 blocked by minimumReleaseAge gate) - fast-uri 3.1.2 -> 3.1.4 - linkify-it 5.0.1 -> 5.0.2 - brace-expansion -> 5.0.7 (new) - @vitest/browser 4.1.9 -> 4.1.10 (forces vitest toolchain to 4.1.10) - @opentelemetry/propagator-jaeger -> 2.9.0 (new; requires core 2.9.0) Verified: node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high now exits 0; vitest 4.1.10 toolchain runs (audit unit tests 20/20). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
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. |
Follow-up to the prod-dep advisory bumps. Two CI checks failed: - npm-managed-root.test.ts hardcoded axios: 1.16.0 -> update to 1.18.1 - package-manager-config shrinkwrap consistency check found stale @opentelemetry/core, brace-expansion, fast-uri, tar in npm-shrinkwrap Bump the root direct tar dependency to 7.5.20 to match the override (npm EOVERRIDE requires direct deps to match), then regenerate all npm-shrinkwrap.json files via scripts/generate-npm-shrinkwrap.mjs --all. Verified: shrinkwrap --all --check exits 0; audit exits 0; both previously-failing tests pass (12/12, 27/27). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was a problem hiding this comment.
Clean, well-scoped security bump — approving.
Correctness
- All 7 overrides are in-range minor/patch (no majors), matching the stated advisory targets.
tarsynced consistently across the root override, directpackage.jsondep, and every shrinkwrap (required for npm EOVERRIDE); the 7.5.20-not-7.5.21 call (minimumReleaseAge gate) is sound.@opentelemetry/core2.9.0 propagated across every OTel snapshot with the coupledpropagator-jaeger2.9.0 bump;[email protected]correctly stays put and pulls core 2.9.0.- vitest toolchain forced to 4.1.10 as a set (browser/coverage/browser-playwright peer exactly on 4.1.10); stale 4.1.8/4.1.9 entries deduped cleanly.
- axios 1.18.1 transitively adds [email protected] + [email protected] (both current, no advisory); test literal in npm-managed-root.test.ts updated to match.
Evidence — right shape for a dep bump: CI audit (pnpm-audit-prod.mjs --audit-level=high) exits 0, shrinkwrap --check passes, both previously-failing tests green, full CI green. No secrets, no code logic, no migration risk.
Bump gateway + @openclaw/slack + @openclaw/msteams to 2026.6.11-boon.7 in lockstep (package.json + npm-shrinkwrap.json roots) and add the CHANGELOG entry. Ships the boon.7 train: #70 (ENG-16418 concise + A/B/C overlay for Claude), #68 (ENG-16200 progress nudges runtime, gated off by default), #69 (security dep bumps), #64 (ENG-16330 non-terminal recovered-tool-error badge). Base = 2026.6.11-boon.6. Only slack + msteams carry the -boon.N suffix; other extensions stay at plain 2026.6.11 (fork release does not run a blanket plugins:sync). Formatting proof: oxfmt --check clean on CHANGELOG.md; the six JSON files are oxfmt-excluded lockfile-class and byte-shape-identical to the boon.6 release commit. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
What Problem This Solves
The CI
security-fastjob's "Audit production dependencies" step (scripts/pre-commit/pnpm-audit-prod.mjs) queries the live npm advisory database on every run. Nine newly-published high/critical advisories caught up to versions already resolved in the production dependency tree, so the job went red on every branch simultaneously — with no code change to blame (observed on run29973799840and earlier runs across unrelated branches like Dependabot and feature PRs).Why This Change Was Made
The repo already has a "Security-audit bumps" overrides block in
pnpm-workspace.yamlfor exactly this situation. Several pins had gone stale (advisories caught up to the pinned versions) and two affected packages had no pin yet. This bumps all of them to patched versions:minimumReleaseAgegate; 7.5.20 clears both advisories and is maturevitest,@vitest/coverage-v8,@vitest/browser-playwright) 4.1.8→4.1.10, since 4.1.10 peers[email protected]exactly@opentelemetry/coreoverride 2.8.0→2.9.0User Impact
None user-facing. Internal/CI only: unblocks
security-fastso PRs stop failing on pre-existing advisories. Downstream effect: new PRs cut fromboonafter this merges inherit the patched lockfile automatically. Open PRs that predate the merge need a rebase to pick it up.Evidence
node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high→ "No high or higher advisories found for production dependencies." exit0(was exit1with 9 findings).pnpm installcompletes clean (postinstall/hooks OK).test/scripts/pnpm-audit-prod.test.ts→ 20/20 passing.🤖 Generated with Claude Code
Summary by cubic
Bumped production overrides to patched versions to clear nine new high/critical advisories and unblock the
security-fastaudit. Follow-up: synced the directtardep with the override, regenerated all shrinkwraps, and updated a testaxiosliteral; CI security and consistency checks now pass.Dependencies
axios1.16.0 → 1.18.1tar7.5.16 → 7.5.20fast-uri3.1.2 → 3.1.4linkify-it5.0.1 → 5.0.2brace-expansion→ 5.0.7 (new override)@opentelemetry/propagator-jaeger→ 2.9.0 (new);@opentelemetry/core2.8.0 → 2.9.0@vitest/browser4.1.9 → 4.1.10; alignedvitestand@vitest/coverage-v8to 4.1.10Migration
Written for commit 617da7c. Summary will update on new commits.