Demo
Four demonstrations of the ReproBox verification tools. Each one starts in a valid state: edit the data to see the result of the tool.
Chain verification
The verification below is recomputed on the server after each change.
Prompt
Explain Docker in two sentences.
- content_hash
- link to the previous entry
- ECDSA P-256 signature
- expected public key
Prompt
Write an add(a, b) function in Python.
- content_hash
- link to the previous entry
- ECDSA P-256 signature
- expected public key
Prompt
Summarize the GDPR in one sentence.
- content_hash
- link to the previous entry
- ECDSA P-256 signature
- expected public key
This demonstration applies the ReproBox algorithm (chain_hash = sha256(prev_chain_hash + content_hash), signed with ECDSA P-256) to a simplified manifest, with demonstration keys.
Compliance check
The compliance check (verify_policy) applies rules defined by the organization to manifests. The three manifests below comply with the default policy. Edit the policy or a manifest value to see the verdict recomputed.
Available constraints: require, min, max, allowed, forbidden, require_not_empty. Severity: error (blocking) or warning.
Manifest values can be edited (YAML notation: true, false, null, number or text). The "Alter a manifest" button changes several fields of the third manifest.
The compliance check does not verify integrity: a manually edited manifest can pass. Chain verification must be run first.
Manifest comparison
The comparison (verify_diff) shows which execution categories differ between two manifests of the same prompt. Manifests A and B below are identical. Edit a value or the output of B to see the result recomputed.
| Field | A | B |
|---|---|---|
| 12fd25f77366fa6b3b4b768ec3050bf629380bac | ||
| 3465e763f83ac6b75ceb37c0ce7903b3aea6751f8e41285252b8a5b8b257bc40 | ||
| 2.7.1+cpu | ||
| AMD EPYC 7763 64-Core Processor | ||
| 1 | ||
| 0.8 | ||
| 42 | ||
| cpu | ||
| vault:transit/reprobox:v1 |
Prompt : Explain Docker in two sentences.
The values of B can be edited (YAML notation). The "Upgrade PyTorch" button changes the PyTorch version of B and its output. The table shows some of the compared fields; the others are identical in both manifests.
| OUTPUT | match |
| MODEL | match |
| DEPENDENCIES | match |
| BOX CODE | match |
| RUNTIME | match |
| HARDWARE | match |
| THREADING / REPRODUCIBILITY CONFIG | match |
| GENERATION PARAMETERS | match |
| REMOTE BACKEND | match |
| SIGNING KEY | match |
When several categories change at the same time, verify_diff reports all of them and names none as the cause: the tool observes correlation, not causation.
Generated code verification
Code verification (verify_code) extracts the code from a manifest, checks that it compiles, then runs it against assertions supplied by the auditor. The code below passes both checks. Edit the model output or the assertions to see the result recomputed.
The code is extracted from the first block delimited by ```; otherwise the whole output is used. The "Introduce a bug" button replaces the addition with a subtraction.
| Compilation | — |
| Execution and checks | — |
In this demonstration, the code runs in your browser with Pyodide (Python compiled to WebAssembly); nothing is sent to the server. With ReproBox, verify_code runs the code on the auditor's machine or, with --sandbox, in a container with no network, a read-only file system and limited resources.
Manifest contents
| Prompt and output | SHA-256 hashes, content in plain text or encrypted |
|---|---|
| Model | Identifier, revision, hashes of weights, tokenizer and configuration |
| Parameters | Temperature, top_p, seed, precision, device |
| Runtime | Python, PyTorch and transformers versions, platform |
| Hardware | CPU model, architecture, cores, threads, instruction sets, GPU, infrastructure owner |
| Code | box_sha256, a hash of the ReproBox modules |
| Chain | Index, hashes, signature, public key, key_id |
| Signing | Backend, key_id, algorithm, public key, signing date (signed_at) |
{
"manifest_version": "1.0",
"input_sha256": "61d0388a4e3f…",
"output_sha256": "7fa50bf4adb8…",
"content_encrypted": true,
"model_id": "HuggingFaceTB/SmolLM2-135M-Instruct",
"artifacts": {
"model_revision": "12fd25f77366…",
"model_sha256": "a60f37af749d…",
"tokenizer_sha256": "b8a0221bfbff…"
},
"box_sha256": "dd3e3e53b4a5…",
"generation": { "do_sample": true, "sampling_seed": 42, "device": "cpu" },
"reproducibility": { "enforce_reproducibility": true, "reproducibility_note": "…" },
"runtime": {
"python": "3.11.11",
"torch": "2.7.1+cpu",
"transformers": "4.52.4",
"platform": "Linux-6.8.0-x86_64-with-glibc2.36"
},
"hardware": {
"model_name": "AMD EPYC 7763 64-Core Processor",
"architecture": "x86_64",
"logical_cores": 8,
"affinity_cores": 8,
"omp_num_threads": "1",
"mkl_num_threads": "1",
"torch_num_threads": 1,
"torch_num_interop_threads": 1,
"relevant_flags": {
"sse4_1": true, "sse4_2": true, "avx": true, "avx2": true,
"fma": true, "avx512f": false, "avx512bw": false
},
"gpu": null,
"environment_control": "operator-owned"
},
"signing": {
"backend": "vault",
"key_id": "vault:transit/reprobox:v2",
"algorithm": "ECDSA-P256-SHA256",
"public_key": "MFkwEwYHKoZIzj0CAQYI…",
"signed_at": "2026-09-27T08:12:45.318204Z"
},
"chain": {
"index": 1,
"prev_chain_hash": "0f9273cb4ecd…",
"content_hash": "e1a4c5302e10…",
"chain_hash": "5cd473caa298…",
"signature": "MEUCIQDk3v8Rj0Zq…",
"public_key": "MFkwEwYHKoZIzj0CAQYI…",
"key_id": "vault:transit/reprobox:v2",
"algorithm": "ECDSA-P256-SHA256"
}
}
Signing keys
The signing backend, selected with SIGNER_BACKEND, determines where the private key is kept. The algorithm and the key identifier are recorded in every manifest.
| Backend | Private key | Configuration |
|---|---|---|
file |
File keys/signing_key.pem, encrypted with SIGNING_KEY_PASSPHRASE (default) |
SIGNING_KEY_PASSPHRASE |
vault |
HashiCorp Vault or OpenBao Transit engine; the key never leaves Vault | VAULT_ADDR, VAULT_TOKEN_FILE, VAULT_TRANSIT_KEY |
pkcs11 |
HSM or PKCS#11 token; non-extractable key | PKCS11_MODULE, PKCS11_TOKEN_LABEL, PKCS11_KEY_LABEL, PKCS11_PIN_FILE |
ECDSA P-256 by default
Algorithm of every new key, available in most KMS and HSMs. Public key and signature in DER format, verifiable with OpenSSL.
Ed25519 supported
An existing Ed25519 key keeps signing. SIGNING_ALGORITHM creates a new one with the file backend. The public key is the raw 32-byte key: OpenSSL 3 reads it once wrapped in a DER header.
Rotation
After a rotation, the next manifest stays linked to the previous one and records the new key. The chain is not interrupted.
Registry and revocation
The auditor keeps a registry of accepted keys. Manifests signed before a revocation remain valid, later ones are rejected.
The registry is applied by verify chain --trusted-keys and by the dashboard. Cloud provider KMS are not available as a signing backend at this time.
Limitations
Points to consider during evaluation.
- Reproducibility is not guaranteed in every case: sources of variation are reduced and measured.
- GPU reproducibility is only declared after it has been measured on the target hardware.
- In remote mode, model weights are not hashed; only the endpoint and the reported model are recorded.
- A valid signature does not prove the signer's identity: the public key must be obtained separately and checked with
--expect-pubkeyor a key registry (--trusted-keys). - A symbolic model revision (for example
main) can change; a release must reference an exact commit. - With the
filebackend, losing the signing key prevents signing under the same identity. Existing manifests remain verifiable. - The signing date (
signed_at) comes from the box's clock and is not timestamped by a third party. After a compromise, revocation must rely on the chain index (last_trusted_index). - The Docker image does not include a PKCS#11 module: the
pkcs11backend in a container requires addingpython-pkcs11and the vendor module.
Evaluate ReproBox in your environment
We can arrange a demonstration on your models and infrastructure.