Skip to content

security: raise Tailscale baseline with guarded source migration - #58

Merged
abruption merged 2 commits into
mainfrom
security/tailscale-baseline-57
Oct 28, 2026
Merged

abruption merged 2 commits into
mainfrom
security/tailscale-baseline-57

Conversation

@abruption

Copy link
Copy Markdown
Owner

Problem and resulting behavior

Closes #57. The published installer remains pinned to Tailscale1.102.4, below TS-2026-013's documented1.104.2+ floor. Simply changing the pin would strand existing installations because the source-only updater intentionally rejects changed binary declarations.

This unreleased 0.7.0-dev candidate sets the new-install baseline to 1.104.4 and adds an explicit source-only adoption step after the existing runtime updater has already installed that exact version. Ordinary update apply retains the declaration-equality guard. Current release0.6.0 download examples stay pinned to the published release and are distinguished from candidate behavior.

Changes

  • Fresh installation uses the existing bounded archive/checksum/ELF parser and version probes before placing either binary. Existing pairs must be regular, user-owned,0700,single-link files with matching versions at or above the candidate baseline. Partial/dangling-symlink/unsafe/below-baseline pairs fail without implicit replacement.
  • update migrate-baseline --bundle ... --confirm-recovery-terminal runs from the matching complete reviewed candidate checkout. It supports exactly declared1.102.4→1.104.4; both installed binaries and the identified running backend must already be1.104.4 with expected userspace/socket/proxy configuration.
  • The detached source transaction freezes operation/source hashes and repeats guards under the shared lock before signals. Existing source backups/readiness/code rollback are reused; binaries, node state and keys are not replaced or downgraded. Unknown prior transactions/fences remain stop conditions.
  • Add EN/KO migration/trust guidance and consistent notices in four README/usage languages. Explicitly distinguish the published package, candidate default, actual runtime and host TLS verifier.

Validation and review

Exact candidate: 8c79da4.

  • Checks: 355 tests on each Linux Python3.11/3.13, manifest, Bash and ShellCheck pass. Includes compiled real version-output binaries for fresh-install success, checksum/archive failures, unsafe links/modes and conditional-shell rejection, plus guarded migration/source-only rollback cases.
  • Local Python3.13.17:57 source-updater tests (one Linux-only skip) and71 runtime tests passed. Linux installer cases were verified in CI, not claimed from Mac skips.
  • Exact candidate artifact smoke checks official1.102.4/1.104.4 archives and real version-only outputs in isolated containers. Earlier artifact smoke also passed before installer-only safety corrections; runtime parser/probe code is unchanged.
  • Independent parallel Claude Code2.1.310 / response-confirmed claude-opus-5-5 and Codex CLI0.165.0 / isolated default model (actual model name not exposed) reviewed identical frozen inputs. Initial required/conditional findings were corrected. Both final reviews report no required corrections, exit0 with complete responses and unchanged input hash. Final input SHA256 499781e58928e130871b9d04767989b38a314274a39bf1eeb9acad6945cce6b0; private evidence retained by maintainer.

Scope and remaining uncertainty

1.104.4 is the observed official stable release and meets TS-2026-013's stated floor. The linked official changelog/SSH investigation did not yet identify the complete1.104.4 fix range at review time; this is not a claim of complete Tailworm/SSH remediation.

The already-deployed0.6 runtime's separate authorized1.104.2→1.104.4 trial and later read-only launcher/metadata snapshot are recorded in docs/validation/security-baseline-20261028.md. This candidate's fresh installer and new source migration have not been exercised live, and the1.102.4→target lifecycle remains isolated fixture/artifact validation.

Read-only TLS review created a fresh context using the running shim's interpreter/CA environment; it did not inspect its existing in-memory store. The saved bundle differs from and predates the current OS CA file. No CA files, trust policy, credentials or recovery subscriptions were modified, and certificate-specific distrust was not proven. Controlled trust-store/bundle refresh remains separate operator work.

No merge, release, automatic update enablement or candidate deployment is performed by this PR. Nonblocking review follow-ups include diagnostic specificity for uncommon query failures and additional asymmetric fixtures.

@abruption abruption added this to the v0.7.0 milestone Oct 28, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-28T01:45:13.753308Z 8c79da4 PR opened
🔒 Security Review ✅ Completed 2026-10-28T01:47:51.538595Z 8c79da4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@abruption
abruption merged commit 4a50d9a into main Oct 28, 2026
8 checks passed
@abruption

Copy link
Copy Markdown
Owner Author

Published v0.7.0 from final release commit37a65891b87a4a09d9df40075a0599485b65e762. The annotated tag resolves to that commit. Final core checks40619506587, research checks40619506452 and official artifact probes40619509138 all passed.

All eight release assets were verified in draft and downloaded without authentication after publication; bytes/hashes match the local exact-commit artifacts and original manifest. Latest stable selection is v0.7.0. The v0.7.0 milestone is closed; #31/#44/#45 moved to v0.8.0.

Automated security review completed without findings; automated code review was still running when the maintainer explicitly authorized merge/publication and is not counted as completed. Independent CLI final reviews were already complete with no required corrections. Existing installations must follow the explicit runtime-first/source-migration guide; ordinary update apply retains the cross-baseline guard. This publication did not deploy the new package to Dots or KR.

@abruption

Copy link
Copy Markdown
Owner Author

Operator-authorized v0.7.0 deployment completed. Original published sources/manifest from37a65891 were staged and verified; explicit DOTS_TS_DIR selected the existing installation. Source migration2778bd2f7611498fbd1a3166ab3f4758 reached applied/complete at2026-10-28T02:20:11Z. Installed package0.7.0 integrity matches; Tailscale1.104.4 binaries and public node/SSH identity plus private-key inode/UID/mode metadata are unchanged. Fresh strict SSH/ping and cloud terminal version checks passed. Recovery task resumed; later fresh monitor ACK confirms subscription_active=true/failure_class=ok/stale_delivery=false.

Mac relay code already matches0.7.0 and retained Python3.13.17 remains healthy. No KR-active code changed between0.6 and0.7; existing pre-release mail connector patches were preserved, with service/socket/Caddy/audit and fresh observations verified. No broker restart, credentials, DB or trust-policy changes were required.

Deployment preparation found the staged-source examples need DOTS_TS_DIR for migration/status. GitHub Release instructions were corrected immediately; docs/evidence follow-up is #59/#60. Original tag/assets were not changed. Durable transaction backups remain available.

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.

security: validate a newer Tailscale default baseline and existing-install migration

1 participant