Attest · Concept
Verification
Verification is the check Attest runs on one photo or video, that returns a status, a risk score, the factors behind the score, the chain of custody and the device that captured it.
When to use it
Verify an asset when it arrives, before you act on it, and again whenever you need a current answer, for example after a device is revoked. Verify by attestation_id for an asset Attest already holds, or send the image bytes, or a video with its manifest.
How it works
- Find the bundle. Extract it from the JPEG's XMP, or take the video's sidecar manifest. With none, the result has
no_manifest. - Recompute the hash. Hash the image bytes into
sensor_hash, or rebuild the video's chunk chain. - Check the signature and certificate. Verify the signature against
device_cert, and the certificate against the root CA. - Check the device. Is it enrolled, and has it been revoked?
- Score. Add the points for each factor, cap at 100, and derive the status (see risk scoring).
- Assetattestation_id, image or video
- Checkshash, signature, certificate, device
- Resultstatus + risk_score
Key fields
statusstringverified(score 0–30),partial(31–80, for review) orfailed(81–100, for investigation).risk_scoreinteger- The sum of the factors' points, capped at 100.
risk_factorsobject[]- Each factor that applied, with its
pointsand adescription. chainobject[]- The chain of custody: capture, edits and escalations, oldest first.
device_infoobject- The device:
enrolled,cert_validandcert_expires. sensor_hashstring | null- The signed hash: the image's SHA-256, or the video's chain root. Hash a file you hold and compare, to prove it's this asset.
nullwithout a bundle. liveness_checkedboolean- Whether live-session timing checks ran (videos captured in a live session).
synthetic_media_scoreinteger | null- A third-party detector's score, only after screening. Never part of
risk_score.
Verify an asset
This seeded video had one chunk changed after capture. The response, trimmed:
{
"id": "att_00000000000000000000000000000005",
"object": "verification_result",
"claim_id": "CLM-SANDBOX-VIDEO",
"status": "partial",
"risk_score": 50,
"risk_factors": [
{ "factor": "frame_hash_mismatch", "points": 50, "description": "Recomputed chunk hash chain does not match the manifest (first mismatch at chunk 1)" }
],
"capture_type": "video",
"liveness_checked": false,
"synthetic_media_score": null
}
Two separate signals
risk_score answers whether Provenance can prove the asset is authentic. synthetic_media_score answers whether a third-party detector thinks it looks AI-generated. They are never merged: a proven asset makes the detector's view moot, and the detector only matters for an asset that can't be proven.