How it works
Five parts make every test
A target describes itself in a profile. The lab reads that profile, stands up the copy it is to test, drives it, attacks it, checks what it says about itself, and writes down everything that happened in a log nobody can quietly edit afterwards.
The five parts at a glance
- Part 1
The stage
The copy under test, standing in its own space, and taken down at the end.
- Part 2
Drivers
How the lab touches the target: a browser, an HTTP client, mail capture, a payment sandbox, a clock and more.
- Part 3
Actors
Who uses the target: scripts, attackers, AI agents, personas, residents and the AI community.
- Part 4
Oracles
Code that looks at the target or the evidence and decides what is true.
- Part 5
Evidence
One hash-chained record of everything, graded findings, a report in prose, and a gate.
1. The stage
The stage is the copy the run is allowed to touch: one the lab builds itself, or a staging site whose owner has proved it is theirs. That it is not the live site rests on the owner's word; the lab cannot check it. Where the lab builds the copy itself, it exports the target's source into the run's own directory, builds it there, gives it its own databases and its own block of twenty loopback ports, starts it, waits for it to be healthy, and takes it all down again at the end, whatever happened in between. It is torn down on success, on error, on a crash inside a check, and when an operator interrupts the run. What the lab will and will not point itself at.
Stages come in these kinds today.
- Loopback: the lab starts the target's processes itself.
- Script: the target's own up and down commands.
- External: an already running copy the lab did not start, at a loopback address or a customer's proven staging site.
- Virtual machine: a throwaway Linux container. This one is a working component that is not yet part of the standard run.
The lab never works from a brand's own tree, and at the end of every run it checks whether anything outside the stage changed, and says plainly when it could not prove that nothing did.
2. Drivers
Drivers are how the lab touches the target. Every driver checks the run's guard before it opens a connection, and writes what it did into the evidence log.
- An HTTP client, and a real headless Chromium browser.
- A mail capture server that accepts mail only for test domains, so a target that would have mailed a real person fails loudly.
- A payment driver that only ever works in test mode, and stops the run if any answer says otherwise.
- A clock that moves the target's idea of time.
- A fixture server that answers from recorded responses and, in strict mode, reports every call it has no recording for.
- A shell driver that refuses sudo and starts commands with a clean environment.
- Loopback stand-ins for DNS and SMS that answer only reserved test names and fictional numbers.
3. Actors
Actors do things to the target.
- Scripts walk journeys written as simple files, and wrap the target's own test suites.
- Adversaries try webhook forgery, login abuse, injection, enumeration, header spoofing, oversized bodies and double submission.
- Agents try a task the way a person would, through the web pages, and the way an agent would, as a declared agent that signs every request, so the two can be compared.
- Personas give simulated people consistent, obviously fake identities and temperaments, and the explorer mutates one journey into dozens of variants to see where it breaks.
- Residents walk the same journeys on two releases and say whether the new one is worse for customers.
- The AI community is a population of simulated members who use the product and talk about it in their own forum. More on the community.
4. Oracles
Oracles decide what is true. Each oracle is code that looks at the target or at the evidence and produces findings. Code decides every tested verdict; what a model says about a page is graded observed.
- The edge oracle checks the deployed shape: security headers, unknown paths, files that must never be served, and the content security policy.
- The claims oracle reads every page, script and WebAssembly module for promises the brand must never make.
- The isolation oracle tries every role against every other role's records.
- The canary oracle plants fake secrets and sweeps for them afterwards.
- The untouched oracle proves nothing outside the stage changed.
- Others check invariants, silent jobs, the accuracy of classifiers, and comparisons between two arms.
5. Evidence
Evidence is what is left. Every finished run directory holds the event log, the findings, a manifest, the stored artifacts, a report written in prose, a one-line summary and a machine-readable results file. A gate turns the findings into one decision, in report mode or block mode. Runs can be sent to the lab server, which verifies the evidence chain again before storing anything.
How the evidence and the gate work
A run, start to finish
- The lab checks that no provider the target names belongs to the target's own brand. If one does, the run is refused.
- It allocates a slot of ports and a run directory, and takes a lock so the same organisation's target never runs twice at once.
- The untouched oracle takes its before-picture of everything the target must never touch.
- The stage exports, builds and starts the target, and waits for it to be healthy.
- Actors drive and attack it through the drivers, and every action becomes an event.
- Oracles judge the target and the evidence, and write findings.
- The stage comes down, and the untouched oracle compares its after-picture with the before.
- The gate decides, and the lab writes the summary, the report and the results file.
The exit code means the same thing everywhere: 0 when nothing blocked, 1 when a blocking check failed, 2 when a guard or the independence rule refused the run, 3 when the lab itself broke, and 4 when nothing blocking failed but the run, or a check that stands in the way, decided nothing. In a gate set to report, a check's own undecided answer beside at least one real result leaves the exit code at 0; the summary still says inconclusive.
Adding a target
A target plugs in with a profile, not code. The profile says what surfaces the target has, how to build and start its stage, its journeys, its invariants, its claims, which providers it uses, and its never-touch list. Secrets are never written into a profile: it names a file, and the lab refuses anything that looks like a pasted value. Code is written only where a target truly needs it; the lab's engines, drivers and oracles are the same for everyone.