Skip to content

fix(deps): patch 91 Dependabot and 6 CodeQL alerts - #463

Merged
isolomatov-gd merged 1 commit into
mainfrom
fix/security-alerts-quickfix-deps
Nov 13, 2026
Merged

isolomatov-gd merged 1 commit into
mainfrom
fix/security-alerts-quickfix-deps

Conversation

@isolomatov-gd

@isolomatov-gd isolomatov-gd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Clears 91 of the 94 open Dependabot alerts (npm lockfiles in 5 packages) and 6 of the 13 open CodeQL alerts in one change. Seven of the 91 (#166 to #172, hono and @hono/node-server in rosettify) were raised after this work started; the same lock refresh already resolves them (hono 4.13.18, @hono/node-server 2.1.7).

npm audit reports 0 vulnerabilities in rosettify, rosettify-plugins, rosettify-prompts and hooks. It also covers nanoid, which npm audit flags but Dependabot has no alert for. curiocity keeps exactly the two findings listed under "Left open".

Dependabot (91 alerts)

Package Change Result
rosettify (49) drop 6 stale overrides pins (keep postcss); floors @modelcontextprotocol/sdk ^1.32.0, vitest and @vitest/coverage-v8 ^4.1.12; targeted lock refresh sdk 1.32.2, hono 4.13.18, fast-uri 3.1.9, ip-address 10.7.6, qs 6.17.1, body-parser 2.4.0, proxy-addr 2.0.8, zod 4.6.7, vite 8.3.8, vitest 4.1.12
rosettify-plugins (14) drop js-yaml pin; floors handlebars ^4.7.10, vitest, @vitest/coverage-v8 ^4.1.12; targeted lock refresh handlebars 4.7.10, js-yaml 3.15.2, smol-toml 1.9.1
rosettify-prompts (10) zod ^3.24.1 to ^4.6.6; targeted lock refresh zod 4.6.7
curiocity (9 of 12) lock refresh only vite 8.3.8, vitest 4.1.12
hooks (9) lock refresh only vite 8.3.8, vitest 4.1.12

CodeQL (6 alerts)

Three regression tests were added (#12, #11, #10). Each fails on the old code and passes on the fix.

Left open (not part of this change)

Notes for reviewers

  • Removed overrides pins. npm applies overrides only to the root project, so the pins in the published manifests never protected consumers. They only froze this repo's lockfiles below the fixed versions. A fresh install of the published rosettify and rosettify-plugins already resolves to patched versions. The floors on direct dependencies are what protect consumers.
  • Targeted lock refresh, not a full npm update. A full update also moves unrelated runtime dependencies (ai, @ai-sdk/*, pino, esbuild, typescript). Only alert-related packages move here. Lock diffs are 445 to 633 lines per package.
  • Lock noise. Every lock gains @rolldown/binding-android-arm-eabi (optional binary of vite 8.3.8). @emnapi/* moves to 2.0.0-beta.2 in all five locks: optional, dev-only, pinned exactly by @rolldown/binding-wasm32-wasi. Lock root versions are re-synced.
  • Generator output unchanged. plugins/ is clean after regeneration with the local generator (handlebars 4.7.10). The hooks bundles are byte-identical to main.
  • Memory lesson. Adds one entry to agents/MEMORY.md on exact overrides pins in published npm packages.
  • trimEnd() is slightly wider than the old regex. It also strips trailing spaces on the last line of a mermaid block. Irrelevant for mermaid source.
Commands used for the targeted lock refresh (run in each package, after the manifest edits)
  • rosettify: npm update @modelcontextprotocol/sdk hono @hono/node-server fast-uri body-parser ip-address express-rate-limit qs proxy-addr zod vitest @vitest/coverage-v8 @vitest/mocker vite source-map-js nanoid --package-lock-only
  • rosettify-plugins: npm update handlebars js-yaml smol-toml vitest @vitest/coverage-v8 @vitest/mocker vite source-map-js nanoid --package-lock-only
  • rosettify-prompts: npm update zod vitest @vitest/mocker vite source-map-js nanoid --package-lock-only
  • curiocity and hooks: npm update vitest @vitest/mocker vite source-map-js nanoid --package-lock-only

Versions and what a merge releases

Component Version
rosettify 3.2.10
rosettify-plugins 3.5.5
rosettify-prompts 0.1.17
curiocity 0.2.14
rosetta-mcp-server 3.0.6
Helm chart 0.4.5 (appVersion 3.0.6)

Merging to main fires: 4 npm publishes, PyPI (rosetta-mcp), Docker (rosetta-mcp), the Helm chart publish, and the Pages deploy (layout change). The #10 fix is what forces the MCP server, Docker and Helm releases; the Helm chart appVersion must equal the server version (CI asserts it). All six new versions were unpublished when checked.

Version collisions: merge order

Open PRs that set the same versions: #454 and #455 (rosettify 3.2.10), #432 and #426 (rosettify-plugins 3.5.5), #418 (rosettify-prompts 0.1.17; also edits optimize.ts and the prompts lock), #423 and #360 (rosetta-mcp-server 3.0.6), #419 (Helm 0.4.5). Stale ones that will conflict on package.json: #420, #416.

If any of them merges first, before merging this PR: rebase on the then-current main, re-run scripts/bump_versions.sh for the affected components, and regenerate any conflicting lockfile with the command above for that package. Do not hand-merge lockfiles.

Test plan

  • venv/bin/python scripts/pre_commit.py exit 0 (hooks build, plugin sync, 5 verify checks, type validation, tests)
  • rosettify 1655, rosettify-plugins 1113, rosettify-prompts 105, curiocity 453, hooks 1506 tests; rosetta-mcp-server pytest 356; typecheck, build and lint exit 0
  • npm audit: 0 (rosettify, rosettify-plugins, rosettify-prompts, hooks); curiocity only the two open findings
  • lock files idempotent under npm install --package-lock-only
  • plugins/ clean after local-generator regeneration; hooks bundles identical to main
  • actionlint on repo-implement.yml: only the 3 pre-existing SC2086 infos
  • smoke: rosettify stdio MCP handshake (initialize, tools/list), CLI --help of all packages, zod 4 config validation in rosettify-prompts, tracker disabled-path log line

🤖 Generated with Claude Code

Dependabot (npm lockfiles): refresh the alerted packages in rosettify,
rosettify-plugins, rosettify-prompts, curiocity and hooks. Drop the stale
exact `overrides` pins in rosettify and rosettify-plugins that held
packages below their fixed versions. Raise direct-dependency floors for
@modelcontextprotocol/sdk, handlebars, zod (rosettify-prompts), vitest and
@vitest/coverage-v8.

CodeQL: #20 and #13 ReDoS in the docs layouts (trimEnd), #12 and #11
backslash escaping in Markdown table cells, #10 stop logging the PostHog
key, #6 workflow-level read-only permissions in repo-implement.yml. Adds
three regression tests.

Patch version bumps: rosettify 3.2.10, rosettify-plugins 3.5.5,
rosettify-prompts 0.1.17, curiocity 0.2.14, rosetta-mcp-server 3.0.6,
Helm chart 0.4.5 (appVersion 3.0.6).

Also records the overrides-pins lesson in agents/MEMORY.md.

Left open: curiocity zod and extract-zip (no easy fix), and the CodeQL
findings in the vendored review bundle and in test assertions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@isolomatov-gd isolomatov-gd changed the title fix(deps): patch 84 Dependabot and 6 CodeQL alerts fix(deps): patch 91 Dependabot and 6 CodeQL alerts Nov 13, 2026
@isolomatov-gd
isolomatov-gd merged commit 4a41027 into main Nov 13, 2026
14 checks passed
@isolomatov-gd
isolomatov-gd deleted the fix/security-alerts-quickfix-deps branch November 13, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants