Skip to content

chore: sync lockfile + clear 8 npm audit advisories - #59

Merged
Nic-dorman merged 1 commit into
mainfrom
chore/npm-audit-fix-and-lock-sync
Apr 30, 2026
Merged

chore: sync lockfile + clear 8 npm audit advisories#59
Nic-dorman merged 1 commit into
mainfrom
chore/npm-audit-fix-and-lock-sync

Conversation

@Nic-dorman

Copy link
Copy Markdown
Contributor

Summary

  • npm ci was failing on main with lockfile drift errors (@nuxt/schema 3.21.2 vs 4.4.2, @base-org/account 2.4.0 vs 2.5.4, missing brotli-wasm, etc.). Running npm install reconciles the lockfile within existing semver ranges.
  • Reconciliation incidentally clears 8 of 10 open npm audit advisories.
  • package.json is untouched — all moves are transitive within existing ^x.y.z ranges.

Cleared advisories

severity advisory chain
high serialize-javascript RCE (CVSS 8.1) + DoS @rollup/plugin-terser → nitropack
high @rollup/plugin-terser (parent of above)
high nitropack (parent of above)
moderate uuid bounds check @netlify/dev-utils → @netlify/blobs → unstorage → @nuxt/nitro-server
moderate @netlify/blobs (parent)
moderate @netlify/dev-utils (parent)
moderate @netlify/functions (parent)
low nuxt Client-Side Path Traversal Island Payload Revival

Remaining (deferred)

severity advisory reason
moderate axios SSRF via NO_PROXY normalization (CVSS 4.8) upstream-blocked — @coinbase/cdp-sdk pins axios 1.0.0 - 1.14.0
moderate axios cloud-metadata exfiltration (CVSS 4.8) (same chain)

Both flow through @reown/appkit-adapter-wagmi → @reown/appkit-utils + @wagmi/connectors → @base-org/account → @coinbase/cdp-sdk → axios. Risk for a desktop Tauri app is theoretical: no server-side rendering, no cloud-metadata endpoint reachable from a typical user network, and the Coinbase smart-account flow isn't in our common upload path. Will clear when @coinbase/cdp-sdk releases a version pinning axios >= 1.15.

npm audit fix --force was attempted and is a no-op for these — npm misreports "fix available" but no in-tree resolution exists.

Test plan

  • npm install succeeds without engine errors blocking install
  • npm ls @tauri-apps/plugin-dialog shows 2.7.0 (matches Rust crate; no version-mismatched warning at startup)
  • npm run tauri:dev launches the app and bootstrap completes (Autonomi connect succeeded (N peers))
  • npm audit reports 2 moderate (axios chain only)

🤖 Generated with Claude Code

…ries

`npm ci` against the existing lockfile was failing with "Invalid: lock file's
@nuxt/schema@3.21.2 does not satisfy @nuxt/schema@4.4.2" (and similar drift on
@base-org/account, crossws, etc.). Running `npm install` reconciles the lock
within existing semver ranges and incidentally bumps transitive deps past
8 of 10 open npm-audit advisories:

- high (3): serialize-javascript RCE+DoS chain via @rollup/plugin-terser → nitropack
- low  (1): nuxt client-side path traversal in Island Payload Revival
- mod  (4): netlify/uuid chain (uuid bounds-check via @netlify/dev-utils → @netlify/blobs)

Remaining (2): axios SSRF/cloud-metadata exfiltration via
@coinbase/cdp-sdk → @base-org/account → @reown/appkit. Blocked on upstream
@coinbase/cdp-sdk releasing with axios >= 1.15. Risk for desktop app is
theoretical (no SSR, no cloud-metadata endpoints reachable). Defer until
upstream cuts a fix.

No package.json changes — all transitive moves were within `^x.y.z` ranges.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Nic-dorman
Nic-dorman merged commit bd4bef4 into main Apr 30, 2026
4 checks passed
@Nic-dorman
Nic-dorman deleted the chore/npm-audit-fix-and-lock-sync branch April 30, 2026 09:00
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