Repository navigation
fix(deps): patch 91 Dependabot and 6 CodeQL alerts - #463
Merged
Merged
Conversation
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>
olepoletaiev-gd
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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,
honoand@hono/node-serverin 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 auditreports 0 vulnerabilities in rosettify, rosettify-plugins, rosettify-prompts and hooks. It also coversnanoid, whichnpm auditflags but Dependabot has no alert for. curiocity keeps exactly the two findings listed under "Left open".Dependabot (91 alerts)
overridespins (keeppostcss); floors@modelcontextprotocol/sdk ^1.32.0,vitestand@vitest/coverage-v8 ^4.1.12; targeted lock refreshjs-yamlpin; floorshandlebars ^4.7.10,vitest,@vitest/coverage-v8 ^4.1.12; targeted lock refreshzod ^3.24.1to^4.6.6; targeted lock refreshCodeQL (6 alerts)
js/redos):docs/web/_layouts/user-guide.htmlanddocs.htmlnow usetrimEnd()instead of a backtracking trailing-whitespace regex.js/incomplete-sanitization):optimize.tsandmarkdown.tsescape backslashes before pipes in Markdown table cells.py/clear-text-logging-sensitive-data): the PostHog disabled branch logs a constant message, not the key value.actions/missing-workflow-permissions):repo-implement.ymlgets workflow-levelpermissions: contents: read.implement-storykeeps its own job-level block, so that job is unchanged.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)
zodhas no 3.x fix. The 3 to 4 migration touches about 23 files and has a known behavior difference in.default(). Needs its own change.extract-ziphas no patched release. Needs a library swap.docs/reviews/, dismissed as "won't fix") and #7, website update: update links, simplify quick start, improve UI #8 (test assertions, dismissed as "used in tests"). They are not changed by this PR.Notes for reviewers
overridespins. npm appliesoverridesonly 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.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.@rolldown/binding-android-arm-eabi(optional binary of vite 8.3.8).@emnapi/*moves to2.0.0-beta.2in all five locks: optional, dev-only, pinned exactly by@rolldown/binding-wasm32-wasi. Lock root versions are re-synced.plugins/is clean after regeneration with the local generator (handlebars 4.7.10). The hooks bundles are byte-identical tomain.agents/MEMORY.mdon exactoverridespins 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)
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-onlynpm update handlebars js-yaml smol-toml vitest @vitest/coverage-v8 @vitest/mocker vite source-map-js nanoid --package-lock-onlynpm update zod vitest @vitest/mocker vite source-map-js nanoid --package-lock-onlynpm update vitest @vitest/mocker vite source-map-js nanoid --package-lock-onlyVersions and what a merge releases
Merging to
mainfires: 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 chartappVersionmust 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.tsand the prompts lock), #423 and #360 (rosetta-mcp-server 3.0.6), #419 (Helm 0.4.5). Stale ones that will conflict onpackage.json: #420, #416.If any of them merges first, before merging this PR: rebase on the then-current
main, re-runscripts/bump_versions.shfor 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.pyexit 0 (hooks build, plugin sync, 5 verify checks, type validation, tests)npm audit: 0 (rosettify, rosettify-plugins, rosettify-prompts, hooks); curiocity only the two open findingsnpm install --package-lock-onlyplugins/clean after local-generator regeneration; hooks bundles identical tomainactionlintonrepo-implement.yml: only the 3 pre-existing SC2086 infos--helpof all packages, zod 4 config validation in rosettify-prompts, tracker disabled-path log line🤖 Generated with Claude Code