Commit 50edfcc
Issue: ``pyproject.toml`` carried ``black = "^26.3"`` and
``pytest = "^9.0"`` after the Dependabot clear PRs (#122, #123).
The lockfile is on patched versions (``black 26.5.x``,
``pytest 9.0.3``), so today's installs are safe — but the
constraint spec admits the vulnerable point releases. A fresh
``poetry lock --update`` on a future contributor's machine could
resolve back to ``black 26.3.0`` (vulnerable to CVE-2026-32274,
arbitrary file write via cache-file name) or ``pytest 9.0.0–9.0.2``
(vulnerable to CVE-2025-71176, unsafe tmpdir symlink handling).
Tighten to ``^26.3.1`` and ``^9.0.3`` — the Dependabot-fixed
minimums — so Poetry can never resolve to a vulnerable revision.
Lockfile stays unchanged (the constraints are subsets of what's
already pinned).
Tracked under issue #144 "Post-public-flip hardening tracker".
Closes the constraint-tightening line item; the rest of the tracker
(branch protection, CodeQL, pre-commit activation, CoC, PAT
rotation, issue templates) is separate work.
Tier 5 — touches ``pyproject.toml`` ``[tool.poetry.group.dev.dependencies]``.
Human merge required.
Co-authored-by: Martin Castro Laminrs <mcastro@laminr.ai>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c378718 commit 50edfcc
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
0 commit comments