Skip to content

docs: dependency-security decision memo — the 56 Dependabot alerts - #77

Merged
ronaldtse merged 1 commit into
mainfrom
docs/dependency-security-memo
Sep 2, 2026
Merged

docs: dependency-security decision memo — the 56 Dependabot alerts#77
ronaldtse merged 1 commit into
mainfrom
docs/dependency-security-memo

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Analysis of the 56 open Dependabot alerts (4 critical / 20 high / 18 moderate / 14 low) — a decision memo, not a fix: every remediation path changes a version/requirements contract, which is the owner call (python/pyproject.toml documents the weights-coupling gate).

Findings:

  • All alerts target python/{arabic,hebrew}/requirements.txt (frozen 2021 pins: torch==1.9.0, onnx==1.9.0, numpy==1.19.5, tqdm==4.56.0) plus the root pyproject floors. interscript-ml and the site have zero alerts.
  • The re-validation gate is REAL: PRs Bump torch from 1.9.0 to 2.13.0 in /python/hebrew #52/Bump torch from 1.9.0 to 2.13.0 in /python/arabic #53 (torch -> 2.13.0) fail the Ruby matrix with diacritize_text golden mismatches — legacy CBHG weights behave differently under new torch. Meanwhile python-arabic CI (eager upgrade) is green at latest — only the Ruby-bridge goldens are numerics-pinned.
  • Options tabled in TODO.publish/06: (A) keep frozen + dismiss legacy-file alerts (matches the eager-CI validation posture; my read), (B) merge Bump onnx from 1.9.0 to 1.22.0 in /python/arabic #51-53 + re-record goldens (silently redefines legacy model output), (C) raise root floors (cuts torch<2.6 consumers).
  • Fixed alongside: dangling TODO.complete/19-torch-2x.md pointer in python/pyproject.toml (file never existed in-repo); register 05 refreshed with resolved items (E6 closed failed, glm-4.7 row complete).

…nalyzed

All 56 alerts (torch/onnx/numpy/tqdm) trace to the two frozen legacy
inference environments (torch==1.9.0 et al) plus root floors. Live
evidence: dependabot PRs #52/#53 fail on Ruby golden-output mismatches
at torch 2.13 — the documented re-validation gate firing — while the
eager-upgrade python CI validates green at latest. Options A/B/C
tabled for the owner in TODO.publish/06; stale
TODO.complete/19-torch-2x.md pointer fixed; register 05 refreshed
(E6/glm-4.7 items resolved).
@ronaldtse
ronaldtse merged commit 0db50b7 into main Sep 2, 2026
9 checks passed
@ronaldtse
ronaldtse deleted the docs/dependency-security-memo branch September 2, 2026 21:57
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