> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Security and privacy

> What leaves your machine, what containment does and does not do, what redaction catches, and where keys and data live.

> [!WARNING]
>
> Draft: the founder words this page, the statement about providers and any subprocessor list before launch (H-32).

This page is a draft. Its facts come from the code and the plan; its wording is to be approved before launch.

## What the service receives

`proving privacy` prints exactly what the service receives. On the Hobby plan, in full:

```text theme={null}
What the service receives on the Hobby plan, in full:
  - your account, and the devices signed in to it: a name (the platform, such as "macOS arm64", unless login --name gives another), the platform and a public key
  - lap counts per run, with each lap's random id and the time it was graded (to the second), and the run's purpose (practice, regression, gate, exam, fidelity or drill)
  - agent version fingerprints
  - exams: when sealing, the seal manifest (the task's blinded reference, hashes, case count, and the exam's settings: attempt budget, level, laps per case, draw size, mode and feedback setting) with this device's signature over it, each case's salted hash, blinded tag and stratum label, and the agent's blinded reference; for an attempt, the agent version, that containment is enforced and the agent's tree clean, and a random key that makes a retry the same attempt, then, before any result is shown, the result's hash, lap counts (graded and void), the graded laps' random ids, why the attempt is void if it is, and its outcome against the exam's target: cleared, not cleared but near, or not cleared and far
  - with each run, a yes or no saying whether this version of the tool names the tasks that have exams
  - references blinded with a key that stays with you: the cases each run used (by their content, so a copy matches), the agent (for the one-agent limit), the twin build a fidelity run measures (for its lap limit), and, of each run's tasks, only those with an exam sealed on this machine (by the reference their seal registered)
No content: recordings, cases, trajectories and lap grades are never sent.
The key belongs to this project, so a reference is the same in every workspace the project signs in to. The service can compare blinded references with each other and with exam leaves, but cannot reverse them or correlate them with another project's, which uses another key.
Setting telemetry.hashes: off in the project file stops the fingerprints and blinded references; contamination checks then run on this machine only.
Other plans run more in the service; once you sign in, this command lists what yours receives.
Separately, at most once a day an installed proving asks the release host for the newest version number: a plain request with no account, device or usage data, never in CI or while a lap runs. Set PROVING_NO_UPDATE_CHECK=1 to turn it off.
```

Recordings, cases, trajectories and each lap's grade stay on your machine. An exam attempt sends its outcome against the exam's target (cleared, not cleared but near, or not cleared and far), as the list says: the service keeps it, and in reuse mode it is the only feedback an attempt gives. Plans that run more in the service list what they receive once you sign in to them.

The list above is generated from the tool's own `privacy` output, so this page and the tool say the same thing; a test fails when either changes without the other.

## Keys stay on your machine

* Model calls run on your own provider keys (RULE-7). A key is kept in this machine's keychain, or read from a variable you name, and goes only to the provider you chose.
* This machine's device key signs your runs' evidence. Its private half never leaves the machine; the service receives the public half at sign-in.
* `proving login` keeps the sign-in in the keychain and sends it only to the service that issued it, over https. Signed in, runs are metered with it (`PROVING_TOKEN`, when set, is used instead).
* `PROVING_KEYCHAIN=file` keeps secrets in files only you can read (mode 0600) instead of the keychain, for machines that have none. It is weaker than a keychain, and `proving doctor` says so. The files go under the configuration directory, or in the folder `PROVING_KEYCHAIN_DIR` names: a folder of yours that other users cannot change, nor any folder above it (the tool refuses one they can). Setting or changing it later leaves the secrets already stored in the old folder, and the tool does not look there again. Move them before the next command: the device key that signs your evidence and the redaction key are made by the tool, so a command that does not find them makes new ones, and your earlier evidence and redaction reports keep the old keys. To move them:
  1. Let every running command finish.
  2. Make the new folder private to you: `mkdir -m 700 <new folder>`.
  3. Move each folder with a hexadecimal name from the old folder into the new one: `mv <old folder>/<name> <new folder>/`. Leave other files where they are.
  4. Set `PROVING_KEYCHAIN_DIR` to the new folder, and run `proving doctor`.

## Containment, and its limits

During a lap the agent runs inside containment and its MCP servers are replaced by the twin, so nothing real happens (RULE-8).

* On macOS, `sandbox-exec` denies the agent network access beyond the twin and the loopback ports the lap gives it, and writes outside the lap's scratch folder.
* On Linux, bubblewrap does the same, where unprivileged user namespaces are allowed. Where they are not (many containers, some distributions), the level is **observed**, not enforced, and every result says so. `--require-enforced` refuses to run then.
* Containment confines the agent's process. It says nothing about what the agent writes, and it does not protect the real tools during **recording**, which is not contained: record on test accounts.

## Redaction, and its limits

Recordings can hold personal data and secrets. `proving redact` runs detectors over every recorded field, replaces what they find with consistent fakes (the same value always gets the same fake), and strips secrets. Detectors find what they know the shape of; they can miss personal data written freely in prose. Review the policy (`proving redact review`) before you rely on it, and record on test accounts where you can. Raw recordings never leave your machine (RULE-9).

## Providers

A grader call sends the parts of a lap its rubric names to the provider you chose, under that provider's terms. Pick a provider whose terms you accept for that data.

## Local data and backups

Everything lives in the data directory (`~/.local/share/proving`, or `PROVING_HOME`) and the configuration directory (`~/.config/proving`), outside your repository. Back up the data directory if you need your runs and the exam store's key: without that key a sealed exam cannot be read.

## The documentation site

This site sets no cookies, runs no analytics, and loads nothing from other hosts. Search runs in your browser over a file of this site.

## Reporting a vulnerability

Email [security@hex65.com](mailto:security@hex65.com). Do not open a public issue, discussion or pull request.

Tell us what you found, the version or commit, and the steps that reproduce it. If you can, say what an attacker could do with it.

We acknowledge a report within 3 business days and keep you told until it is resolved. We fix it in a patch release and, for the command-line tool, publish an advisory once the fixed release is out. We credit you if you want to be credited.

### Safe harbor

If you act in good faith under this policy, we will not take legal action against you or ask anyone else to. Good faith means: you test only against your own account and data, or the local tool on your own machine; you do not access, change or keep other people's data; you do not degrade the service for others; and you give us a reasonable time to fix the problem before you tell anyone else.

### In scope

This repository, the released binaries built from it, and the hosted service at hex65.com and its subdomains (app, api, docs).

### Out of scope

Denial of service by volume, social engineering, physical attacks, reports from automated scanners without a demonstrated impact, and missing headers on pages that hold no data.

### Supported versions

Only the latest release receives security fixes.

The same text is in `SECURITY.md` in the repository.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.