Skip to content

chore(deps): resolve Dependabot security alerts across Rust and JS/TS workspaces - #4034

Open
jolestar wants to merge 1 commit into
mainfrom
chore/dependabot-security-202611
Open

jolestar wants to merge 1 commit into
mainfrom
chore/dependabot-security-202611

Conversation

@jolestar

Copy link
Copy Markdown
Contributor

Summary

Resolves 760 of 779 (97.6%) open GitHub Dependabot security alerts across the Rust (Cargo.lock) and JS/TS (pnpm-lock.yaml & workspace package.json) workspaces:

1. Rust (Cargo.lock & Cargo.toml) — 31 of 49 alerts resolved (including the only Critical alert and 8/9 High alerts)

  • Eliminate zip@0.6.6 (Critical #1229, High/Medium #1234): Replace the ethers umbrella crate (crates/rooch-relayer and crates/rooch-framework-tests) with the actually used sub-crates (ethers-core and ethers-providers), removing unused ethers-solc -> svm-rs -> zip@0.6.6 from Cargo.lock.
  • Remove unused ouroboros@0.15.6 (High #675): Remove unused dependency from third_party/move/language/move-ir-compiler/move-ir-to-bytecode/Cargo.toml.
  • Upgrade diesel & diesel_migrations (2.2.x -> 2.4.0): Resolves 4 alerts (#1241 High, #1240 Medium, #1242 Medium, #1243 Low).
  • Upgrade vergen-git2 (1.0.1 -> 9.1.0) & git2 (0.19.0 -> 0.20.4): Resolves #1180 (Medium).
  • Update SemVer-compatible crates in Cargo.lock:
    • openssl (0.10.72 -> 0.10.76, 3 High + 3 Medium alerts)
    • quinn-proto (0.11.8 -> 0.11.14, 2 High alerts)
    • tar (0.4.43 -> 0.4.45, 1 High + 1 Medium alert)
    • time (0.3.37 -> 0.3.47, 1 Medium alert)
    • jsonwebtoken (9.3.0 -> 9.3.1, 1 Medium alert)
    • keccak (0.1.5 -> 0.1.6, 1 Medium alert)
    • rand (0.8.5 -> 0.8.6 & 0.9.1 -> 0.9.3, 2 Low alerts)
    • ring (0.17.8 -> 0.17.14, 1 Low alert)
    • rpassword (7.3.1 -> 7.4.0, 1 Low alert)
    • serde_with (3.12.0 -> 3.18.0, 1 Low alert)
    • xxhash-rust (0.8.15 -> 0.8.16, 1 Low alert)
    • rustls (0.23.25 -> 0.23.35, 4 Medium alerts) & rustls-webpki (0.103.3 -> 0.103.10, 1 Medium alert)

2. JS/TS (package.json & pnpm-lock.yaml) — 729 of 730 alerts resolved

  • Upgrade direct dependencies across workspace package.json manifests (axios@^1.15.0, next@^14.2.35 / ^15.5.10, vite@^6.4.1, vitest@^3.2.4, happy-dom@^20.14.6, esbuild@^0.25.0, sharp@^0.33.5, zod@^3.25.76, pnpm@9.15.9, etc.).
  • Add pnpm.overrides in root package.json to pin transitive vulnerable packages (elliptic, form-data, fast-xml-parser, shell-quote, path-to-regexp, minimatch, micromatch, picomatch, braces, cross-spawn, rollup, serialize-javascript, node-forge, lodash, lodash-es, undici, ws, tar, js-yaml, etc.) to their patched releases.
  • Remove 6 obsolete non-workspace/duplicate lockfiles (sdk/typescript/templates/mini-app/pnpm-lock.yaml, examples/onchain_ai_chat/web/package-lock.json, examples/rooch_fish/web/yarn.lock, sdk/circomlib/package-lock.json, sdk/circomlib/yarn.lock, generator/rust/yarn.lock) that duplicated workspace coverage or belonged to unused legacy tools.

Verification

  • cargo check -p move-ir-to-bytecode -p rooch-types -p rooch-rpc-api -p rooch-relayer -p rooch-indexer -p rooch
  • pnpm --filter @roochnetwork/rooch-sdk build

@jolestar
jolestar requested a review from Mine77 as a code owner November 24, 2026 03:13
@github-actions

Copy link
Copy Markdown

Dependency Review

The following issues were found:

  • ❌ 4 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
  • ⚠️ 10 packages with OpenSSF Scorecard issues.

View full job summary

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant