25 · Security, integrity and privacy
The fund holds the owner's capital, a broker credential, a body of original research and a record that must be trustworthy years from now. Its adversaries are, in order of likelihood: its own bugs, a compromised dependency, text written to manipulate a model, an attacker after the broker credential, and the owner on a bad day.
25.1 The threat table
| Threat | Control |
|---|---|
| A seat is manipulated by text it reads | world-readers have no write credential and no tools; outputs are schema-validated, contested by a bear twin, and pass the kernel; injection canaries run continuously (R-MODEL-100…102) |
| A seat's inputs are tampered with | manifests are assembled by code, hashed, and verified at the kernel; a verdict names the manifest hash it judged |
| The broker credential is stolen | held only by the gateway, scoped, no withdrawal rights, rotated, use logged as events; venue-side IP allowlisting where available |
| An order is placed twice | deterministic client order ids, write-ahead intents, idempotent adapter calls, gateway singleton lease (R-ARCH-041) |
| The Record is altered | append-only, hash-chained, signed checkpoints anchored to a second provider with object lock |
| A dependency is compromised | pinned versions with hashes, a lockfile in the Record, no post-install scripts, a signed build, an allowlist for outbound network |
| A model provider changes behaviour silently | model version pinned and recorded, champion/challenger, eval suites, the cutoff ledger, a second provider per tier |
| Licensed or personal data leaves the fund | outbound filter on every manifest, redistribution_to_llm enforced, names pseudonymised, T5 local models for restricted classes |
| The owner is coerced or impersonated | signing keys on hardware, a second factor for mandate changes, the notification of every signed decision to a channel the owner controls, limits that no single signature can lift |
| The owner acts against the system on a bad day | kernel HARD limits cannot be lifted inside a session; a loosened limit takes effect only after a cooling period and is reported (§14) |
25.2 The Adversary
- R-SEC-001 (MUST) A standing seat, isolated from the firm, whose only job is to find ways the fund's own record could be wrong: leakage between variants, look-ahead in a dataset, a screen that encodes an outcome, a seat quoting a number it should not have, a limit that can be circumvented, a metric that can be gamed. It reports monthly, directly to the owner, and its findings are action items with owners and dates.
- R-SEC-002 (MUST) The Adversary's inputs are the Record and the code; it has no ability to change either. Its findings are scored on how many turned out to be real, so it cannot survive on volume.
25.3 Integrity of the decision path
- R-SEC-010 (MUST) Every artefact is signed by the identity that produced it — seat key, service key or owner key — and a signature that does not verify makes the artefact inadmissible to the next stage.
- R-SEC-011 (MUST) The kernel evaluates only frozen, hashed inputs, and its verdict records them. A verdict cannot be re-used against different inputs, and expires (§12.4).
- R-SEC-012 (MUST) What the owner signs is what is executed (R-UI-030), and the gateway verifies the owner's signature over the exact order payload before placing anything.
- R-SEC-013 (MUST) There is no administrative path that writes an artefact, moves a position, or lifts a limit without an event in the Record. Direct database access for a human is an incident by definition, detectable by the hash chain, and is what the quarterly attestation attests to.
25.4 Privacy and restricted data
- R-SEC-040 (MUST) Data classes are declared: public, licensed, restricted (personal data and owner network claims), and secret (credentials). Each class has a permitted destination list, and the manifest assembler enforces it.
- R-SEC-041 (MUST) Personal names never reach a third-party model provider: owner claims are pseudonymised at intake, the mapping is in a restricted partition readable by no seat, and any seat work that genuinely requires the restricted content runs on the local T5 roster.
- R-SEC-042 (MUST) The owner can export everything the fund holds about a person, and can delete it, with the deletion recorded as a compensating event that preserves the decision history without the personal content.
- R-SEC-043 (MUST) Licensed content is stored with its licence, is never redistributed, and is excluded from any outbound call whose destination is not covered by a written answer.
25.5 Tools and isolation classes
- R-SEC-050 (MUST) Three classes, with fixed tool sets: world-readers (fetch from an allowlist, read raw blobs, no Record write, no code execution), Record-writers (Record API scoped to their artefact type, no network egress at all), and the gateway (broker API only, no model access, no general network). No seat is in two classes, and no class is configurable at runtime.
- R-SEC-051 (MUST) The Lab's code runner executes generated analysis code in a sandbox with no credentials, no network, a CPU and memory cap, and a read-only mount of the research data — and its output is data, never an action.
- R-SEC-052 (MUST) The monthly isolation canary (R-VAR-013) covers classes as well as variants: a token in a world-reader's context must never appear in a Record-writer's artefact.
25.6 Operating discipline
- R-SEC-060 (MUST) Dependencies are pinned by hash, reviewed on update, and scanned; the update cadence is a mandate row and an unpatched critical vulnerability past its window is a tripwire.
- R-SEC-061 (MUST) Backups are encrypted, object-locked, at a second provider, and restore-tested quarterly (R-ARCH-073).
- R-SEC-062 (MUST) Access to the host is from the owner's devices only, with hardware-backed authentication and no shared accounts.
- R-SEC-063 (MUST) An incident has a written runbook: halt, preserve, assess, report, remediate, and a post-incident record with what would have caught it earlier. Every incident produces either a new test or a written reason why none is possible.