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
squirrel self update on 0.0.189 and older fails with ATTESTATION_FAILED for every signed release, and the message doesn't say how to recover #2283
CLIs up to 0.0.189 check gh attestation verify --cert-identity .../release.yml@refs/heads/main when gh is installed and logged in (apps/cli/src/self/attestation.ts at v0.0.189). Releases from 0.0.190-beta.1 on are built and signed outside GitHub Actions, so they carry no GitHub attestation. The check fails, and self update aborts with ATTESTATION_FAILED.
The CLI's message reads "this binary was not built by the squirrelscan/squirrelscan release workflow. Nothing was installed." That sounds like tampering, and it doesn't tell the user how to recover.
The release notes do say to re-run the install one-liner once. But a user whose auto-update fails never sees the release notes.
Telemetry since 2026-11-22: ATTESTATION_FAILED from distinct installs on 0.0.189 (7), 0.0.182 (5) and 0.0.183 (1), and none has recovered (none seen on 0.0.190 or later). They stay on the old version until someone runs the installer by hand.
This is not tampering: the published binaries verify against the pinned release signing key.
Acceptance Criteria
A user on an old CLI who hits this learns how to recover without reading GitHub. Pick one or both (a maintainer decides):
(a) the release pipeline also publishes a GitHub artifact attestation with the identity old CLIs expect (release.yml@refs/heads/main), backfilled for 0.0.190 and later (option (b) in triage, hold-class: workflow and release);
(b) docs, changelog and newsletter tell users on 0.0.189 or older with gh logged in to re-run the installer once. Old CLIs have no server-notice path (checked in v0.0.189 self/releases.ts and self/updater.ts), and their auto-update failures are logged only at debug level, so they cannot be told in-product;
The installer path (install.sh / install.ps1) upgrades a 0.0.189 install with gh logged in, and later self update works (tested or verified by hand).
Telemetry: the recovered count for these installs starts moving after the fix ships.
Current CLIs never print the misleading "not built by the release workflow" text for a release that verifies against the pinned signing key (test).
Activity