We Built a Zero-Trust Access Broker Inside Our Own Stack — And Kept the Family Plane Out of It
Most teams bolt zero-trust security onto their stack from the outside. They rent a cloud proxy for private apps, a second vendor for DNS egress filtering, a third for data-loss prevention, and a fourth for tamper-evident audit logs — and then spend months wiring identity headers across four dashboards that never quite agree on who a caller is.
We took the opposite route. Every primitive a Zscaler-shaped security layer needs was already sitting inside AitherOS as an independent brick: cryptographic identity, role-based access control, signed policy bundles, device posture attestation, allowlist egress rules, content inspection, and hash-chained audit trails. So we wired them into one inline Access Broker across the stack — and drew a hard architectural wall between work traffic and family life.
What the Access Broker actually checks
Every protected request passes through one decision engine backed by a single policy file (access_broker.yaml) that can be signed and verified before load. There is no default mode: a policy file that does not explicitly declare shadow or enforce refuses to load, so a misconfiguration never silently turns security off.
For each call, the broker evaluates five rungs in order:
- Authenticated identity — who is calling, derived strictly from verified credentials or proven node tokens, never from request body claims or unverified dev headers.
- Role grants — whether that caller's role holds the exact permission required for the target app (
app:strata:use,app:nexus:use, and so on). An app with no declared permission is refused by the loader. - Device posture — whether an enrolled device satisfies freshness and attestation requirements.
- Content inspection (DLP) — for apps marked
inspect: true, the full payload (up to the configured byte cap, never sampled) goes through the Inspector with an explicitinternalvsexternalboundary. Confidential data going out is blocked; going to an internal store is flagged and recorded. Oversized bodies are refused rather than silently truncated. - Hash-chained audit and live telemetry — every decision writes a tamper-evident, hash-chained JSONL entry plus anchor file scoped by tenant, containing zero request bodies, tokens, or secrets, and emits an
access.decisionevent onto the platform event bus.
Four enforcement surfaces, one policy
Rather than building a monolithic network chokepoint, we wired the same broker into four real seams across AitherOS:
| Surface | What it guards | Behavior in shadow vs enforce |
|---|---|---|
| Mesh reverse proxy | Private app traffic (/proxy/<app>/...) | Evaluates identity, RBAC, and full-body DLP; records every decision without blocking in shadow |
| AitherNet service access | Service-to-service access checks + credential chain verification | Verifies signed credential passports in-process; refuses unverified passports and blocks default-allow for broker-managed apps in enforce |
| AitherStrata DLP | Storage writes before bytes land | Decodes UTF-8 text up to the policy byte cap, skips binary blobs cleanly, marks internal storage as INTERNAL, and rejects writes on Inspector block/redaction verdicts |
| Hearth workspace DNS | DNS queries from enrolled workspace devices | Evaluates per-device allowlist/blocklist egress rules and consults the Access Broker (surface: hearth-dns) |
The core broker and its surfaces are backed by over 170 targeted unit and integration tests across the policy loader, signed bundles, mesh proxy, AitherNet, Strata DLP, and Hearth DNS isolation.
On our live mesh gateway, the broker is already running in shadow mode. A verified probe through the mesh proxy returned HTTP 200, appended a 480-byte hash-chained access.decision record (plus an 88-byte anchor) to the tenant's audit stream with zero sensitive payload keys, and registered its live event emitter on the bus.
Honest boundary: what is live and what is intentionally held
We do not claim "enforce" while still in shadow. Two honest caveats matter:
- Shadow first, enforce after proof. The policy stays in
mode: shadowfor a full week of real traffic so we can inspect every would-be refusal before flipping any app toenforce. Flipping a zero-trust gate blind is how teams take down their own platform. - No browser HTTPS MITM in v1. Outbound web egress on workspace devices is enforced via DNS allow/block rules, internal proxy inspection, and storage/bridge DLP — not by installing a corporate MITM root certificate to decrypt personal browser sessions.
The hard privacy wall: household devices never touch the broker
AitherOS runs both work infrastructure and Hearth — our family and kids' home plane. The easiest architectural mistake in the world is letting enterprise security creep into a household network because both share a DNS server or a device table.
We built the opposite invariant and pinned it in tests:
- Every enrolled device persists an explicit
plane(householdorworkspace), and legacy rows default safely tohousehold. - Workspace DNS policy endpoints reject household devices with HTTP 404 — a workspace administrator cannot attach an enterprise egress policy to a family phone or a child's tablet.
- Household DNS queries never invoke the Access Broker, never write to platform audit logs, and never emit onto Flux or Relay.
Work devices get zero-trust enforcement and audit trails. Family devices get local household safety controls and privacy. The two paths branch at the device record and never share a log sink.
Three planes, two gates: Relay, Aither Spaces, and Tagalong Town
Once you have two clean primitives — Access Broker for workspace/platform zero-trust and Doors (offline Ed25519 humanity and invite attestations) for public and community entry — plus the Household air-gap, the rest of the AitherOS world slots in cleanly without forcing everything through one policy:
| Surface | Plane | Front door (Doors) | Access Broker | Hard boundary |
|---|---|---|---|---|
| Aither Relay | Workspace + Platform + isolated family workspaces | External and anonymous agents knock via humanity attestation; private boards use invite + humanity ladders | Workspace channels + outbound DLP (boundary: external) on bridges (Discord and InfoNet) so workspace secrets cannot leak out | Family Relay workspaces stay completely outside platform broker audit and event buses; children get no Relay seat |
| Aither Spaces | Public/Anon, Collective/Workspace, and Family (three separate planes) | Public and anonymous Spaces use humanity checks plus browser-verified Ed25519 envelopes — no corporate posture or DLP | Collective and workspace Spaces use broker grants, workspace device posture, and Strata DLP on shared files | Family and child Spaces stay inside the household air-gap; local-origin Spaces trigger zero outbound fetches; companions stay tools with zero write principal |
| Tagalong Town | Platform living world (aithernet://tagalong) | Human visitors and external agents knock through Doors for mailboxes and guestbooks | Native AitherNet consumer with an egress rule locked to the local inference pool only (enforcing "no cloud models" at the broker layer) | Resident twins run under a least-privilege world role — never wildcard platform access — and town chronicle capture inherits Strata DLP |
That split is the whole design. Corporate zero-trust belongs on workspace apps, bridges, storage writes, and work devices. Cryptographic humanity doors belong on public Spaces, community channels, and town mailboxes. And family life stays off the enterprise audit bus altogether.
Next up: rolling the newly merged AitherNet, Strata DLP, and Hearth workspace DNS images onto the fleet, wiring outbound DLP across the Discord and InfoNet Relay bridges, and reviewing a week of clean shadow records before flipping our first app to enforce.
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.