Description
What's the problem
RAUC signing protects the bundle but not the release listing the rig reads over Tor. Nothing yet specifies a host allowlist, remote DNS through the proxy, a download size cap, or tag-string validation. A hostile path (exit node or compromised listing) could replay an old listing to freeze updates, or feed an oversized file or crafted tag string toward a URL or path.
What it impacts
Every appliance rig that updates itself. A frozen or poisoned channel is silent unless the check reports it.
How I found it
Skeptic review of the 2026-11-10 design. Reading lib/pithead/47-os-update-helpers.sh os_release_fetch shows coordinator-side fetch only; no rig-side equivalent exists, so the rules are not written anywhere. Whether GitHub release metadata can be pinned or signed further is unknown.
How important is it
High for 2.1.0, required before the rig updater ships.
It is blocked by #4007.
Acceptance criteria
- The channel listing is treated as untrusted data; installation trust is the RAUC signature only.
- Fetches are HTTPS only, to the release host only, through the SOCKS proxy with remote DNS (socks5h); redirects off that host are refused.
- Tags must match a strict release-tag regex before use in any URL or path; version comparison is semantic (2.0.10 above 2.0.9), with a test.
- A maximum bundle size is enforced during download.
- The check reports the last-seen listing time and flags a channel that has not advanced as possibly stale or frozen.
- Selftests cover each refusal, using local fixtures.
Possible solutions
- Enforce these rules in the shared fetch helper used by the rig-side updater (preferred).
- Add a signed manifest beside the bundle; larger change, needs release-process work, defer unless the stale-channel report proves insufficient.
Activity
pithead-developer commentedon Nov 12, 2026
Grouped with #4010, but PR #4044 does not close it: Its declared blocker pithead#4007 is still open, so it is left for a follow-up PR.. Released for its own pick.
appliance: harden the update channel — untrusted listing, host allowl…
pithead-developer commentedon Nov 13, 2026
Merged in #4056.
Backport the on-demand Tor client and the hardened update channel to …