8000 chore(deps): update dependencies to resolve Dependabot security alerts by dmux · Pull Request #27 · dmux/minilake · GitHub
[go: up one dir, main page]

Skip to content

chore(deps): update dependencies to resolve Dependabot security alerts - #27

Merged
dmux merged 1 commit into
mainfrom
chore/deps-security-updates
Oct 21, 2026
Merged

dmux merged 1 commit into
mainfrom
chore/deps-security-updates

Conversation

@dmux
@dmux dmux commented Oct 21, 2026
Copy link
Copy Markdown
Owner

Summary

Updates Python and UI dependencies to clear the open Dependabot security alerts: 41 of 42 are fixed. The one left is braces, which has no patched release (details below).

Python (pyproject.toml / uv.lock)

Package Before After Alerts
PyJWT 2.13.0 2.15.1 #30–#40, #44, #48 (incl. critical #36)
urllib3 2.7.0 2.8.0 #41, #42, #43
tornado 6.5.8 6.6 #45, #46, #47
virtualenv 21.7.7 21.14.12 #49–#52
mcp 1.29.1 1.30.0 #60
jupyterlab 4.6.x 4.6.4 #53, #54, #55, #59
  • Raised the floors on direct dependencies so a fresh pip install can't resolve to a vulnerable version: mcp>=1.30,<2 (extra + dev group) and jupyterlab>=4.6.4,<5.
  • Capped duckdb<2. No alert needs DuckDB 2.0, but the Docker image installs from pyproject.toml, so it was already picking up 2.0.0. DuckDB 2.0 no longer carries E-string escape semantics across implicit string continuation: SELECT E'it'\n'\'s' is now a parse error. That broke three test_backtick_identifier_translation cases, and those cases also describe what the backtick rewriter in services/sql_statements.py expects. Moving to DuckDB 2 should be its own change, together with the tokenizer update.
  • The rest of the lockfile was refreshed in place (uv lock --upgrade).

UI (ui/package.json / ui/pnpm-lock.yaml)

Package Before After Alerts
next 16.3.x 16.4.2 #21, #28 (critical)
vite 8.2.1 8.3.5 #62, #63, #64
proxy-addr < 2.0.8 2.0.8 #57 (critical)
source-map-js < 1.2.2 1.2.2 #58
brace-expansion vulnerable 1.1.21 / 5.0.12 #22, #24, #26, #27
postcss-selector-parser < 7.1.6 7.1.7 #61
dompurify < 3.4.16 3.4.17 #29
  • eslint-config-next was bumped to 16.4.2 so it matches next.
  • vite is now an explicit devDependency. Until now it came in only as vitest's peer dependency, so pnpm update (and even a pnpm.overrides entry) left it on the vulnerable 8.2.1.
  • Other dependencies were updated within their existing semver ranges.

Not fixed

  • [BUG] jobs/run-now ignores idempotency_token and executes duplicate writes on retry #56 braces ≤ 3.0.3. No patched version exists; 3.0.3 is the latest release. It comes in only through micromatch → fast-glob, used by the shadcn CLI and @next/eslint-plugin-next. Both are build-time tools, and braces is not part of the static UI export that minilake serves. Suggest dismissing the alert as "no fix available / not reachable at runtime" until upstream ships a fix.

Test plan

  • docker compose -f docker-compose.test.yml build and up --exit-code-from test-runner: 406 passed
  • uv run ruff format --check and uv run ruff check: clean
  • pnpm typecheck, pnpm test (32 passed), pnpm build: OK
  • pnpm lint: 0 errors, 1 warning (react-hooks/incompatible-library in results-grid.tsx, already on main)

Python (uv.lock):
- PyJWT 2.13.0 -> 2.15.1, urllib3 2.7.0 -> 2.8.0, tornado 6.5.8 -> 6.6,
  virtualenv 21.7.7 -> 21.14.12, mcp 1.29.1 -> 1.30.0, jupyterlab -> 4.6.4
- Raise floors: mcp>=1.30 (StreamableHTTP session accumulation fix) and
  jupyterlab>=4.6.4 (XSS / argument-injection fixes)
- Cap duckdb<2: DuckDB 2.0 no longer carries E-string escape semantics across
  implicit string continuation, which the backtick rewriter mirrors from 1.x

UI (pnpm):
- next / eslint-config-next 16.3.x -> 16.4.2
- vite 8.3.5 as an explicit devDependency (it was only vitest's peer, so
  updates never moved it off the vulnerable 8.2.1)
- Refresh lockfile: brace-expansion, dompurify, postcss-selector-parser,
  proxy-addr and source-map-js now on patched versions
@dmux dmux self-assigned this Oct 21, 2026
@dmux dmux added the dependencies Pull requests that update a dependency file label Oct 21, 2026
@dmux
dmux merged commit b273650 into main Oct 21, 2026
3 checks passed
@dmux
dmux deleted the chore/deps-security-updates branch October 31, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0