Security
The formal security model: the one authorization choke-point, cryptographic grants, the safe-mode taxonomy, blast-radius governance, and the no-egress posture.
The formal reference for how Assay stays safe: the authorization choke-point, the safe-mode taxonomy, blast-radius governance, and how intrusive testing is isolated. The safety model covers the same ground for an operator; Administration covers it for the person managing grants.
The authorization choke-point
There is exactly one path from “something wants to run a technique against a target” to “a technique executes,” and every caller (the planner, the API, an external agent) funnels through it. No adapter is reachable any other way. The order is fixed: kill switch, then a valid in-scope in-window grant, then the blast-radius admission check, then dispatch, with the clearance re-checked immediately before the technique runs, since the kill switch may have fired while a request waited for a slot.
Default-deny, enforced in one place, never in a EULA. The absence of authorization is a refusal plus an audit entry, not a warning. This is never bypassable and never part of a paid tier.
The grant, cryptographically
A grant is signed with Ed25519, the private half held in OpenBao Transit and never leaving the vault. Verifying a grant needs only the public key pinned on it, so a service without vault access can still enforce every authorization it already holds; it just cannot issue new ones. Issue, amend, and revoke are all hash-chain audited.
Safe-mode taxonomy
passive: observation only; no state change. On by default.active-safe: non-destructive input that proves by evidence, not effect. On within an allowing grant.active-intrusive: state-changing or availability-impacting. Off, interface-only, not shipped in the standard build.
A technique’s class is checked at load (a manifest cannot self-declare above active-safe without the restricted gate) and again at runtime against the grant on every dispatch, so a misdeclaration is refused rather than trusted.
Blast radius, two-person, and isolation
Concurrency caps, a replica-shared rate ceiling, an allowed-window scheduler, a target-health circuit breaker, and the kill switch are always on and never configurable away. An intrusive grant additionally requires a second distinct approver, with MFA on both parties and the approval bound to the exact grant, plus a present and licensed intrusive component. There is no single-admin path. Offensive orchestration lives only in the restricted, commercial component and is stripped from every public artifact.
Posture: self-hosted, no egress
Assay makes no runtime call to any vendor endpoint for telemetry, analytics, metering, or update reporting, and never egresses customer data. Outbound traffic goes only to what you operate (your database, cache, secrets store, identity provider, the optional planner model, and optional suite services you point at your own hosts) and to engagement targets inside a signed authorization, which is the product’s function, not phone-home. The one narrow exception is optional license activation, which carries license state only and fails open. A full threat model and the trust posture are documented with the project.