Repository navigation
security: proven holders, per-site origins, sandboxed renders, signed installer extras (v0.3.65) - #362
Merged
Conversation
… installer extras (v0.3.65) Hosting: - a holder fills a replica slot only after passing a storage challenge (or a trusted receipt); announcements alone no longer stop a site being copied - giving up a copy needs three others with standing: three passes over six hours, so throwaway identities cannot trim honest holders quickly - a challenge is void when the challenged chunk was read from this node meanwhile, which catches a relay through the challenger; the last honest holder cannot be talked into dropping - the publisher waits for copies it has challenged itself Gateway: - hosted pages under /s/ are sandboxed into an opaque origin by default, and [gateway] site_host_suffix serves each site on its own host, where no other gateway route is reachable - storage API streams ranged reads block by block; delete keeps shards another object still names; shard indexes are bound-checked Workloads: - Blender: a constant script empties outside paths, removes linked data and File Output nodes and strips host stamps; on Linux the render runs inside bubblewrap when it works ([render] sandbox = auto | off | require) - apps: guarded egress network on root workers, a disk ceiling with a watchdog, state kept when an app is stopped for size - text jobs: base-model allowlist, validated job and hyperparameters, adapter cache filed under every file, free-space floor Installer and release: - bun is a pinned, checksummed download; mise is no longer installed - plugin installers and the TUI ship as signed release archives, verified by install.sh and by the CLI; desktop artifacts are signed - latest refuses to downgrade an installed binary; no sudo symlink into a user-writable directory - plugin install <url> needs --unverified Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ThreatCrush Security Scan14 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
With it on, hosting_market_e2e over-replicates: challenges are voided while a small site is still being copied, so every host takes a copy. Default keeps the 0.3.64 fill rule; drops still need live proofs from three others. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Second hardening pass: the items left open after #361. Bumps to v0.3.65.
What changes
Hosting
Gateway
/s/<site>/are sandboxed into an opaque origin by default ([gateway] sandbox_shared_sites, default true).[gateway] site_host_suffixserves each site on<site_id>.<suffix>, where no other gateway route is reachable. Needs wildcard DNS and TLS; seedocs/hosting.md.Workloads
[render] sandbox = "auto" | "off" | "require").[apps] egress_guard,require_egress_guard,max_disk_mb).[text] base_models), validated job and hyperparameters, adapter cache filed under every file, free-space floor.Installer and release
c0mpute-plugins.tar.gz,c0mpute-tui.tar.gz), verified byinstall.shand by the CLI. Desktop artifacts are signed by a newdesktop-signjob.latestrefuses to downgrade an installed binary. No sudo symlink into a user-writable directory.c0mpute plugin install <url>needs--unverified.Behaviour to know about
/s/path lose localStorage, cookies and service workers. Sites that need them use a custom domain or a per-site host.HuggingFaceTB/SmolLM2-135M-InstructandQwen/Qwen2.5-0.5B-Instructunless the operator extends[text] base_models.[apps] egress_guard = false.Not closed
relay::refuses(a holder refusing fetches from a peer that claims the site whole) is built and tested but not wired into chunk serving.Tests
cargo check --workspace --tests: clean.apps/web:tsc --noEmitclean;bun test178 pass, 1 fail (music.test.ts, same on master).apps/tui: 61 pass.🤖 Generated with Claude Code