Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,50 @@ else.

## Unreleased

### Audit of 3 October 2026: text fixes

Text only, no corpus change, no verdict moves: every sentence below either
states what the vectors already pin or records a limit.

- **§6.2 `anchor`**: the block time MUST come from the chain's own record for
`anchor_id` (contract storage or the batch's event), never from the proof's
`tx`/`block`, which are unsigned locators; the contract address comes from
the verifier's trust list. §6.2 `timestamp` rule 6 no longer says a block
time is "chosen by nobody": the sequencer or validators set it within the
chain's bounds, and on EBSI it is read through a gateway.
- **§7 table**: the green `strongbox` row asked for "RKP fresh", which no
rule defined and no verifier checked; removed, with a sentence saying rule 1
is the only freshness rule.
- **§6 structure listing**: `attestation_status` was missing.
- **§6.1 field table**: `policy.pseudonymous` was "verified against
consistency", which nothing defined; it is a declaration nothing verifies,
with *flags disagree* as the only check.
- **§6.2 `timestamp`, `threat-model.md` §5.4**: no TSA revocation check is
required, so the threat model no longer calls it "the only remedy";
online TSA revocation is open.
- **§8 *What amber does not say*, §6.2 `attestation_status`**: stripping an
attachment can turn red into amber (a removed `revoked` snapshot reads
*chain revocation not checked*); an online verifier SHOULD read the chain's
status list itself while the chain is current, as it asks the log.
- **§6.2 `integrity`, `threat-model.md` §5.2**: accepted limit — a Play
Integrity verdict is bound to the capture (`nonce = core_hash`, attested
requester), not to the device holding the key; the key holder's hardware
rests on the chain's `rootOfTrust`.
- **§6.2, `threat-model.md` §5.5**: the attestation chain links captures of
one device across key rotations (shared RKP intermediate,
`attestationApplicationId`); omitting it proves `none` on Android. Accepted,
open.
- **§6.2 `attestation_status` `sig`**: recorded as a known inconsistency — the
only registry-signed message without a `"vcap/1.0/…"` separator. Fixed at
the next breaking change to the attachments.
- **`c2pa-interop-1.0.md` §1 table**: device state no longer says "`failed`
caps amber" (anything but a valid `playIntegrity` `hardware` caps), and
verification without a server is "up to amber".
- **README invariant, `threat-model.md` §3, §5.6**: "the verification path
never contains our servers" is restated as a floor — every verdict reached
offline — with the services above it named as sources; an outage can lower
green to amber, never break a verdict.

### C2PA video vectors rebuilt over a presentation-bound core — corpus 5.0.0 → **6.0.0**

**Breaking** for the corpus, not the format: no spec text changes. A major
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ tools/ reference tooling (Node 22, TypeScript): JCS, trailer, canonical byte

These hold for every line of code in every repository:

- **The verification path never contains one of our servers.** If a component
becomes necessary to produce a verdict, that is a design error.
- **No server of ours is needed to produce a verdict.** The floor is the file
alone: signature, attestation chain, media hash, segment chain and every
attachment the proof carries are checked offline, and a verdict is always
reached. Above the floor, answers only a service can give — the log's signed
key status, a chain's current revocation list, an anchor's on-chain record —
raise what a verdict can say (green needs the log's status) and are named as
their source in it; their absence lowers a verdict, never breaks it. A
component that becomes necessary to produce *a* verdict is a design error.
- **Server registration is always optional**: capturing and verifying work with
no account and no network.
- **A watermark alone is never a green verdict**: without a valid signature it is
Expand Down
4 changes: 2 additions & 2 deletions spec/c2pa-interop-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ and that the key was on a public log before the capture.
| Trusted time | RFC 3161 token over `core_hash`, inside the proof, checked offline against a pinned TSA root (§6.2) | RFC 3161 token over the claim signature, inside the COSE structure (10.3.2.5 *Time-stamps*; 15.8 *Validate the Time-Stamp*) |
| Key on a public log | `registry`: RFC 6962 inclusion proof against a signed tree head, carried inline, checked offline (§6.2) | none. Trust is a list of signers (14.4) plus revocation by OCSP (14.5.2, 15.9) |
| Existence before an instant nobody controls | `anchor`: Merkle path to a root recorded on a public chain (§6.2) | none |
| Device state | `integrity`: Play Integrity / App Attest verdict, relayed and signed by the registry; shown, and `failed` caps the ceiling at amber (§6.2, §7) | none |
| Device state | `integrity`: Play Integrity / App Attest verdict, relayed and signed by the registry; shown, and anything but a valid `playIntegrity` `hardware` verdict on an Android proof — absent, `basic`, `failed`, any `appAttest` — caps the ceiling at amber with *integrity not proven* (§6.2, §7) | none |
| Watermark | `watermark`: layout named in the signed core, payload bound to `capture_id` (§6.1, `watermark-layouts-1.0.md`) | `c2pa.soft-binding` naming an algorithm from a public list (18.10, 9.3 *Soft Bindings*) |
| What the verifier says when something is missing | one exact label per absent or unreadable piece of evidence (§8) | status codes (15.2.2 *Standard Status Codes*) and three manifest states, *Well-Formed*, *Valid*, *Trusted* (14.3) |
| Verification without a server | always (invariant) | offline for the signature and binding; the trust list and OCSP are fetched or shipped |
| Verification without a server | always, up to amber: the signature, the bindings and every carried attachment are checked offline; green also needs the log's signed key status, fetched from the log (§6.2, §7) | offline for the signature and binding; the trust list and OCSP are fetched or shipped |

Two consequences a UI must respect. A C2PA *Trusted* manifest says a signer on
a trust list made a statement; it does not say the statement is true, and it
Expand Down
45 changes: 37 additions & 8 deletions spec/threat-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ For a capture that verifies **green**, and only then:
an on-chain block.

For a capture that verifies **amber**, one or more of these is not proven, and
the verifier says which.
the verifier says which. Amber is not a floor under red: evidence that would
make a verdict red can be deleted from a file without breaking a signature —
a revoked `attestation_status` stripped reads *chain revocation not checked* —
so a verifier that can fetch the evidence itself does (`vcap-proof-1.0.md` §8,
*What amber does not say*).

## 2. What the system does not claim

Expand Down Expand Up @@ -90,8 +94,16 @@ Boundaries, each enforced by code and tested:
the log serves is verifiable without trusting the server: signed tree
heads, inclusion and consistency proofs, signed status.
- **Verifier ↔ everything**: a verifier needs no server of ours to reach a
verdict. The proof carries its evidence (`registry` inline); revocation is
the one online check and degrades to *revocation not checked*.
verdict — that is the floor, and it is not negotiable. The signature, the
chain, the media hash, the segment chain and every attachment the proof
carries (`registry` inline, the token, the anchor's path) are checked from
the file alone. Above the floor, some answers only a service can give: the
log's signed key status (ours), a chain's current status list (Google's),
an anchor's on-chain record (a public chain, through a node or a gateway).
Green needs the first, so a fully offline verifier never reaches green, and
it says so (*revocation not checked*). Each such answer is named as its
source, signed by it where it can be, and its absence degrades the verdict
instead of breaking it.

## 4. Attackers

Expand Down Expand Up @@ -139,6 +151,8 @@ Boundaries, each enforced by code and tested:
| Stolen key, backdated clock | a thief holding a device key revoked for loss or rotation — not retroactive — sets `time.device_clock` before the revocation | with no trusted instant the log is asked about the verifier's clock, never the device's; revoked then → *key revoked*, red (§6.2, vector 155) | none on the key's standing. A capture an honest TSA stamped before the revocation keeps it, as it should |
| Unlocked bootloader / rooted device with virtual camera | genuine hardware signs an injected frame | verified boot state and locked device required in the attestation; integrity statement (Play Integrity / App Attest) signed by the registry as an attachment; both prominent on the verdict | **high and accepted**: see §2. The verdict names it. Green requires a registry-signed `hardware` verdict from Play Integrity (`vcap-proof-1.0.md` §6.2, §7); anything else — absent, `basic`, `failed`, App Attest — is amber with *integrity not proven*, so stripping a `failed` verdict cannot raise the colour. What remains is a device that passes Google's strongest check while compromised, which a leaked attestation key has made possible before. The verdict counts only for the platform it attests (Play Integrity beside an iOS proof proves nothing, vector 153) and only under the key of the log the proof names (vector 154) |
| Cloned Secure Enclave key (theoretical) | two devices with one key | App Attest counter must increase on every assertion; the receipt (future) | low |
| Integrity verdict from another device | the holder of a key on a compromised device has a clean device running the attested app request Play Integrity with the capture's `core_hash` as nonce, and gets a `hardware` verdict for it | the registry relays a verdict only when Google's signed answer echoes `core_hash` and names the attested app as requester; the device holding the key must separately prove a locked, verified boot in its attestation `rootOfTrust` (`vcap-proof-1.0.md` §6.2, §7 rule 4) | **accepted and named**: Play Integrity attests a device and an app, never a key, so the verdict is bound to the capture and not to the key holder. Binding the nonce to a device-key signature adds nothing — a signature over the core is public in the proof, and one over a fresh challenge is what the key holder can hand to the clean device. The device genuineness of the key holder rests on the attestation chain |
| Stripped revocation evidence | deletes a `revoked` `attestation_status` (or any attachment) from a file | none in the file: attachments are outside the core. Every condition for green is present evidence, so deletion never raises a verdict; an online verifier reads the chain's status list itself while the chain is current, and asks the log for the key's status (`vcap-proof-1.0.md` §6.2, §8) | **accepted and named**: red becomes amber with *chain revocation not checked* for a verifier that cannot fetch the list, and for every verifier once the chain has expired and its status is published nowhere |

### 5.3 Against the registry and the log

Expand All @@ -158,15 +172,16 @@ Boundaries, each enforced by code and tested:
|---|---|---|
| Google or Apple attestation root compromised or an attestation key leaked (older provisioning) | pinned roots; Google's revocation list checked, fail closed server-side; RKP preferred | accepted at the platform level; verifiers degrade, never fail silently |
| QTSP compromised | two providers, failover; token chain validated offline; with an anchor, the token must predate the block and its signer be valid at the block time (§6.2) | a false time from a compromised QTSP is a false time; the token names the issuer |
| TSA signing key leaked | a token is validated at its own `genTime`, which the key holder chooses; with a verified anchor the token must predate the block and the signer certificate must be valid at the block time, so a key leaked after its certificate expired cannot stamp a proof first anchored afterwards | **accepted and named**: a leaked TSA key can backdate a token to any instant inside its certificate's life, and a token that has no anchor has no bound at all. A verifier cannot tell that token from an honest one; the TSA's revocation is the only remedy |
| TSA signing key leaked | a token is validated at its own `genTime`, which the key holder chooses; with a verified anchor the token must predate the block and the signer certificate must be valid at the block time, so a key leaked after its certificate expired cannot stamp a proof first anchored afterwards | **accepted and named**: a leaked TSA key can backdate a token to any instant inside its certificate's life, and a token that has no anchor has no bound at all. A verifier cannot tell that token from an honest one. This version requires **no** revocation check of the TSA signer (`vcap-proof-1.0.md` §6.2 validates a token offline); the remedy a verifier has is removing the TSA's root from the roots it pins, which un-trusts every token under it. An online check of the TSA's revocation is open (§6) |
| Attestation key leaked (keybox) | a revoked chain certificate is red unless a trusted instant predates the revocation date the source gives, and never for a compromise; `fetched_at` is not a date and a device clock never places a capture before a revocation (§6.2) | low: what remains is a capture stamped by an honest TSA before the date a non-compromise revocation took effect |
| Chain reorganization or censorship | anchoring is optional evidence; *not anchored* is a label | accepted |

### 5.5 Privacy

| Threat | Mitigation | Residual |
|---|---|---|
| Linking captures to a device | `device.key_id` is a pseudonym for device+app; no device identifiers in attestation (no ID attestation) | **accepted and named** in the spec: pseudonymous ≠ unlinkable; per-capture keys are future work |
| Linking captures to a device | `device.key_id` is a pseudonym for device+app; no serial, IMEI or MEID in the attestation (no ID attestation) | **accepted and named** in the spec: pseudonymous ≠ unlinkable; per-capture keys are future work |
| Linking captures across key rotations | the `attestation` chain is not anonymous: a Remote Key Provisioning intermediate is issued to one device and certifies every key it makes while it lives, and `attestationApplicationId` names the app. Two proofs sharing an intermediate come from one device whatever their `device.key_id` | a pseudonymous writer may leave `attestation` out: the chain stays with the registry, committed in the log leaf as `attestation_digest` (`vcap-proof-1.0.md` §6.2) | **accepted and open**: a proof that carries its chain links its device across rotations; one that omits it proves `none` on Android, because only the chain proves an Android level. No offline proof of a level without disclosing the chain exists in this version |
| Personal data in the public log | leaves carry key identifiers, level, digests, log time — nothing else; the registry mapping stays in the control plane | none by construction, enforced by the plane boundary |
| Personal data leaking through the plane boundary | allowlist per endpoint, both sides; second net over values; tests assert names and VAT never cross | low |
| EXIF in the signed file | signed as content; pseudonymous mode must strip **before** sealing | implementation duty of the SDKs |
Expand All @@ -175,8 +190,10 @@ Boundaries, each enforced by code and tested:

### 5.6 Availability and failure behaviour

- The verification path contains none of our servers: an outage cannot turn a
green into anything. Revocation checks degrade to *revocation not checked*.
- The verification floor contains none of our servers: an outage cannot make
a file unreadable or turn any verdict red. It can lower green to amber —
green needs the log's signed key status, and without it the verdict says
*revocation not checked* (§3).
- Server-side, every check fails closed: no revocation list, no challenge store,
no attestation → refused.
- A denial of service against enrolment stops new keys, not existing proofs.
Expand Down Expand Up @@ -265,7 +282,11 @@ like, and it is the true one.
- **An iOS device-integrity source**: until one exists, iOS captures are
amber at best (`vcap-proof-1.0.md` §6.2).
- **External audit**: commissioned during phase 1, findings folded here.
- **Per-capture keys** for unlinkability: cost and policy, later.
- **Per-capture keys** for unlinkability: cost and policy, later. They would
not unlink a proof that carries its attestation chain (§5.5).
- **TSA revocation**: no verifier checks a TSA signer's revocation (§5.4);
an online check, and what it may conclude about a token issued before the
revocation, are to be specified.
- **Position, corroborated** (§5.7): the residual on SIM/device decoupling
stays *medium* until the registry's combination rule (number verification
over the capturing session, SIM swap, local signals) exists and is
Expand All @@ -276,6 +297,14 @@ like, and it is the true one.

## 7. Change log

- 2026-10-03 — Audit fixes, text only. §1: amber may hide red. §3: the
verifier boundary states the offline floor and names the services above
it. §5.2: an integrity verdict is bound to the capture and not to the key
holder (accepted); stripped revocation evidence (accepted). §5.4: no
verifier checks TSA revocation, so it was never "the only remedy"; open.
§5.5: the attestation chain links captures across key rotations (accepted,
open).

- 2026-10-02 — §5.1: the presentation-edit residual no longer describes a
proof without `media.presentation` as one that binds no clip; the field is
required of every video proof and its absence is *no proof found*
Expand Down
Loading
Loading