Enterprise Mirror · docs

Threat model and isolation limits

Threats, controls, tests, residual risk and race windows.

Draft for review · built from the evidence in mirror/examples · Lab evidence from a synthetic world with deterministic reference agents (no model inference). Not a production result, not a certification of any real system, not a statement about any model.

Status: draft, v0.1.0. Scope: the lab harness in mirror/, the agents under test and the evidence it produces.

Assets

Threats and controls

IDThreatControl in the labTested byResidual risk
T1Agent reads the oracle or holdout answersSanitised task; oracle files outside the task; HTTP client holds no harness referenceAT12Oracles are in the same repo; a process with file access could read them (MG-06)
T2Agent calls an action outside its grant or for another tenantScoped tokens, PDP forbids, tenant checksAT4, scenario 011PDP is a stand-in for Cedar (MG-17)
T3Agent acts on injected instructions in documents, DOM, email or tool outputUntrusted content stays data; injection scenarios per channel; canaryAT6Only the governed script is tested; a model agent may behave differently
T4Agent claims success that did not happenOracle reconciles state and journal; G8AT8Free-text narrative is not checked
T5Retry after an uncertain commit doubles an external effectIdempotency keys, replay store, G9AT7Compensation for partial failure not demonstrated (MG-08)
T6Kill does not stop pending effectsKill revokes tokens and purges the outbox; G6AT9A call already inside Gateway.invoke completes
T7Revoked or stale credential still worksValidation on every call; G10AT4, scenarios 018-020Token lifetime is virtual time only
T8Runaway cost or loopEnvelope bounds, denial limit, pausescenario 009Overshoot by one call's real cost (MG-18)
T9Evidence altered after the runSHA-256 manifest with an exact file inventory, hash-chained journal, verify; optional Ed25519 signature with throwaway lab keys (signed certificate profile)AT10, test_sig_001 to 013Unsigned by default: then the check is self-consistency only, and an attacker who rewrites both packet and manifest is not detected (MG-16). Signing uses throwaway keys; no real key custody or trusted time
T10Agent reaches the internet or host networkNo sockets except loopback; web.fetch limited to .test fixtures; subprocess transport runs the agent in a child process with a URL and bearer onlyAT12, XR-T01Default in-process transport is cooperative; the subprocess transport is a process boundary, not an OS sandbox (MG-12)
T11Test author approves their own agentSegregation of duties in the registry; registered principals with permissions decide, not caller strings (AI-29)AT11, XR testsPrincipals are a synthetic directory in the registry file, not an identity provider
T12Harness bug passes an unsafe runNaive arms must fail; invalid-harness outcome; deterministic re-runscomparisonOne harness, no independent reimplementation

Race windows and timing limits

Out of scope for the lab

Real browsers, real email, real vendors, model inference, production identity providers, production Cedar, network interception, any live target. The brief forbids them without explicit authorisation, and none were used.