You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release checklist: set patched_versions on every published security advisory when the next release is cut #828
Process gap found while publishing the first advisory from the 2026-10 review.
The situation
GHSA-w7wx-6439-wff7 is published with patched_versionsdeliberately empty.
The fix is merged (a813c11) but the latest release is v0.127.0, which is
affected. Setting patched_versions: 0.128.0 would have named a version that does
not exist — a fabricated fact, and the one consumers' tooling acts on most
directly, since a dependency scanner reading "fixed in 0.128.0" will report a
clean bill of health against a release that was never cut.
That is the same defect class the audit exists to remove, so the field was left
empty with the status spelled out in the description instead.
What needs to happen at release time
When the next release is cut, for every published advisory whose fix is in that
release:
gh api --method PATCH repos/spore-host/spawn/security-advisories/<GHSA-ID> \
--input - <<JSON{"vulnerabilities":[{"package":{"ecosystem":"go","name":"github.com/spore-host/spawn"}, "vulnerable_version_range":"<= 0.127.0","patched_versions":"<the actual version>"}]}JSON
and trim the "not yet in a released version" paragraph from the description.
Currently affected: GHSA-w7wx-6439-wff7 (published). Five more drafts will
land in the same state as their fixes merge — GHSA-54x4-pc23-4m6j, GHSA-2hfh-q6jv-qgjp, GHSA-3x4q-99gh-fxhx, GHSA-q9qq-223w-mqx6, GHSA-qc2h-6qqf-wcm4.
Why this is an issue rather than a note
The release ritual is recorded in CLAUDE.md (promote [Unreleased], update
compare links, tag) and says nothing about advisories, because there were none
until today. A step that exists only in one conversation will be missed.
Suggested
Add the advisory step to CLAUDE.md's On release list.
Consider gating it: a test that fails when a published advisory has an empty patched_versionsand the repo has a release newer than its vulnerable_version_range. That is the condition under which the empty field
has gone from honest to stale, and it is checkable without a network call if
the advisory IDs are listed — though per rule 4 that list wants discovering
from the API rather than hand-maintaining.
Note the next release must be MINOR regardless: the same cycle removes spawn autoscale (13 subcommands) and 13 exported members of pkg/aws.
One exclusion for this checklist, so it isn't applied mechanically.
GHSA-xqx8-pcpv-cx2h must NOT be published at the next release. It is a private draft for an unfixed, live defect — a Slack signing secret stored in plaintext (#868) — and #868 is now backlogged, so the fix will not be in the next release. Publishing it would disclose an unremediated exposure, and setting patched_versions on it would assert a fix that does not exist.
So when working this checklist, the rule is narrower than "every published advisory": set patched_versions only on advisories whose fix is actually in the release being cut. Current state:
unfixed — leave as a private draft, do not publish
Worth adding to the checklist as an explicit step rather than carrying it as knowledge: "confirm each advisory's fix is in this release before publishing it."
Done for v0.128.0. patched_versions = 0.128.0 set on all seven published advisories, each with its existing package and range preserved (a PATCH replaces the whole vulnerabilities array, so each was read and only the patched version changed):
Checked the ranges before setting anything, rather than assuming them. Each advisory says vulnerable <= 0.127.0; had any fix landed before the v0.127.0 tag, that range would wrongly mark a patched release as vulnerable. git merge-base --is-ancestor <fix> v0.127.0^{} is false for every fix and true against v0.128.0^{}, so the existing ranges are correct.
draft, unfixed (#879, the Windows install path, filed today) — must not be published
A suggestion for the checklist itself
Make the rule "set patched_versions only on advisories whose fix is an ancestor of the release tag", and run that ancestor check per advisory. It is mechanical, it caught nothing wrong this time, and it is exactly the check that would stop a future release from claiming a fix it doesn't contain. Leaving this issue open for that.
Activity
scttfrdmn commentedon Oct 12, 2026
One exclusion for this checklist, so it isn't applied mechanically.
GHSA-xqx8-pcpv-cx2h must NOT be published at the next release. It is a private draft for an unfixed, live defect — a Slack signing secret stored in plaintext (#868) — and #868 is now backlogged, so the fix will not be in the next release. Publishing it would disclose an unremediated exposure, and setting
patched_versionson it would assert a fix that does not exist.So when working this checklist, the rule is narrower than "every published advisory": set
patched_versionsonly on advisories whose fix is actually in the release being cut. Current state:patched_versions, publishpatched_versionsWorth adding to the checklist as an explicit step rather than carrying it as knowledge: "confirm each advisory's fix is in this release before publishing it."
scttfrdmn commentedon Oct 13, 2026
Done for v0.128.0.
patched_versions = 0.128.0set on all seven published advisories, each with its existing package and range preserved (a PATCH replaces the wholevulnerabilitiesarray, so each was read and only the patched version changed):Checked the ranges before setting anything, rather than assuming them. Each advisory says vulnerable
<= 0.127.0; had any fix landed before the v0.127.0 tag, that range would wrongly mark a patched release as vulnerable.git merge-base --is-ancestor <fix> v0.127.0^{}is false for every fix and true againstv0.128.0^{}, so the existing ranges are correct.Deliberately not touched
A suggestion for the checklist itself
Make the rule "set
patched_versionsonly on advisories whose fix is an ancestor of the release tag", and run that ancestor check per advisory. It is mechanical, it caught nothing wrong this time, and it is exactly the check that would stop a future release from claiming a fix it doesn't contain. Leaving this issue open for that.ci: gate released CHANGELOG sections against their tags; advisory ste…