Skip to content

chore(deps): fix critical and high npm audit advisories - #5500

Merged
QuantumExplorer merged 2 commits into
v5.0-devfrom
chore/npm-audit-critical-high
Oct 20, 2026
Merged

QuantumExplorer merged 2 commits into
v5.0-devfrom
chore/npm-audit-critical-high

Conversation

@QuantumExplorer

@QuantumExplorer QuantumExplorer commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Basic explanation

Every night a CI job checks our JavaScript dependencies against the public list of known security problems. It has been failing for over 60 nights, because 116 problems built up while nobody was looking. This PR updates the affected libraries to versions where the problems are fixed. The nightly check now passes.

Most of the old versions were held in place by version pins in the root package.json that had been added to fix older problems and were never raised again. The biggest one forced every copy of protobufjs onto version 6, a line that never received the 2026 fixes, even where dockerode and gRPC asked for version 7.

Severity Before (run 39342675814) After
critical 2 0
high 53 0
moderate 49 0
low 12 0
total 116 0

Before, the two critical findings (from --json, base 5303dd391c):

Package In tree Fixed in Via
protobufjs 6.11.4 7.5.5 (no 6.x fix) dockerode 4.0.9 (dashmate)
tar 7.5.10 7.5.19 (later highs to 7.5.21) dashmate

After:

$ yarn npm audit --environment production --all --recursive
➤ YN0001: No audit suggestions

Three of the 116 have no fix anywhere, so the second commit ignores them by advisory ID (see "Still open" below). Without that commit the audit reports exactly those three.

Issue being fixed or feature implemented

The scheduled "Security: JS NPM" workflow (.github/workflows/security-audit-js-npm.yml) only runs at night, not on PRs, so advisories piled up. The two critical ones were on shipped paths: tar in dashmate, and protobufjs via dockerode in dashmate.

What was done?

Root resolutions floors raised (they force every copy of a package in the tree, so a stale floor keeps the vulnerable version):

Package Before After Pulled in by
protobufjs ^6.11.4 (resolved 6.11.4) ^7.6.5 (7.6.6) dockerode, @grpc/grpc-js
tar 7.5.10 7.5.22 dashmate, node-gyp
qs ^6.14.1 (6.15.0) ^6.16.0 (6.16.1) dashmate
js-yaml ^4.1.1 ^4.3.2 dashmate
ws ^8.17.1 ^8.21.0 (8.22.0) dapi, platform-test-suite
lodash ^4.17.23 ^4.18.1 dapi, dashmate, others
engine.io / socket.io-parser ^6.4.2 / ^4.2.3 ^6.6.10 / ^4.2.7 karma
socks ^2.8.1 (2.8.3, ip-address 9) ^2.8.10 (ip-address 10.7.4) node-gyp
tmp, pbkdf2, body-parser, follow-redirects, serialize-javascript old floors patched floors karma, wallet-lib, mocha
dompurify (root dependency) ^3.3.2 ^3.4.16 (3.4.17) root

New scoped resolutions: uuid@^8.3.2 and uuid@^10.0.0 go to ^11.1.1. jayson 4 and dockerode 4 pin older uuid majors, and both only call require('uuid').v4() with no arguments. uuid 11 still ships CommonJS, so nothing changes for them.

Removed: the global "brace-expansion": "^2.0.2" resolution. Every brace-expansion line now has a patched release (1.1.21, 2.1.7, 5.0.12). Keeping the global pin would have forced v2 onto minimatch 10, which needs v5's named expand export.

Direct dependencies:

  • js-grpc-common: @grpc/proto-loader ^0.5.2 to ^0.8.0. 0.5 needs protobufjs 6, which has no patched release. 0.8 is the loader @grpc/grpc-js 1.14 already uses, and the loadSync options we pass are the same.
  • dapi, dapi-grpc, js-grpc-common: @grpc/grpc-js floor ^1.14.5 (resolves 1.14.6; this fixes the server crash on malformed or compressed messages and the getAuthContext advisory). dockerode's copy moves from 1.13.2 to 1.14.6 within its existing ^1.11.1 range.
  • dashmate: tar 7.5.22, node-forge ^1.4.0, js-yaml ^4.3.2, systeminformation ^5.31.7 (5.33.16), qs ^6.16.0.
  • js-dapi-client: undici ^6.0.0 to ^6.28.1 (6.29.1).
  • dapi, platform-test-suite: ws ^8.21.0. wallet-lib: pbkdf2 ^3.1.7.

Lockfile refreshes within existing ranges (yarn up -R): fast-uri 3.1.9, picomatch 2.3.2, flatted, browserslist, baseline-browser-mapping, @babel/core and @babel/plugin-transform-modules-systemjs 7.29.x, http-cache-semantics, @humanfs/node, @protobufjs/utf8, fast-copy, yaml, socket.io 4.8.4. The refresh also pulled minimatch 3.1.5 / 5.1.9 / 9.0.9, braces and glob 10.5.0. Those were hidden by npmAuditExcludePackages but had patch releases available.

Still open

Ignored by advisory ID in .yarnrc.yml (npmAuditIgnoreAdvisories), so any new advisory on these packages still fails the nightly:

Finding Why it stays
node-forge GHSA-86w9-cpqp-85rv (high) No patched release (affects <=1.4.0, the latest). Dashmate only uses node-forge to generate keys and sign CSRs and certificates. It verifies signatures with node:crypto X509Certificate, so the affected RSA PKCS#1 v1.5 verification path is never called.
crypto-js deprecation (moderate) Unmaintained, no advisory. wallet-lib account encrypt/decrypt need a code change to drop it.
tsconfck deprecation (moderate) Unmaintained, no advisory. Pulled in by @oclif/core 3 in dashmate; @oclif/core 4 drops it, but that is a CLI framework major bump.

Still hidden by the existing npmAuditExcludePackages list (unchanged by this PR): braces 3.0.3 (karma, no newer release), the leveldb packages in dash-spv, ajv 6 under eslint, elliptic and bn.js under dashcore-lib, plus deprecation notices for glob 7/8, inflight, rimraf 2 and lodash.get.

How Has This Been Tested?

  • yarn install --immutable --immutable-cache --check-cache: clean.
  • yarn npm audit --environment production --all --recursive: No audit suggestions, exit 0.
  • @dashevo/grpc-common test:coverage (unit + integration, includes loadPackageDefinition on proto-loader 0.8): 34 passing, coverage thresholds met.
  • @dashevo/dapi-grpc test:unit (loads the real Core/Platform .proto definitions): 46 passing.
  • @dashevo/dapi test:unit: 144 passing. The integration suite needs a Docker daemon and was not run locally.
  • @dashevo/dapi-client test:coverage (unit + integration): 350 passing, 4 pending.
  • dashmate test:unit: 876 passing.
  • @dashevo/wallet-lib mnemonic, Account encrypt and DerivableKeyChain specs (pbkdf2 and crypto-js users): 30 passing.
  • Smoke check under PnP from dashmate: jayson request IDs and dockerode's uuid both resolve to 11.1.1 and generate v4 IDs; dockerode resolves protobufjs 7.6.6 and @grpc/grpc-js 1.14.6.

Not run locally: karma browser suites (socket.io / engine.io changed there), platform-test-suite (needs a running network), dashmate integration and e2e.

Breaking Changes

None. Published packages only raise minimum versions within the same major, except @dashevo/grpc-common's internal @grpc/proto-loader (0.5 to 0.8), whose output we pass straight to grpc.loadPackageDefinition.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed
  • If I added or changed GroveDB structure, I described it in the area's structure.rs, regenerated grovedb-structure.json, and checked the structure viewer link posted on this pull request

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · 36e9704

  • Bots — coderabbitai not yet · thepastaclaw ✓ — /skip-bots proceeds without the ones not yet reported
  • Self-review — post /self-reviewed
  • Build failed
  • Approvals
    • files with no dedicated owner — you own it
    • dashmate (packages/dashmate/package.json) — approved by shumkov

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

QuantumExplorer and others added 2 commits October 20, 2026 11:02
The nightly "Security: JS NPM" audit listed 116 advisories (2 critical,
53 high). Most came from root resolutions whose floors had gone stale,
so raising those floors and refreshing the lockfile clears them.

- protobufjs: the root resolution pinned every copy to 6.11.4, including
  the ones dockerode and @grpc/grpc-js ask for at ^7. The 6.x line has no
  fix for the 2026 advisories, so the resolution now floors at ^7.6.5 and
  js-grpc-common moves from @grpc/proto-loader 0.5 (protobufjs 6) to 0.8,
  the same loader @grpc/grpc-js 1.14 already uses.
- tar 7.5.22, node-forge 1.4.0, js-yaml 4.3.2, systeminformation 5.33,
  qs 6.16 in dashmate; @grpc/grpc-js 1.14.6 and ws 8.22 in dapi; undici
  6.29 in js-dapi-client; pbkdf2 3.1.7 in wallet-lib.
- engine.io 6.6.11, socket.io-parser 4.2.7 and socket.io 4.8.4 (karma).
- uuid 11.1.1 for jayson and dockerode via scoped resolutions; both only
  call require('uuid').v4(), which uuid 11 still ships as CommonJS.
- The global brace-expansion resolution is removed: every line now has a
  patched release, and forcing v2 onto minimatch 10 (which needs v5)
  would break it.
- Lockfile refreshes within existing ranges for fast-uri, picomatch,
  flatted, browserslist, babel, http-cache-semantics, ip-address, minimatch,
  glob and others.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
After the dependency fixes the nightly audit reports only:

- node-forge GHSA-86w9-cpqp-85rv (RSA PKCS#1 v1.5 verification): no
  patched release exists. Dashmate uses node-forge only to generate keys
  and sign CSRs and certificates; it verifies signatures with node:crypto.
- crypto-js and tsconfck deprecation notices (unmaintained packages, no
  advisory). Replacing them needs a wallet-lib code change and an
  @oclif/core v4 upgrade in dashmate.

Ignore these by advisory ID rather than excluding the packages, so any
new advisory against them still fails the nightly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: dashpay/platform/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 66edf750-9d91-4eaa-ab6d-ce0c89faf0c7
📥 Commits

Reviewing files that changed from the base of the PR and between ff88756 and 36e9704.

⛔ Files ignored due to path filters: 164
  • .yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-e15fecbf3b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-code-frame-npm-7.28.6-7d31d84e6c-93e7ed9e03.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-code-frame-npm-7.29.7-cc910f9962-84da552e51.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-compat-data-npm-7.28.6-4e0cdcaa44-dc17dfb557.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-compat-data-npm-7.29.7-6487d724ba-ad22727140.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-core-npm-7.26.10-0b29e369b5-68f6707eeb.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-core-npm-7.29.7-78bc20dbf7-38e71cf81d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-generator-npm-7.28.6-18c2d22a25-ef2af927e8.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-generator-npm-7.29.8-00b0e7c8b6-679c3d1302.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-compilation-targets-npm-7.29.7-7cb31cc38d-af9ed4299a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-globals-npm-7.29.7-bb76425ef5-e53203e87a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-module-imports-npm-7.29.7-c44b78302c-28ec6f7efd.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-module-transforms-npm-7.29.7-50e1c84dbd-33251b1fb4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-plugin-utils-npm-7.29.7-b50f319ba2-6d16929fe5.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-string-parser-npm-7.29.7-87998d618e-4d8ef0ef71.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-validator-identifier-npm-7.29.7-9939aac13d-2efa42701e.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helper-validator-option-npm-7.29.7-635d603818-aeb6aa966f.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helpers-npm-7.26.10-4eb1d94ec4-6641462579.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-helpers-npm-7.29.10-b22d518ce2-13a7de594c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-parser-npm-7.29.9-67a5dd3e9f-b8d6acda3f.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.25.9-977795f4fd-03145aa89b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-plugin-transform-modules-systemjs-npm-7.29.8-f2fb338d10-926dcc4282.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-template-npm-7.29.7-46b79049c7-da92f7a5b6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-traverse-npm-7.29.10-62f1e55899-2d322e15e9.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@babel-types-npm-7.29.8-3f9597fc63-ff2becf0f8.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@grpc-grpc-js-npm-1.14.3-4316f67c48-bb9bfe2f74.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@grpc-grpc-js-npm-1.14.6-7a5372a85c-cd1bf7fc03.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@grpc-proto-loader-npm-0.5.6-ef97ffeb0b-f4021883c9.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@humanfs-core-npm-0.19.2-ad081ed090-c6c0273721.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@humanfs-node-npm-0.16.8-80d1509ded-ed01b3c066.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@humanfs-types-npm-0.15.0-e47e8568ba-dea3cc7fd8.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-072ace159c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@jridgewell-trace-mapping-npm-0.3.18-cd96571385-f4fabdddf8.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@protobufjs-codegen-npm-2.0.5-bb74ff329d-290335fa11.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@protobufjs-eventemitter-npm-1.1.1-dbe0dfc812-a54dc1aff4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@protobufjs-fetch-npm-1.1.1-b98d5396a8-427cf2da8c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@protobufjs-utf8-npm-1.1.0-02c590807c-131e289c57.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@protobufjs-utf8-npm-1.1.2-9c7ca5968f-ff759348d6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@types-cookie-npm-0.4.1-274a704dc6-427c922021.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/@types-ws-npm-8.18.2-bf9cd597e7-7d87483731.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/balanced-match-npm-4.0.4-fd666b3c7f-fb07bb66a0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/base64id-npm-2.0.0-ef4afeee0a-e331232842.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/baseline-browser-mapping-npm-2.11.30-77407bfb72-6be4614b64.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/baseline-browser-mapping-npm-2.9.19-aab193a58f-8d7bbb7fe3.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/body-parser-npm-1.20.3-c7b184cd14-8723e3d7a6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/body-parser-npm-1.20.8-6e7652bc53-e5a13ff680.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/brace-expansion-npm-1.1.21-0c6e278ea9-6c0ed34107.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/brace-expansion-npm-2.0.2-bc7f134bbc-01dff195e3.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/brace-expansion-npm-2.1.7-2aa930ff1e-4763be07b6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/brace-expansion-npm-5.0.12-5e9282f26b-65b550f183.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/braces-npm-3.0.2-782240b28a-966b1fb48d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/browserslist-npm-4.22.1-cccae6d74e-4a515168e0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/browserslist-npm-4.24.4-2fdeb5face-11fda105e8.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/browserslist-npm-4.28.1-e455c4c2e8-64f2a97de4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/browserslist-npm-4.29.4-eb86b7e6e5-464cf2ecd1.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/caniuse-lite-npm-1.0.30001561-b213ca8bce-94cfc8454c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/caniuse-lite-npm-1.0.30001704-15b44aaeb7-76bf9a90aa.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/caniuse-lite-npm-1.0.30001770-4a95887078-a85fb08958.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/caniuse-lite-npm-1.0.30001817-05f5d9f0b2-524a6205c4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/concat-map-npm-0.0.1-85a921b7ee-9680699c8e.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/create-hash-npm-1.1.3-8725c5adf1-b9f6757193.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/dompurify-npm-3.3.2-7ead7ae3aa-3ca0255967.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/dompurify-npm-3.4.17-925de8a518-ae03c068bd.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/electron-to-chromium-npm-1.4.581-a32b5f3c64-a40ea2863c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/electron-to-chromium-npm-1.5.116-7134e28c73-4ecaeb2054.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/electron-to-chromium-npm-1.5.286-82d0e88239-530ae36571.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/electron-to-chromium-npm-1.5.460-81d903195e-2daa1cf954.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/engine.io-npm-6.4.2-b375dcefcc-70b1c16d51.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/engine.io-npm-6.6.11-bc5bdd748f-9a0c538de4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/engine.io-parser-npm-5.0.4-27a510b395-98ed4cefed.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/engine.io-parser-npm-5.2.3-6dfa36cede-eb0023fff5.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/fast-copy-npm-3.0.1-b6d4f87c79-2f655f1e84.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/fast-copy-npm-3.1.0-8930687ef8-759ff1568a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/fast-uri-npm-3.1.0-57fa0b3f3c-818b2c96dc.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/fast-uri-npm-3.1.9-84586dee2e-4276cf5866.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/fill-range-npm-7.0.1-b8b1817caa-e260f7592f.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/flatted-npm-3.2.7-0da10b7c56-427633049d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/flatted-npm-3.3.3-ca455563b2-8c96c02fbe.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/flatted-npm-3.4.4-cd668a2d71-5a6682ab87.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/follow-redirects-npm-1.15.6-50635fe51d-70c7612c4c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/follow-redirects-npm-1.16.1-ccb9c0c35d-269c9f38e4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/glob-npm-10.5.0-b569657078-ab3bccfefc.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/hash-base-npm-2.0.2-d5423fdcc8-e39f3f2bb9.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/hash-base-npm-3.1.2-cca25f698e-f210042052.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-362d5ed66b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/http-cache-semantics-npm-4.3.0-ee45f76976-3f7b17565d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/http-errors-npm-2.0.0-3f1c503428-0e7f76ee8f.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/http-errors-npm-2.0.1-6d19ab492e-9fe31bc0ed.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ip-address-npm-10.7.4-7d0179a58e-89375f1fa0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ip-address-npm-9.0.5-9fa024d42a-1ed81e0672.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/js-yaml-npm-4.1.1-86ec786790-a52d0519f0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/js-yaml-npm-4.3.2-d3b0efff68-05c44b9c73.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/jsbn-npm-1.1.0-1da0181838-bebe7ae829.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/lodash-npm-4.18.1-a64c3070ac-306fea53df.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/long-npm-5.3.2-f80d0f7d39-b6b55ddae5.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-10.1.1-453db4ee1a-110f38921e.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-10.2.6-fd0d1cf467-a5e43f7c57.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-3.1.2-9405269906-e0b25b04cd.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-3.1.5-86958baf50-b11a7ee577.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-5.1.6-1e71429f4c-126b36485b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-5.1.9-fc73125478-23b4feb64d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-7.4.6-f3feee458c-0046ba1161.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-7.4.9-ff5de02f7e-9bc60b593d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-9.0.5-9aa93d97fa-dd6a8927b0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/minimatch-npm-9.0.9-3ee8f15008-b91fad937d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/node-forge-npm-1.4.0-646822c506-d70fd76976.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/node-releases-npm-2.0.13-1f2e177887-c9bb813aab.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/node-releases-npm-2.0.19-b123ed6240-c2b33b4f0c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/node-releases-npm-2.0.27-b2d1b8de4a-f6c78ddb39.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/node-releases-npm-2.0.59-e4c1227996-6fa9be9a5c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/pbkdf2-npm-3.1.3-78cdc3da82-980cf2977a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/pbkdf2-npm-3.1.7-e103ee58fb-3b8cf9d991.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/picomatch-npm-2.3.0-5e60e6c82d-ed92dfa567.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/picomatch-npm-2.3.1-c782cfd986-60c2595003.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/picomatch-npm-2.3.2-4d85543a37-b788ef8148.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/picomatch-npm-4.0.3-0a647b87cc-57b99055f4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/picomatch-npm-4.0.7-2906b103fe-66e1df34bc.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/protobufjs-npm-6.11.4-af11968b80-6b7fd7540d.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/protobufjs-npm-7.6.6-a7cfb0c5d5-a894f38c79.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/qs-npm-6.15.0-2165244317-a3458f2f38.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/qs-npm-6.16.1-9b77e54f12-e33e0a5cee.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/raw-body-npm-2.5.3-bcb2281e9c-f35759fe5a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/readable-stream-npm-2.3.8-67a94c2cb1-8500dd3a90.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ripemd160-npm-2.0.1-c7bfea33fc-f1a20b72b3.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ripemd160-npm-2.0.3-ac02e341a3-d15d42ea04.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/serialize-javascript-npm-7.0.4-c70012ae10-f96d59d605.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/serialize-javascript-npm-7.1.2-5d8b5decfb-e5550ef83b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/side-channel-list-npm-1.0.1-7a0802d399-3499671cd5.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/side-channel-npm-1.1.1-3d97a5a6fb-5fa6393ff6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/socket.io-npm-4.7.5-7db6120b90-911528f5bf.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/socket.io-npm-4.8.4-6f0d4f4a5f-8885b140a2.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/socket.io-parser-npm-4.2.3-c3c994950a-87c1a8ff80.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/socket.io-parser-npm-4.2.7-0fe17183fd-da1920b9da.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/socks-npm-2.8.10-ac11676661-05ea32c55a.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/sprintf-js-npm-1.1.3-b99efd75b2-e7587128c4.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/statuses-npm-2.0.1-81d2b97fee-18c7623fdb.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/statuses-npm-2.0.2-2d84c63b8c-6927feb50c.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/systeminformation-npm-5.31.1-810ce63c49-1fff0b2827.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/systeminformation-npm-5.33.16-cea25a7af0-f2c41bebab.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tar-npm-7.5.10-83147ff192-98ba6421a2.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tar-npm-7.5.22-4f603e5fa8-129606384b.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tmp-npm-0.2.5-e146296d91-dd4b78b323.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tmp-npm-0.2.7-a6fd3441a0-0a3bc90beb.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/to-buffer-npm-1.2.2-3687076133-69d806c205.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tsconfck-npm-3.0.0-f54c83f135-25789acde6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/tsconfck-npm-3.1.6-2dccdb1bd5-8574595286.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/undici-npm-6.29.1-78d25c49fa-92acb64ec1.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-9074b4ef34.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/update-browserslist-db-npm-1.1.3-569a9be54b-87af277605.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/update-browserslist-db-npm-1.2.3-de1d320326-059f774300.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/update-browserslist-db-npm-1.3.4-dcdeba8ff1-b572dffa5e.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/uuid-npm-10.0.0-4872b46ff8-35aa606148.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/uuid-npm-11.1.1-311687c807-16411d3dc1.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/uuid-npm-8.3.2-eca0baba53-9a5f7aa1d6.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/ws-npm-8.22.0-f8acafc1f7-ed771c2766.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/yaml-npm-2.2.2-6e3cddb343-991384bf87.zip is excluded by !**/.yarn/**, !**/*.zip
  • .yarn/cache/yaml-npm-2.9.1-d61da744fe-123c5e56a2.zip is excluded by !**/.yarn/**, !**/*.zip
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing: 10
  • .pnp.cjs
  • .yarnrc.yml
  • package.json
  • packages/dapi-grpc/package.json
  • packages/dapi/package.json
  • packages/dashmate/package.json
  • packages/js-dapi-client/package.json
  • packages/js-grpc-common/package.json
  • packages/platform-test-suite/package.json
  • packages/wallet-lib/package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added this to the v5.0.0 milestone Oct 20, 2026
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — coderabbitai not yet · thepastaclaw ✓. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Oct 20, 2026
@thepastaclaw

thepastaclaw commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Final review complete — no blockers (commit 36e9704) · triage: normal

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

Static verification at head 36e9704 confirms that the reviewed commit adds narrowly scoped advisory exceptions, and the node-forge verification vulnerability is not reached by the inspected production callers. No blockers were found; one maintainability suggestion remains about documenting when to remove that exception. Current code checks have passed where completed, two test-suite jobs remain pending, and the PR-title failure rejects the unsupported scope "deps" rather than the configuration change.

🟡 1 suggestion(s)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.1-sol (effort low) — This is a cross-cutting dependency and resolution update requiring compatibility checks across multiple JavaScript packages, but dependency bumps do not meet the critical-tier bar.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (lane failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort high); agent phase2-reviewer, gpt-6.1-sol — architecture-layering (completed, effort high); agent phase2-reviewer, gpt-6.1-sol — security-auditor (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.

In `.yarnrc.yml`:
- [SUGGESTION] .yarnrc.yml:26: Document when to remove the node-forge advisory exception
  The exception is appropriately narrow and justified for the current call sites, but it remains active even if this advisory later gains a patched release. Yarn filters this advisory ID without checking whether a fix has become available, and the lockfile retains node-forge 1.4.0 across ordinary installs. Unlike the adjacent exceptions, this comment does not state a remediation or removal condition. Add a TODO to upgrade node-forge and remove the exception when a patched release becomes available, so the temporary no-fix rationale does not become a permanent suppression.

Comment thread .yarnrc.yml
- minimatch # TODO: Update @oclif/core, karma-webpack, mocha https://github.com/advisories/GHSA-3ppc-4f35-3m26

npmAuditIgnoreAdvisories:
- "1240912" # node-forge https://github.com/advisories/GHSA-86w9-cpqp-85rv has no patched release. Dashmate only generates keys and signs CSRs and certificates with node-forge; it verifies signatures with node:crypto X509Certificate

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Suggestion: Document when to remove the node-forge advisory exception

The exception is appropriately narrow and justified for the current call sites, but it remains active even if this advisory later gains a patched release. Yarn filters this advisory ID without checking whether a fix has become available, and the lockfile retains node-forge 1.4.0 across ordinary installs. Unlike the adjacent exceptions, this comment does not state a remediation or removal condition. Add a TODO to upgrade node-forge and remove the exception when a patched release becomes available, so the temporary no-fix rationale does not become a permanent suppression.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

@QuantumExplorer
QuantumExplorer merged commit f98e5b4 into v5.0-dev Oct 20, 2026
51 of 54 checks passed
@QuantumExplorer
QuantumExplorer deleted the chore/npm-audit-critical-high branch October 20, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-bots Waiting for the review bots to report on this head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants