Skip to content

SLOP-319: bump dependencies to clear 4 critical + 2 high prod vulnerabilities - #2

Open
tosfos wants to merge 1 commit into
develfrom
SLOP-319-deps-security-bump
Open

SLOP-319: bump dependencies to clear 4 critical + 2 high prod vulnerabilities#2
tosfos wants to merge 1 commit into
develfrom
SLOP-319-deps-security-bump

Conversation

@tosfos

@tosfos tosfos commented Aug 22, 2026

Copy link
Copy Markdown

Fixes SLOP-319

Summary

npm audit --omit=dev on devel reports 11 vulnerabilities (4 critical, 2 high), rooted in nodemw@0.17.0 depending on the abandoned request package: request SSRF (critical), form-data CRLF injection + unsafe boundary (critical), json-schema/jsprim prototype pollution (critical), qs prototype pollution/DoS (high), underscore recursion DoS GHSA-qpx9-hpmf-5gmw (high), plus tough-cookie/uuid/diff/ajv moderates. This tool fetches arbitrary operator-supplied wiki domains over HTTPS, so the request chain sits directly on its core path.

Mirrors the fixes upstream macbre/wiki-evolution already shipped (macbre#71 nodemw 0.25, macbre#73 color 5, npm audit fix):

  • nodemw ^0.17.0 -> ^0.27.0 (request -> maintained @cypress/request@^4)
  • async ^3.2.1 -> ^3.2.6
  • color ^4.0.1 -> ^5.0.3 plus require(color).default in index.js (same as upstream commit 5aa1fc2)
  • devDep mocha ^10 -> ^11.1.0
  • overrides: underscore ^1.13.8 clears the residual GHSA-qpx9-hpmf-5gmw (nodemw declares ^1.9.1, compatible)
  • engines.node >=18 and CI matrix 20.x/22.x/latest (nodemw 0.27 requires Node >=18; old matrix tested 12.x-17.x which cannot install it)

Verification

  • npm audit --omit=dev: found 0 vulnerabilities after this change
  • all 11 mocha tests pass; npm run lint (jshint) clean; node --check clean on both entry points
  • runtime probe: all five nodemw APIs used by bin/wiki2gource.js (getSiteStats, getAllPages, getQueryPage, getArticleRevisions, getArticleCategories) verified present in 0.27
  • color@5 smoke: ColorsRanker returns expected hex values (404040 / FFFFFF)
  • workflow YAML validated

…bilities

npm audit --omit=dev reported 11 vulnerabilities (4 critical) rooted in
nodemw 0.17 depending on the abandoned request package: request SSRF,
form-data CRLF injection / unsafe boundary, json-schema + jsprim
prototype pollution, qs and underscore DoS chains.

Mirrors fixes upstream macbre/wiki-evolution already shipped:
- nodemw ^0.17.0 -> ^0.27.0 (request -> maintained @cypress/request@^4)
- async ^3.2.1 -> ^3.2.6
- color ^4.0.1 -> ^5.0.3 + require(color).default (upstream 5aa1fc2)
- mocha ^10 -> ^11.1.0
- overrides: underscore ^1.13.8 clears residual GHSA-qpx9-hpmf-5gmw
- engines >=18 and CI matrix 20/22/latest (nodemw 0.27 needs node >=18)

Result: npm audit --omit=dev clean; 11/11 mocha tests pass; jshint
clean; all five nodemw APIs used by wiki2gource.js verified present.
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ce22812d-2d52-412f-a9f1-e9d8b7bfedbc


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.

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