This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
security: fix critical and high severity vulnerabilities in dependencies - #1
Open
tommygeoco wants to merge 1 commit into
Open
tommygeoco wants to merge 1 commit into
tommygeoco wants to merge 1 commit into
Conversation
Updated vulnerable packages to patched versions: Critical fixes: - dompurify: 3.4.7 → 3.4.17 (GHSA-cg2g-xh64-v4q7) - simple-git: 3.36.0 → 4.0.1 (GHSA-x6jw-m9v5-85vh) - @simple-git/argv-parser: <2.0.1 → 2.0.1 (GHSA-v5rq-49vh-5v5c) - proxy-addr: 2.0.7 → 2.0.8 (GHSA-jqcg-44mw-7w3h) High severity fixes: - @modelcontextprotocol/sdk: 1.29.0 → 1.32.0 (GHSA-46jr-4wx8-v453, GHSA-22jm-h49p-29qw, GHSA-6qxp-vccf-f47h) - markdown-it: 14.2.0 → 14.3.3 (GHSA-r7fv-28h4-cvq7, GHSA-gfr2-rv44-r23c) - follow-redirects: 1.16.0 → 1.16.1 (GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c) - hono: 4.12.21 → 4.13.11 (GHSA-88fw-hqm2-52qc + multiple moderate) - ip-address: 10.2.0 → 10.7.4 (GHSA-mwp4-54f8-5fhr + multiple moderate) - axios: 1.16.0 → 1.20.0 (multiple high severity issues) - fast-uri: 3.1.2 → 3.1.7 (multiple high severity issues) - tar: 7.5.15 → 7.5.21 (GHSA-8x88-c5mf-7j5w, GHSA-r292-9mhp-454m) - form-data: 2.5.4 → 2.5.6 (GHSA-hmw2-7cc7-3qxx) - protobufjs: 8.4.0 → 8.4.1 (GHSA-wcpc-wj8m-hjx6) Results: - Critical vulnerabilities: 10 → 5 (remaining are dev-only: tinypool, @vitest/browser, @a2ui/web_core) - High vulnerabilities: 57 → 33 Updated package.json, pnpm-workspace.yaml overrides, and lockfile.
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. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
This PR addresses critical and high severity security vulnerabilities identified in an Oct 22, 2026 lockfile scan against OSV.dev and the GitHub advisory database. The scan found 10 critical and 57 high severity vulnerabilities.
Fork Status
openclaw/openclaw. Syncing with upstream would be the cleaner long-term solution, as it would bring in all upstream security fixes and updates. However, this PR provides an immediate patch for the most critical security issues on top of the current fork state.Vulnerabilities Fixed
Critical Severity (5 fixed, 5 remaining)
Fixed:
Remaining (dev dependencies only):
@vitest/browser- test infrastructure (GHSA-g8mr-85jm-7xhm, GHSA-p63j-vcc4-9vmv)tinypool- dev dependency via oxfmt (GHSA-5gmw-xhrv-c9v3, GHSA-85c8-ppgw-ccpr)@a2ui/web_core- dev dependency (GHSA-72qq-p3r5-f7wq)High Severity (24 fixed, 33 remaining)
Fixed:
Changes Made
Direct dependency updates in
package.json:@modelcontextprotocol/sdk: 1.29.0 → 1.32.0Workspace package updates:
ui/package.json:dompurify3.4.7 → 3.4.17packages/markdown-core/package.json:markdown-it14.2.0 → 14.3.3extensions/oc-path/package.json:markdown-it14.2.0 → 14.3.3extensions/matrix/package.json:markdown-it14.2.0 → 14.3.3Transitive dependency overrides in
pnpm-workspace.yaml:follow-redirects: 1.16.0 → 1.16.1hono: 4.12.21 → 4.13.11ip-address: 10.2.0 → 10.7.4axios: 1.16.0 → 1.20.0fast-uri: 3.1.2 → 3.1.7tar: 7.5.15 → 7.5.21form-data: 2.5.4 → 2.5.6protobufjs: 8.4.0 → 8.4.1simple-git: → 4.0.1@simple-git/argv-parser: → 2.0.1proxy-addr: → 2.0.8Updated
pnpm-lock.yamlto reflect all changesVerification
✅ Clean install:
pnpm installcompleted successfully✅ Build:
pnpm buildcompleted in 249s with no errors✅ Tests: Sample test suite passed (
src/index.test.ts)Audit Results
Before: 10 critical, 57 high
After: 5 critical, 33 high
Remaining issues: All remaining critical vulnerabilities are in dev dependencies only (test infrastructure and dev tooling), not production runtime dependencies.
Recommendations
Sync with upstream: Consider merging from
openclaw/openclawto bring this fork up to date with the 59,215 commits it's behind. This would provide a more comprehensive solution and keep the fork maintainable.Dev dependency updates: The remaining critical issues in
@vitest/browserandtinypoolaffect only the development/test environment and not production runtime. Consider updating these when convenient.Regular security audits: Set up automated dependency scanning to catch vulnerabilities early.
Testing Notes