Skip to content

Trust Tiers

The base design is full-trust (see Trust & Security). These tiers describe what gets added if the pool ever admits participants outside the close cooperative — and what each tier costs. Tiers are per-pool configuration, not per-job (except where noted).

full-trust (default)

The cooperative model. Bearer tokens for clients, no image scanning, node daemon as pool user with docker group, basic container isolation. Threat model: accidents and fat-fingered agents, not malice. Cheapest to operate; fastest onboarding.

some-trust

Known-but-not-intimate participants (broader community, adjacent orgs). Threat model adds: abusive clients, careless images, curious nodes. Adds:

Client registration. Host-approved tokens (a DM is fine at this scale), one identity per token, revocation, and per-client quotas/rate limits — this is where quotas earn their keep. Usage accounting (already in the base design) shows whether a token is shared around. mTLS client certs are the upgrade path if bearer tokens get passed around too freely.

Image scanning. Trivy (known CVEs) + ClamAV (known malware) on image layers, cached by layer digest — only new/changed layers are ever scanned, so recipe iterations cost nearly nothing. The scan happens on the node itself at pull time, before first execution: the scan protects the donor's hardware from the client's image, and in some-trust the donors are the trusted party, so the node is the natural place. Verdicts are reported to the controller and cached pool-wide — each unique layer is scanned exactly once, by whoever pulls it first. (See Data Plane.) Honest limit: scanning catches known-bad and known-vulnerable; it does not stop custom malware. Scanning is a tripwire, not a wall — the wall is runtime containment below.

Container hardening profile (explicit, enforced by the daemon):

  • No --privileged, no host PID/network/mount namespaces
  • Own PID namespace per job (jobs can't see, let alone fork/ptrace, donor processes)
  • Fixed mounts only: /out, /scratch, /models/<repo> — the job spec cannot request mounts; the daemon doesn't honor them
  • Default seccomp profile, dropped Linux capabilities
  • Each job in its own cgroup; on completion/timeout/cancel the daemon kills the cgroup — no lingering processes, no strays
  • Default-deny egress for job containers (allowlist: registry + HF only). Most exfiltration needs the network; this kills the class cheaply.

Node egress lockdown (default-deny on the node itself, not just its containers). The daemon (or pool-minimize-os) applies an nftables ruleset, re-applies it on boot, and reports its hash in every heartbeat so the controller can verify compliance:

  • Allow: loopback, the mesh interface (all — controller, peers), fabric/LAN interfaces (all), established/related return traffic, NTP to the controller.
  • The physical uplink allows only what the mesh needs: WireGuard UDP and the control-plane's TCP/443. With Headscale (self-hosted coordinator at a fixed IP) that is one address and the node needs no DNS at all; with Tailscale SaaS the control/DERP hostnames require DNS, so port 53 stays the single deliberate exception.
  • Registry and Hugging Face pulls never go direct: the node fetches through the site egress proxy (HTTP CONNECT, domain-allowlisted to registries + HF), which does the DNS. The node itself needs no resolver for pool work.
  • Lateral movement inside the mesh is bounded by tailnet ACLs: node tags may reach the controller API and peer layer-transfer ports, nothing else.

Applied as the final onboarding step (after the installer has had the internet access it needs for apt/docker), so pool-certify and the canary bench validate the locked-down node. For updates, the controller puts the node in maintenance mode — lock lifted, audited, re-applied after. This is the backstop that makes donor-chosen scanners safe: even a scanner that misses a miner leaves it with no route home — no C2, no payload fetch, no exfiltration.

Daemon integrity. Published checksums for the daemon binary; the donor can verify what runs on their machine. The installer shows exactly which paths the daemon may touch.

Job classification. trusted-nodes-only flag: jobs with proprietary kernels constrain placement to vetted nodes. The scheduler already supports node-class constraints; this is one more.

Result sanity. The NVFP4 fingerprint gives per-node measured ceilings — a result claiming 3× a node's ceiling is flagged automatically. High-value results get spot-check replication on a second node.

Cost of some-trust: scanning infra, slower onboarding (approval + scanning gate), egress allowlist maintenance, some scheduling complexity.

zero-trust

Mutually untrusted, possibly adversarial parties. Adds: hardware attestation of node software, replicated execution with comparison for all results (2–3× compute cost), economic stake/slashing.

Honest assessment: true zero-trust verifiable compute on volunteer home hardware is not achievable with today's tech on this class of machine — hardware attestation on consumer ARM hardware is weak, and replicated execution at 2–3× cost defeats the throughput economics. The pragmatic ceiling is some-trust plus spot-check replication. Anyone promising more is selling something (usually a token).

Recommendation

Stay in full-trust as long as the participant set allows it. Design some-trust as the fallback (this page), so the controls exist before they're needed. Don't chase zero-trust — it contradicts the cooperative economics.