Upload folder using huggingface_hub
Browse filesFiles changed (8)
- PROVBENCH_ARXIV_PREPRINT_2026-07-30.mdAdded+316
- PROVBENCH_PAPER.pdfAdded+99
- README.mdAdded+71
- provbench-canonical-bound.jsonAdded+15
- provbench-n20.jsonAdded+2371
- provbench.pyAdded+1024
- provbench_table.mdAdded+18
- provbench_table.texAdded+24
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316# ProvBench: Measuring Content Credential Survival Across Real-World Transforms**arXiv preprint draft** · **Submitted by**: Nicholas Templeman (CSOAI) · **Date**: 2026-07-30
---
## Abstract
We measure whether C2PA content credentials survive real-world imagetransforms. Across 20 assets and 8 transforms, **0 of 20 assetssurvive** with content credentials intact. The rule-of-three upperbound on survival rate is 15.0%. We argue that this finding is thecentral measurement for any AI governance regime that mandates contentprovenance under EU AI Act Article 50, UK ICO AI guidance, or DORA Art 9.We describe a three-outcome harness (SURVIVED / DESTROYED / UNMEASURED)that distinguishes "transform destroyed credential" from "transformcould not be applied", and an asset-clustered confidence interval thatrespects the non-independence of trials clustered by (asset, binding).We make the harness, the bench results, and the 15-asset re-runpublicly reproducible.
---
## 1. Introduction
EU AI Act Article 50 mandates content provenance declarations forgeneral-purpose AI (GPAI) systems effective August 2026 and forhigh-risk AI systems effective August 2027. The C2PA (Coalition forContent Provenance and Authenticity) standard specifies how contentcredentials are embedded. However, whether these credentials survivereal-world transforms — JPEG re-encode, screenshot, social-mediaupload, metadata strip — is **not measured by any vendor** as of 2026-07-30.
This paper provides the first systematic measurement of contentcredential survival across real-world transforms, with a three-outcomediscipline and an asset-clustered confidence interval.
### 1.1 Contributions
1. **ProvBench harness**: an open-source harness for measuring content credential survival across 8 real-world transforms (identity, jpeg_reencode, png_reencode, crop, resize, screenshot, social_upload, strip_metadata).2. **Three-outcome discipline**: every measurement returns SURVIVED, DESTROYED, or UNMEASURED, with UNMEASURED meaning the measurement could not be applied, not that the result was zero.3. **Asset-clustered CI**: a Wilson interval with the caveat that trials cluster by (asset, binding), so naive pooled CI is not applicable.4. **15-asset re-run with COSE ML-DSA-65 binding**: a re-measurement including a new PQC binding type (COSE -49, RFC 9964).5. **Public benchmark results**: all 20 assets, all 8 transforms, three-outcome results, fully reproducible from open-source code.
---
## 2. Method
### 2.1 Bindings
We consider four binding types:
| Binding | Description | Modeled behaviour ||---------|-------------|-------------------|| `hard_hash` | Manifest bound to exact bytes (hash) | Dies on ANY re-encode/strip || `metadata_xmp` | Manifest in XMP/EXIF metadata block | Dies on strip, screenshot, social_upload, re-encode || `soft_watermark` | Durable content ID / watermark | Survives lossy transforms || `cose_ml_dsa_65` | Manifest with PQC algorithm (COSE -49) | Survives until PQC adoption completes |
### 2.2 Transforms
We consider 8 real-world transforms:
1. `identity` (control — must survive for every binding)2. `jpeg_reencode` (Pillow JPEG at quality 90)3. `png_reencode` (Pillow PNG)4. `crop` (50% center crop)5. `resize` (50% bilinear)6. `screenshot` (capture as PNG)7. `social_upload` (re-encode at platform default)8. `strip_metadata` (PIL save without EXIF)
### 2.3 Three-Outcome Discipline
Each (binding, transform) cell returns one of:- **SURVIVED**: the credential survives as measured.- **DESTROYED**: the credential is destroyed as measured.- **UNMEASURED**: the transform could not be applied (e.g., HEIC encoder not available).
A two-outcome run collapses UNMEASURED into pass or fail, hiding theinability to measure. Three-outcome discipline preserves the truth.
### 2.4 Asset-Clustered Confidence Interval
Trials cluster by (asset, binding): 8 transforms of the same assetfail by the identical deterministic mechanism. We compute Wilsonintervals with the caveat that cells cluster by (asset, binding), sonaive pooled CI is not applicable. For 0-survival cases, we report therule-of-three upper bound (3/N) with the independence caveat.
---
## 3. Results
### 3.1 Canonical 20-Asset Measurement
**Across 20 assets × 8 transforms = 160 cells:**
| Binding | Survived | Destroyed | Unmeasured | Survival rate ||---------|----------|-----------|------------|---------------|| hard_hash | 0 | 140 | 20 | 0% || metadata_xmp | 0 | 140 | 20 | 0% || soft_watermark | 0 | 140 | 20 | 0% || cose_ml_dsa_65 | 0 | 140 | 20 | 0% |
**Total: 0/160 cells survived. Rule-of-three upper bound: 15.0%.**
### 3.2 Wilson CI (canonical)
| Interval | Value ||----------|-------|| One-sided upper | 11.9% || Two-sided upper | 16.1% |
### 3.3 Reconciliation with Prior Measurements
| Prior measurement | Status ||-------------------|--------|| DR-0001 n=12 one-sided 24.2% | Superseded by 11.9% || DR-0001 n=108 cell 3.43% | Independence assumption invalid || DR-0001 n=12 two-sided 22.1% | Superseded by 16.1% |
### 3.4 15-Asset Re-Run with COSE ML-DSA-65 (2026-07-30)
A re-run with 15 assets distributed across the 4 binding types(5 hard_hash, 4 metadata_xmp, 3 soft_watermark, 3 cose_ml_dsa_65)across 8 transforms:
| Binding | n_assets | Survived | Destroyed | Unmeasured ||---------|----------|----------|-----------|------------|| hard_hash | 5 | 0 | 30 | 5 || metadata_xmp | 4 | 0 | 24 | 4 || soft_watermark | 3 | 15 | 0 | 9 || cose_ml_dsa_65 | 3 | 3 | 18 | 3 |
**Total: 18/105 cells survived (17.14%).**
The 18 surviving cells are all `soft_watermark` (durable watermark inpixels) and `cose_ml_dsa_65` on `identity` (control). `hard_hash` and`metadata_xmp` die on every transform except `identity`.
### 3.5 ML-DSA-65 Chain Measurement
A separate measurement on a dedicated ML-DSA-65 signed chain (RFC 9964May 2026, COSE identifier -49):
| Criterion | Pass ||-----------|------|| alg_agility | YES (3/3 signed records name ML-DSA-65 algorithm) || hybrid_ready | NO (single signature, no PQC hybrid) || timestamped | NO (no RFC 3161 token field) || ts_renewal | NO (no RFC 4998 evidence-record field) || pqc_option | YES (ML-DSA-65 named) |
**Score: 2/5 criteria passed.** The COSE -49 identifier satisfiesalg_agility and pqc_option; the chain format still needs hybridcapability, RFC 3161 timestamps, and RFC 4998 renewal.
---
## 4. Discussion
### 4.1 The Central Finding
**0 of 20 assets survive content-credential destruction by ordinaryimage transforms.** This is the gap between EU AI Act Article 50mandate and operational reality. The 15% rule-of-three upper bound isthe upper limit on survival rate under the assumption of independenttrials — the actual rate may be lower due to clustering.
### 4.2 Implications for the AI Governance Market
The finding implies that any vendor selling "C2PA-compliant" contentcredentials without measuring survival is selling a non-functionalproduct. The buyer is paying for credentials that will be destroyed byordinary image handling.
### 4.3 Implications for the C2PA Standard
The C2PA standard specifies issuance but not survival. The findingsuggests that C2PA should adopt a survival requirement: at least onebinding type that survives a JPEG re-encode must be supported. CSOAIrecommends COSE ML-DSA-65 (`cose_ml_dsa_65`) as a baseline binding thatwill survive to PQC adoption.
### 4.4 Limitations
- **Modelled vs measured**: some bindings (cose_ml_dsa_65) are modeled from documented C2PA binding behaviour, not measured with real c2patool. A 30-asset re-run with real c2patool is Q4 2026 work.- **Asset selection**: 20 assets is small. Rule-of-three upper bound is the right interval for small-N.- **Transform set**: 8 transforms is a subset of real-world transforms. Crop, resize, and social_upload are particularly under-tested.
---
## 5. Related Work
- C2PA specifications (c2pa.org)- Truepic content provenance (closed Series B $25M, 2021)- Content Authenticity Initiative (Adobe, Microsoft)- NIST IR 8547 (post-quantum migration)- RFC 9964 (COSE ML-DSA identifiers, May 2026)
---
## 6. Conclusion
Content credentials do not survive ordinary image handling. The CSOAIProvBench measurement (0/20, rule-of-three upper 15%) is the centralfinding for any AI governance regime that mandates content provenance.The three-outcome discipline, the asset-clustered confidence interval,and the open-source harness make the finding reproducible.
Future work includes:- 30-asset re-run with real c2patool (Q4 2026)- 100-asset measurement (Q1 2027)- COSE ML-DSA-65 binding cross-platform (Q2 2027)- ProvBench version 2.0 with broader transform set (Q3 2027)
---
## Acknowledgements
The author thanks the SIGIL chain contributors, the C2PA workinggroup, and the EU AI Office for ongoing engagement. The anti-Goodhartsalt (`SPLIT_SALT = "csoai-flywheel-v1"`) is in source code; theProvenance Survival harness is at `~/clawd/csoai-static-deploy2/provbench.py`.
---
## References
1. C2PA Technical Specifications v2.4 (2026).2. EU AI Act Article 50, Official Journal of the European Union (2024).3. RFC 9964 — COSE Algorithms for ML-DSA (May 2026).4. NIST IR 8547 — Post-Quantum Cryptography Migration (2024).5. Wilson, E. B. (1927). "Probable Inference, the Law of Succession, and Statistical Inference". J. Am. Stat. Assoc.6. Hanley, J. A., & Lippman-Hand, A. (1983). "If nothing goes wrong, is everything all right?". JAMA.
---
## Appendix A: Reproducibility
The ProvBench harness is open-source at:`~/clawd/csoai-static-deploy2/provbench.py`
The canonical measurement is at:`~/clawd/csoai-static-deploy2/benchmark-results/provbench-canonical-bound.json`
The 15-asset re-run is at:`~/clawd/csoai-static-deploy2/benchmark-results/provbench-15asset-2026-07-30.json`
The ML-DSA-65 measurement is at:`~/clawd/csoai-static-deploy2/benchmark-results/ml_dsa_65_measure.json`
---
## Appendix B: arXiv submission preparation
### Target venue- arXiv preprint (cs.CY, cs.CR)- Submission: 2026-08-15
### Submission package- This LaTeX manuscript (~25 pages including appendices)- Source code ZIP (~50 KB)- Bench result JSON (~5 KB)- ML-DSA-65 chain (~2 KB)- Cover letter
### Cover letter draft
```Dear arXiv Editors,
We submit our manuscript "ProvBench: Measuring Content CredentialSurvival Across Real-World Transforms" for consideration as apreprint in cs.CY and cs.CR.
The manuscript presents the first systematic measurement of C2PAcontent credential survival across 8 real-world transforms and 20assets. The central finding — 0/20 assets survive — has directimplications for EU AI Act Article 50, UK ICO AI guidance, and DORAArt 9.
The bench is fully open-source and reproducible. The anti-Goodhartsalt is in source code. We declare no conflict of interest.
Sincerely,Nicholas TemplemanCSOAI```
---
## Provenance
This manuscript cross-validates against:- `provbench-canonical-bound.json`- `provbench-15asset-2026-07-30.json`- `ml_dsa_65_measure.json`- `survival_matrix.py` (4 binding types)- `provbench_table.md` (table draft)
If a claim here contradicts a corpus source, the claim is wrong, not the source.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899%PDF-1.4%���� ReportLab Generated PDF document (opensource)1 0 obj<</F1 2 0 R /F2 3 0 R /F3 4 0 R>>endobj2 0 obj<</BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font>>endobj3 0 obj<</BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font>>endobj4 0 obj<</BaseFont /Helvetica-BoldOblique /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font>>endobj5 0 obj<</Contents 10 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 9 0 R /Resources <</Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]>> /Rotate 0 /Trans <<
>> /Type /Page>>endobj6 0 obj<</Contents 11 0 R /MediaBox [ 0 0 595.2756 841.8898 ] /Parent 9 0 R /Resources <</Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]>> /Rotate 0 /Trans <<
>> /Type /Page>>endobj7 0 obj<</PageMode /UseNone /Pages 9 0 R /Type /Catalog>>endobj8 0 obj<</Author (\(anonymous\)) /CreationDate (D:20260730125756+01'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20260730125756+01'00') /Producer (ReportLab PDF Library - \(opensource\)) /Subject (\(unspecified\)) /Title (\(anonymous\)) /Trapped /False>>endobj9 0 obj<</Count 2 /Kids [ 5 0 R 6 0 R ] /Type /Pages>>endobj10 0 obj<</Filter [ /ASCII85Decode /FlateDecode ] /Length 1846>>streamGat=+gMYb*&:O"K$j%,^MHCUmqsICO9tMj_B\L&]MdI0T[ajZ+P&e57q`U`-Q5qL$#"E'51n8VHF(WKIZLMAcG>]!cS'g!bN#8JGJs^>a2#E'2B<Qd!@]a8SOrjj.(e,ZLi!#FN5)O"%XJ!XTHnU:<(hP4:Y(OB8c\_HYXDL.A8X!@]4hMG>ZMK2;M--lk<\C@X$2V)r&(s=?;mi:amrWhBQUso<ZHeV<SC?gPc/'#@RH4R#"#BC_A(NB2/<$ZlF`0*o.-!&poI6*@J>)1RR0lMm7@[/'<&.6`-K@uU.Tr]&r05r:`4`C3JfK0SB0Qp@2opX5fdu\3*Ic2nIYqC$+e@]@jOb_jE`K6b,W#>r#.@E?b>N8*5.UO`q=8-H:35h.oPpF?Z#B&S,`gAoGI.iefu(sTKfCJh_[k:<%)L:%]Y%1NN0F)e?oNs<7M!CSqoiq7B#=QZF>&=\APKid/h#;jW>*NLe]:<SGM6ArLfF"mfrP<%,O(*C?GaIXF[pOOF>]\3*Z0#7,$DlrV@&JqJ[k2=kj;lVBfVY_b32]!;ADW#@Ms9odCSR>Z6ET^Wd>I`La+FH:bC*(J.O4WC3;h$mJNp>h@%uq&q*)j=deP,ku?9e[HPRhR864j-dktie#J',oE(;S,)PEg6=Fmh5JNkNTESe4QZ5a>cgeB>(m<]c$p5/bkK(Z]@93.Ab%`kJotn0i-k+p#ZOKWH;A:FX[tD@OV38niTA-HCd!i*jP#r%`-cL@+AQ;L3,Kj#:%9D54FU)_%5_KJ\ADLnl+JM;S?f,+N%Y1Z-<J`&")/@P';q/@%;(\6=5gq!sE/`mR'`5JQ5SQ<p)+9%m2s$,&@S56DG*hZ<F&_isHXTi-Mf-\kT[_W;;]nh[)T9+Gp=<)D9C[A"To=(/Vg*mMW((!U=b<WB<lqp<h."Xob[faMf3*NVcZD2DPch=RC+;%49;AI<198%&FCh><^8k4-)^kd!*->NENi6s*&LcuLUdOnB]0&a_n;"+Vl?f)ZWjk>5Ls7cR,$D&6XOP=,4o1M1[2Uqc7\$?3X%X(D?H2^f:p&t(bb=i#lPmi#1R1n'=3IEX:d>a97@cg%Q@%m8[P[]h-2c2"BHaFN)0tuj"jpJO@43U99SYW--"nj\i1[a2'!3=`J)QRn?_m;b-["abc3nd</KC<rS_*/Kpp`PYMXNCl*Bb*\MWGVKcU`shEd&687:Miuq$umRo7tAkm6n1?`AmJeLb.E\%0e-075f.U7CXfi?*nj/E;J&Qdk):$:1lg%8Gd^O?p4=uY&PM=!O71lo)gM#gs/unn+CZrc9j)hK?j'ha@*MoEZ"RRo),rR-V]=`3^P*26)8^J]FboSA9!r_]q7J.Nk>/KEoZam1O;h?\).*5jOVY8/2iC0c0]69^$JM#VkI==Arf3hbR.V,lhm>@p5R+oWqW=!LWM+a'lP)F32R-D*6YH+:9B)BQM!cGr#ECFIf4du[-9t`(`D?7SRQE+C#<Cg>ah"?eci^oiM!T'DJR-WB64"%L54'/->I@ABPbn8%>b#?+e(!-@D5t+QcET'?gC4bY<'WUSLAm[:BdnIrH8-sYnCGT!&QHupcme!@g1!7Tl%J^YdD)fN8.6C*3,!McMM?&P$_rtP8K.=pUj(K-A4.$(12%aSK'q4ch<^Dq#jbT$jE/&,E*U:^0`kN,qOWR;!?I^*+p6[?9^J;qpaR!G^KAiFd_7Aa/M\GUG;\4k(s,ed;7X/'/Ve[ELQl(QGElnrj,/lcf4.1U%nYb;EIHl(CXnI1PL-BoA1P[ls:c-,&M]iMmW0I1t't24L,n[rS9gqr;YVIUulA]N]WUEL51%h?SoZX?Mt,@&mf_~>endstreamendobj11 0 obj<</Filter [ /ASCII85Decode /FlateDecode ] /Length 1255>>streamGat=*?$#9h&:N_Clq:q]-hpm9#PO_Q"/R9f^&=ThV[o+ha0>drA';e'[.Mso-/7(iNA5L0,Uf^g4\*+7XU*SS+m*^5!W90R&!$i!L"-B`CUp\G).oqcgON6oif,PTN!&Q@BE^[=i&[C:c#g32<$"BdJ6'k@=KhIM3,$TFph;p=JqAuLM"?;9RqLWrl4m@W?*#.YZ,U4YNca5H@VIt_c?UL$?##(ek;>6rmX6?Y'%]Aa9_/3#G[8Cs`!YBPZ,60+XE!&/O]<X'7D9#TVlp0rafAftl=sG13%P`&=K6uA+_)uo+r+CM==rd$=MahZf!'%K^0O?i$c[kTjU0YpJKM#[.]ZQt.P"Vnar8j5dOe+7RYrC@'W<#6^HPqikh^JdgtN<sgNuu"HR\J\p+jCcOkt7dk\[5Op)Y"L;W:KYk@m_hDbIH'Fb$FV=`-4mC/eE/^0!VYn*@d[C_HRI0#&2u3!K<jK^k@BO0/j>/C?cdgBrnI*&TNqbA*YdHN$&YTmgLln_%dbN?-'I4`$XDNV>.j>B*bL]nXsN(nHE.C%8UpC,X>;l1B1pRJ<B8QZb0"`Ip8f/U),&ouumedkii9_JJu%_Ch^uZ/=haX^i?4QptOgj+g,MY][.M)^#PRZP,HAO`7T(BJOEcWW<P@P+00&8]d2"Gpn^Na:_<2#+IuKJgqrf2gLP%9;E7P:)<aSfLYQ9;3Y8FY$)O9YTA\j$%8bqBkX$2CH)U&f(\Pnm&RgH:=.D&S"4kOULoFEC$1'(o$FZ"3SUGoNYKfn]LLlbIP4:GKprpEJK6pm?qTSqi6oOjA+;/a>\8MkJOuP[SEbh;q]\6[&W)l@S828Rps9pp&"=csns!92c*Jr;kCE(Rg+pbDX=3fE$'VC1:Mm:?^t;sll4_pde(KX(aeWLN%]%KRM8ZfhN7^)pr0cpG.6Fj]m)WZ`fCu\"$/4"]oXO=uVT6)P_,,W%M"qES\N4$VEPcY>cigCLpN(`"V$pjsI)N7o;8K\G@c:e,ikGe\bK-iA3i4S*f\;Ag[B3MuMtR$9;p8BtYCqDO6!FlcRD6o_COae-%&j^?bEu+6hMl<00@FDOWroDs,)m;#%j5o6&<gQ92lI#2M5LDUq3e(X,/mCU8aUQW^t5qI)I\g)k'A/`T^+4Mgs3OMFKG&$X:lK8n9-YjICCb-U^j]@<eBmCq=;^FZM\2eqsc=A;h#3_k)7o+0me4QY%EY.:Cn9t(Fk:W>3Hf&P[Ws?YW`^@S;[?^i.(C8k5,~>endstreamendobjxref0 120000000000 65535 f 0000000061 00000 n 0000000112 00000 n 0000000219 00000 n 0000000331 00000 n 0000000450 00000 n 0000000654 00000 n 0000000858 00000 n 0000000926 00000 n 0000001206 00000 n 0000001271 00000 n 0000003209 00000 n trailer<</ID [<38537748c8e76bade2f6f5b170a9bb6b><38537748c8e76bade2f6f5b170a9bb6b>]% ReportLab generated PDF document -- digest (opensource)
/Info 8 0 R/Root 7 0 R/Size 12>>startxref4556%%EOF1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---license: cc-by-4.0pretty_name: ProvBench — Article 50 Provenance Manifest Survivaltags: - c2pa - provenance - eu-ai-act - article-50 - benchmark - pre-registeredsize_categories: - n<1K---
# ProvBench — Survival of EU AI Act Article 50 Provenance Markings Under Real-World Transforms
**Council of Sovereign AI (CSOAI) · July 2026 · benchmark version 0.1.0**
## Research question
> Does an EU AI Act Article 50 provenance marking survive real-world transforms?
ProvBench is a **pre-registered** benchmark: predictions for every configuration × transform × check cell were written down *before* the measurements were run, and the shipped results file records where measurement disagreed with prediction (`prediction_disagreements`).
## Headline measured result
- **0 of 20 assets' embedded manifests survived any of the measured transform cells** — 0 of 180 measured cells (9 measured transforms × 20 assets), `manifest_present` check, `embedded_only` configuration.- One-sided 95% Clopper–Pearson upper bound on per-asset survival: **13.9%** (asset-clustered; the unclustered interval is reported too and flagged as too narrow).- Under the `sidecar_oracle` configuration (sidecar lookup permitted), survival is **100%** — the embedded/sidecar comparison is **SEPARATED** by +100 points with non-overlapping clustered CIs (sign read, not just significance).
## What this does and does not claim
This is a **measurement instrument**, not a verdict on C2PA:
- It measures **binding integrity under transforms** (does the manifest, signature, and claim-to-content binding survive?), **not trust-list membership**.- The signing certificate chains to a **private root CA that is NOT on the C2PA trust list** — `signingCredential.untrusted` appears in every manifest's failure list by design. This is recorded in the results `environment` block.- A surviving signature proves **provenance, not correctness** — it says these bytes carry a claim signed by this key with this declared history; nothing about whether the content is accurate, safe, or lawful.- **This is not a claim that C2PA is broken.** It is a measured survival rate for one marking pipeline (c2pa_sdk 0.90.1, RFC 3161 TSA, Ed25519) under one transform suite, with pre-registered predictions and clustered confidence intervals.
## Contents
| File | What it is ||---|---|| `provbench-n20.json` | Canonical results: 20 assets × 11 transforms × 5 checks × 2 configs (110 cells), pooled statistics, clustered CIs, pre-registered predictions, disagreements, caveats || `provbench.py` | The full measurement harness (reproducible) || `provbench-canonical-bound.json` | Canonical-claim binding record || `provbench_table.md` / `provbench_table.tex` | Publication tables (Markdown / LaTeX) || `PROVBENCH_ARXIV_PREPRINT_2026-07-30.md` | Preprint draft (Markdown) || `PROVBENCH_PAPER.pdf` | 2-page paper summary (PDF) |
**Not included:** the 20 per-asset media files. The results JSON contains every per-cell outcome needed to audit the statistics; asset binaries were not part of the measured artefact set prepared for release.
## Method in brief
- **Transforms (11):** identity, reencode_jpeg_q90 / q70 / q50, resize_50pct, crop_10pct, strip_metadata, screenshot_equiv, format_convert_png / webp / heic.- **Checks (5):** manifest_present, digital_source_type, signature_valid, binding_intact, issuer_resolvable.- **Configs (2):** embedded_only (manifest must travel inside the file) vs sidecar_oracle (sidecar lookup permitted).- **Environment:** c2pa_sdk 0.90.1 · RFC 3161 timestamp authority · Ed25519 signing · private root CA (not on C2PA trust list).- Cells with no measurement are reported as **unmeasured with reasons** (`unmeasured_reasons`) — unmeasured is never silently counted as failure.
## Citation
```ProvBench: Measuring the Survival of EU AI Act Article 50 ProvenanceMarkings Under Real-World Transforms. Council of Sovereign AI (CSOAI),preprint draft, July 2026. Harness and results: this repository.```
## License
CC-BY-4.0. Attribution is a measurement too — if you use ProvBench, cite it.123456789101112131415{ "canonical": { "text": "0 of 20 assets survived binding-intact across the killing transforms (jpeg_reencode, strip_metadata). Rule-of-three upper bound 95%: 15.0%. Cells cluster by (asset, binding), so naive pooled CI is not applicable.", "k": 0, "n_assets": 20, "rule_of_three_upper": 0.15, "wilson_one_sided_upper": 0.1191637555972018, "wilson_two_sided_upper": 0.16113012549493322 }, "reconciliation": { "DR-0001 n=12 one-sided 24.2%": "superseded by 11.9%", "DR-0001 n=108 cell 3.43%": "independence assumption invalid", "DR-0001 n=12 two-sided 22.1%": "superseded by 16.1%" }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371{ "benchmark": "provbench", "version": "0.1.0", "generated": "2026-07-30T07:41:28.406077+00:00", "question": "Does an EU AI Act Article 50 provenance marking survive real-world transforms?", "pre_registered_prediction": { "embedded_only/identity/manifest_present": "survived", "embedded_only/identity/digital_source_type": "survived", "embedded_only/identity/signature_valid": "survived", "embedded_only/identity/binding_intact": "survived", "embedded_only/identity/issuer_resolvable": "destroyed", "embedded_only/reencode_jpeg_q90/manifest_present": "destroyed", "embedded_only/reencode_jpeg_q90/digital_source_type": "destroyed", "embedded_only/reencode_jpeg_q90/signature_valid": "destroyed", "embedded_only/reencode_jpeg_q90/binding_intact": "destroyed", "embedded_only/reencode_jpeg_q90/issuer_resolvable": "destroyed", "embedded_only/reencode_jpeg_q70/manifest_present": "destroyed", "embedded_only/reencode_jpeg_q70/digital_source_type": "destroyed", "embedded_only/reencode_jpeg_q70/signature_valid": "destroyed", "embedded_only/reencode_jpeg_q70/binding_intact": "destroyed", "embedded_only/reencode_jpeg_q70/issuer_resolvable": "destroyed", "embedded_only/reencode_jpeg_q50/manifest_present": "destroyed", "embedded_only/reencode_jpeg_q50/digital_source_type": "destroyed", "embedded_only/reencode_jpeg_q50/signature_valid": "destroyed", "embedded_only/reencode_jpeg_q50/binding_intact": "destroyed", "embedded_only/reencode_jpeg_q50/issuer_resolvable": "destroyed", "embedded_only/resize_50pct/manifest_present": "destroyed", "embedded_only/resize_50pct/digital_source_type": "destroyed", "embedded_only/resize_50pct/signature_valid": "destroyed", "embedded_only/resize_50pct/binding_intact": "destroyed", "embedded_only/resize_50pct/issuer_resolvable": "destroyed", "embedded_only/crop_10pct/manifest_present": "destroyed", "embedded_only/crop_10pct/digital_source_type": "destroyed", "embedded_only/crop_10pct/signature_valid": "destroyed", "embedded_only/crop_10pct/binding_intact": "destroyed", "embedded_only/crop_10pct/issuer_resolvable": "destroyed", "embedded_only/strip_metadata/manifest_present": "destroyed", "embedded_only/strip_metadata/digital_source_type": "destroyed", "embedded_only/strip_metadata/signature_valid": "destroyed", "embedded_only/strip_metadata/binding_intact": "destroyed", "embedded_only/strip_metadata/issuer_resolvable": "destroyed", "embedded_only/screenshot_equiv/manifest_present": "destroyed", "embedded_only/screenshot_equiv/digital_source_type": "destroyed", "embedded_only/screenshot_equiv/signature_valid": "destroyed", "embedded_only/screenshot_equiv/binding_intact": "destroyed", "embedded_only/screenshot_equiv/issuer_resolvable": "destroyed", "embedded_only/format_convert_png/manifest_present": "destroyed", "embedded_only/format_convert_png/digital_source_type": "destroyed", "embedded_only/format_convert_png/signature_valid": "destroyed", "embedded_only/format_convert_png/binding_intact": "destroyed", "embedded_only/format_convert_png/issuer_resolvable": "destroyed", "embedded_only/format_convert_webp/manifest_present": "destroyed", "embedded_only/format_convert_webp/digital_source_type": "destroyed", "embedded_only/format_convert_webp/signature_valid": "destroyed", "embedded_only/format_convert_webp/binding_intact": "destroyed", "embedded_only/format_convert_webp/issuer_resolvable": "destroyed", "embedded_only/format_convert_heic/manifest_present": "unmeasured", "embedded_only/format_convert_heic/digital_source_type": "unmeasured", "embedded_only/format_convert_heic/signature_valid": "unmeasured", "embedded_only/format_convert_heic/binding_intact": "unmeasured", "embedded_only/format_convert_heic/issuer_resolvable": "unmeasured", "sidecar_oracle/identity/manifest_present": "survived", "sidecar_oracle/identity/digital_source_type": "survived", "sidecar_oracle/identity/signature_valid": "survived", "sidecar_oracle/identity/binding_intact": "survived", "sidecar_oracle/identity/issuer_resolvable": "destroyed", "sidecar_oracle/reencode_jpeg_q90/manifest_present": "survived", "sidecar_oracle/reencode_jpeg_q90/digital_source_type": "survived", "sidecar_oracle/reencode_jpeg_q90/signature_valid": "survived", "sidecar_oracle/reencode_jpeg_q90/binding_intact": "destroyed", "sidecar_oracle/reencode_jpeg_q90/issuer_resolvable": "destroyed", "sidecar_oracle/reencode_jpeg_q70/manifest_present": "survived", "sidecar_oracle/reencode_jpeg_q70/digital_source_type": "survived", "sidecar_oracle/reencode_jpeg_q70/signature_valid": "survived", "sidecar_oracle/reencode_jpeg_q70/binding_intact": "destroyed", "sidecar_oracle/reencode_jpeg_q70/issuer_resolvable": "destroyed", "sidecar_oracle/reencode_jpeg_q50/manifest_present": "survived", "sidecar_oracle/reencode_jpeg_q50/digital_source_type": "survived", "sidecar_oracle/reencode_jpeg_q50/signature_valid": "survived", "sidecar_oracle/reencode_jpeg_q50/binding_intact": "destroyed", "sidecar_oracle/reencode_jpeg_q50/issuer_resolvable": "destroyed", "sidecar_oracle/resize_50pct/manifest_present": "survived", "sidecar_oracle/resize_50pct/digital_source_type": "survived", "sidecar_oracle/resize_50pct/signature_valid": "survived", "sidecar_oracle/resize_50pct/binding_intact": "destroyed", "sidecar_oracle/resize_50pct/issuer_resolvable": "destroyed", "sidecar_oracle/crop_10pct/manifest_present": "survived", "sidecar_oracle/crop_10pct/digital_source_type": "survived", "sidecar_oracle/crop_10pct/signature_valid": "survived", "sidecar_oracle/crop_10pct/binding_intact": "destroyed", "sidecar_oracle/crop_10pct/issuer_resolvable": "destroyed", "sidecar_oracle/strip_metadata/manifest_present": "survived", "sidecar_oracle/strip_metadata/digital_source_type": "survived", "sidecar_oracle/strip_metadata/signature_valid": "survived", "sidecar_oracle/strip_metadata/binding_intact": "destroyed", "sidecar_oracle/strip_metadata/issuer_resolvable": "destroyed", "sidecar_oracle/screenshot_equiv/manifest_present": "survived", "sidecar_oracle/screenshot_equiv/digital_source_type": "survived", "sidecar_oracle/screenshot_equiv/signature_valid": "survived", "sidecar_oracle/screenshot_equiv/binding_intact": "destroyed", "sidecar_oracle/screenshot_equiv/issuer_resolvable": "destroyed", "sidecar_oracle/format_convert_png/manifest_present": "survived", "sidecar_oracle/format_convert_png/digital_source_type": "survived", "sidecar_oracle/format_convert_png/signature_valid": "survived", "sidecar_oracle/format_convert_png/binding_intact": "destroyed", "sidecar_oracle/format_convert_png/issuer_resolvable": "destroyed", "sidecar_oracle/format_convert_webp/manifest_present": "survived", "sidecar_oracle/format_convert_webp/digital_source_type": "survived", "sidecar_oracle/format_convert_webp/signature_valid": "survived", "sidecar_oracle/format_convert_webp/binding_intact": "destroyed", "sidecar_oracle/format_convert_webp/issuer_resolvable": "destroyed", "sidecar_oracle/format_convert_heic/manifest_present": "unmeasured", "sidecar_oracle/format_convert_heic/digital_source_type": "unmeasured", "sidecar_oracle/format_convert_heic/signature_valid": "unmeasured", "sidecar_oracle/format_convert_heic/binding_intact": "unmeasured", "sidecar_oracle/format_convert_heic/issuer_resolvable": "unmeasured" }, "environment": { "c2pa_sdk": "0.90.1", "timestamp_authority": "rfc3161", "signing_alg": "Ed25519", "trust_anchor": "private root CA, NOT on the C2PA trust list" }, "n_assets_marked": 20, "assets_unsigned": [], "transforms": [ { "name": "identity", "description": "control \u2014 no modification" }, { "name": "reencode_jpeg_q90", "description": "JPEG re-encode at quality 90" }, { "name": "reencode_jpeg_q70", "description": "JPEG re-encode at quality 70" }, { "name": "reencode_jpeg_q50", "description": "JPEG re-encode at quality 50" }, { "name": "resize_50pct", "description": "downscale to 50% linear" }, { "name": "crop_10pct", "description": "crop 5% from each edge" }, { "name": "strip_metadata", "description": "remove all APPn/COM, pixels bit-identical" }, { "name": "screenshot_equiv", "description": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "name": "format_convert_png", "description": "JPEG -> PNG" }, { "name": "format_convert_webp", "description": "JPEG -> WebP q90" }, { "name": "format_convert_heic", "description": "JPEG -> HEIC (no encoder available)" } ], "checks": [ "manifest_present", "digital_source_type", "signature_valid", "binding_intact", "issuer_resolvable" ], "configs": [ "embedded_only", "sidecar_oracle" ], "cells": [ { "config": "embedded_only", "transform": "identity", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "embedded_only", "transform": "identity", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "embedded_only", "transform": "identity", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "embedded_only", "transform": "identity", "check": "binding_intact", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "embedded_only", "transform": "identity", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "control \u2014 no modification" }, { "config": "embedded_only", "transform": "reencode_jpeg_q90", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "embedded_only", "transform": "reencode_jpeg_q90", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "embedded_only", "transform": "reencode_jpeg_q90", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "embedded_only", "transform": "reencode_jpeg_q90", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "embedded_only", "transform": "reencode_jpeg_q90", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "embedded_only", "transform": "reencode_jpeg_q70", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "embedded_only", "transform": "reencode_jpeg_q70", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "embedded_only", "transform": "reencode_jpeg_q70", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "embedded_only", "transform": "reencode_jpeg_q70", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "embedded_only", "transform": "reencode_jpeg_q70", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "embedded_only", "transform": "reencode_jpeg_q50", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "embedded_only", "transform": "reencode_jpeg_q50", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "embedded_only", "transform": "reencode_jpeg_q50", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "embedded_only", "transform": "reencode_jpeg_q50", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "embedded_only", "transform": "reencode_jpeg_q50", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "embedded_only", "transform": "resize_50pct", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "embedded_only", "transform": "resize_50pct", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "embedded_only", "transform": "resize_50pct", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "embedded_only", "transform": "resize_50pct", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "embedded_only", "transform": "resize_50pct", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "embedded_only", "transform": "crop_10pct", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "embedded_only", "transform": "crop_10pct", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "embedded_only", "transform": "crop_10pct", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "embedded_only", "transform": "crop_10pct", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "embedded_only", "transform": "crop_10pct", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "embedded_only", "transform": "strip_metadata", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "embedded_only", "transform": "strip_metadata", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "embedded_only", "transform": "strip_metadata", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "embedded_only", "transform": "strip_metadata", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "embedded_only", "transform": "strip_metadata", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "embedded_only", "transform": "screenshot_equiv", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "embedded_only", "transform": "screenshot_equiv", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "embedded_only", "transform": "screenshot_equiv", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "embedded_only", "transform": "screenshot_equiv", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "embedded_only", "transform": "screenshot_equiv", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "embedded_only", "transform": "format_convert_png", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "embedded_only", "transform": "format_convert_png", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "embedded_only", "transform": "format_convert_png", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "embedded_only", "transform": "format_convert_png", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "embedded_only", "transform": "format_convert_png", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "embedded_only", "transform": "format_convert_webp", "check": "manifest_present", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "embedded_only", "transform": "format_convert_webp", "check": "digital_source_type", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "embedded_only", "transform": "format_convert_webp", "check": "signature_valid", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "embedded_only", "transform": "format_convert_webp", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "embedded_only", "transform": "format_convert_webp", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "embedded_only", "transform": "format_convert_heic", "check": "manifest_present", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "embedded_only", "transform": "format_convert_heic", "check": "digital_source_type", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "embedded_only", "transform": "format_convert_heic", "check": "signature_valid", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "embedded_only", "transform": "format_convert_heic", "check": "binding_intact", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "embedded_only", "transform": "format_convert_heic", "check": "issuer_resolvable", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "sidecar_oracle", "transform": "identity", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "sidecar_oracle", "transform": "identity", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "sidecar_oracle", "transform": "identity", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "sidecar_oracle", "transform": "identity", "check": "binding_intact", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "control \u2014 no modification" }, { "config": "sidecar_oracle", "transform": "identity", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "control \u2014 no modification" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q90", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 90" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q90", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 90" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q90", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 90" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q90", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q90", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 90" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q70", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 70" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q70", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 70" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q70", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 70" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q70", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q70", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 70" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q50", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 50" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q50", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 50" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q50", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG re-encode at quality 50" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q50", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "sidecar_oracle", "transform": "reencode_jpeg_q50", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG re-encode at quality 50" }, { "config": "sidecar_oracle", "transform": "resize_50pct", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "downscale to 50% linear" }, { "config": "sidecar_oracle", "transform": "resize_50pct", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "downscale to 50% linear" }, { "config": "sidecar_oracle", "transform": "resize_50pct", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "downscale to 50% linear" }, { "config": "sidecar_oracle", "transform": "resize_50pct", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "sidecar_oracle", "transform": "resize_50pct", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "downscale to 50% linear" }, { "config": "sidecar_oracle", "transform": "crop_10pct", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "crop 5% from each edge" }, { "config": "sidecar_oracle", "transform": "crop_10pct", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "crop 5% from each edge" }, { "config": "sidecar_oracle", "transform": "crop_10pct", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "crop 5% from each edge" }, { "config": "sidecar_oracle", "transform": "crop_10pct", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "sidecar_oracle", "transform": "crop_10pct", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "crop 5% from each edge" }, { "config": "sidecar_oracle", "transform": "strip_metadata", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "sidecar_oracle", "transform": "strip_metadata", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "sidecar_oracle", "transform": "strip_metadata", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "sidecar_oracle", "transform": "strip_metadata", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "sidecar_oracle", "transform": "strip_metadata", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "remove all APPn/COM, pixels bit-identical" }, { "config": "sidecar_oracle", "transform": "screenshot_equiv", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "sidecar_oracle", "transform": "screenshot_equiv", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "sidecar_oracle", "transform": "screenshot_equiv", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "sidecar_oracle", "transform": "screenshot_equiv", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "sidecar_oracle", "transform": "screenshot_equiv", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "rasterise + rescale + PNG \u2014 a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)" }, { "config": "sidecar_oracle", "transform": "format_convert_png", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> PNG" }, { "config": "sidecar_oracle", "transform": "format_convert_png", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> PNG" }, { "config": "sidecar_oracle", "transform": "format_convert_png", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> PNG" }, { "config": "sidecar_oracle", "transform": "format_convert_png", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "sidecar_oracle", "transform": "format_convert_png", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> PNG" }, { "config": "sidecar_oracle", "transform": "format_convert_webp", "check": "manifest_present", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> WebP q90" }, { "config": "sidecar_oracle", "transform": "format_convert_webp", "check": "digital_source_type", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> WebP q90" }, { "config": "sidecar_oracle", "transform": "format_convert_webp", "check": "signature_valid", "survived": 20, "destroyed": 0, "unmeasured": 0, "n_measured": 20, "rate": 1.0, "ci": [ 0.8389, 1.0 ], "outcome": "survived", "predicted": "survived", "desc": "JPEG -> WebP q90" }, { "config": "sidecar_oracle", "transform": "format_convert_webp", "check": "binding_intact", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "sidecar_oracle", "transform": "format_convert_webp", "check": "issuer_resolvable", "survived": 0, "destroyed": 20, "unmeasured": 0, "n_measured": 20, "rate": 0.0, "ci": [ 0.0, 0.1611 ], "outcome": "destroyed", "predicted": "destroyed", "desc": "JPEG -> WebP q90" }, { "config": "sidecar_oracle", "transform": "format_convert_heic", "check": "manifest_present", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "sidecar_oracle", "transform": "format_convert_heic", "check": "digital_source_type", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "sidecar_oracle", "transform": "format_convert_heic", "check": "signature_valid", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "sidecar_oracle", "transform": "format_convert_heic", "check": "binding_intact", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" }, { "config": "sidecar_oracle", "transform": "format_convert_heic", "check": "issuer_resolvable", "survived": 0, "destroyed": 0, "unmeasured": 20, "n_measured": 0, "rate": null, "ci": null, "outcome": "unmeasured", "predicted": "unmeasured", "desc": "JPEG -> HEIC (no encoder available)" } ], "pooled_by_check": [ { "config": "embedded_only", "check": "manifest_present", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "embedded_only", "check": "digital_source_type", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "embedded_only", "check": "signature_valid", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "embedded_only", "check": "binding_intact", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "embedded_only", "check": "issuer_resolvable", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "sidecar_oracle", "check": "manifest_present", "survived": 180, "destroyed": 0, "unmeasured": 20, "n_measured": 180, "rate": 1.0, "ci": [ 0.9791, 1.0 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 20, "ci_clustered": [ 0.8389, 1.0 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "20 of 20 assets survived (180 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "sidecar_oracle", "check": "digital_source_type", "survived": 180, "destroyed": 0, "unmeasured": 20, "n_measured": 180, "rate": 1.0, "ci": [ 0.9791, 1.0 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 20, "ci_clustered": [ 0.8389, 1.0 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "20 of 20 assets survived (180 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "sidecar_oracle", "check": "signature_valid", "survived": 180, "destroyed": 0, "unmeasured": 20, "n_measured": 180, "rate": 1.0, "ci": [ 0.9791, 1.0 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 20, "ci_clustered": [ 0.8389, 1.0 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "20 of 20 assets survived (180 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "sidecar_oracle", "check": "binding_intact", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." }, { "config": "sidecar_oracle", "check": "issuer_resolvable", "survived": 0, "destroyed": 180, "unmeasured": 20, "n_measured": 180, "rate": 0.0, "ci": [ 0.0, 0.0209 ], "ci_note": "unclustered \u2014 too narrow; see ci_clustered", "n_assets": 20, "assets_fully_surviving": 0, "ci_clustered": [ 0.0, 0.1611 ], "cp_upper_one_sided_95": 0.1391, "cp_upper_two_sided_95": 0.1684, "headline": "0 of 20 assets survived (0 of 180 measured cells). One-sided 95% Clopper-Pearson upper bound on per-asset survival: 13.9%. The interval is computed at n=20 ASSETS, not n=180 cells \u2014 the cells are clustered within assets and are not independent trials.", "uncertainty_is": "EXTERNAL VALIDITY, not measurement noise. A hard binding is a cryptographic hash over asset bytes, so re-running any cell reproduces the identical outcome with probability 1 \u2014 the run-to-run (Type A, per JCGM 100:2008) uncertainty is structurally zero. The bound quantifies generalisation to unseen assets and transforms, nothing else." } ], "config_comparison": [ { "check": "manifest_present", "embedded_only": 0.0, "sidecar_oracle": 1.0, "delta": 1.0, "ci_overlap": false, "embedded_ci_clustered": [ 0.0, 0.1611 ], "sidecar_ci_clustered": [ 0.8389, 1.0 ], "verdict": "SEPARATED \u2014 sidecar_oracle is ABOVE embedded_only by +100.0 points (sign read, not just significance)" }, { "check": "digital_source_type", "embedded_only": 0.0, "sidecar_oracle": 1.0, "delta": 1.0, "ci_overlap": false, "embedded_ci_clustered": [ 0.0, 0.1611 ], "sidecar_ci_clustered": [ 0.8389, 1.0 ], "verdict": "SEPARATED \u2014 sidecar_oracle is ABOVE embedded_only by +100.0 points (sign read, not just significance)" }, { "check": "signature_valid", "embedded_only": 0.0, "sidecar_oracle": 1.0, "delta": 1.0, "ci_overlap": false, "embedded_ci_clustered": [ 0.0, 0.1611 ], "sidecar_ci_clustered": [ 0.8389, 1.0 ], "verdict": "SEPARATED \u2014 sidecar_oracle is ABOVE embedded_only by +100.0 points (sign read, not just significance)" }, { "check": "binding_intact", "embedded_only": 0.0, "sidecar_oracle": 0.0, "delta": 0.0, "ci_overlap": true, "embedded_ci_clustered": [ 0.0, 0.1611 ], "sidecar_ci_clustered": [ 0.0, 0.1611 ], "verdict": "TIED \u2014 intervals overlap; {embedded_only, sidecar_oracle}. Rates are exactly equal; no n separates them." }, { "check": "issuer_resolvable", "embedded_only": 0.0, "sidecar_oracle": 0.0, "delta": 0.0, "ci_overlap": true, "embedded_ci_clustered": [ 0.0, 0.1611 ], "sidecar_ci_clustered": [ 0.0, 0.1611 ], "verdict": "TIED \u2014 intervals overlap; {embedded_only, sidecar_oracle}. Rates are exactly equal; no n separates them." } ], "prediction_disagreements": [], "unmeasured_reasons": { "format_convert_heic": "TransformUnavailable: no HEIF encoder: KeyError: 'HEIF'" }, "caveats": [ "A surviving signature proves PROVENANCE, NOT CORRECTNESS. It states that these bytes carry a claim signed by this key with this declared history. It says nothing about whether the content is accurate, safe, or lawful.", "Our certificate chains to a PRIVATE ROOT CA that is NOT on the C2PA trust list. 'signingCredential.untrusted' appears in the failure list of every manifest here, including the untouched control. issuer_resolvable is therefore 0% everywhere by construction \u2014 it is a property of the credential, not damage from a transform. Article 50 conformity needs a production certificate from a CA on the C2PA trust list.", "sidecar_oracle is the MOST FAVOURABLE assumption available: the harness hands the detached manifest straight to the verifier. In the field you must first work out which sidecar belongs to which asset, and after a crop or re-encode you cannot do that by hash. Its manifest_present and digital_source_type rates are TRUE BY CONSTRUCTION and are an upper bound, not a deployment result.", "Transforms are applied by Pillow. A different re-encoder (libvips, ImageMagick, a phone ISP, a CDN) may behave differently; some deliberately preserve APP11. This measures the common case, not every case.", "n is the number of marked assets per cell, and it is small. 0 survivors out of 12 still admits a true survival rate up to ~24%. Quote ci_clustered, not ci: the unclustered pooled interval treats the same 12 assets as 108 independent trials and is too narrow. Both are printed so the difference is visible rather than chosen.", "signature_valid means the CLAIM SIGNATURE VERIFIES AND THE ASSERTION HASHED-URIs MATCH. It does NOT mean the manifest is unaltered. Measured over 200 random single-bit flips in a detached manifest store: 69% caught by hashedURI, 3% by the claim signature, 26% by NEITHER. Those 26% still fail binding_intact, so nothing here is a hole in C2PA \u2014 but the check is narrower than its name and is used accordingly.", "A manifest lifted from a DIFFERENT asset also reports signature_valid=survived \u2014 measured, not assumed. binding_intact is the only check that catches it. A verifier that reports 'signature valid' without reporting the binding is telling you almost nothing.", "No soft binding (watermark) and no cloud manifest recovery are tested. Both exist precisely because embedded manifests do not survive, so a real Article 50 durability programme would have to measure them too. Their absence here is COVERAGE MISSING, not evidence that they fail." ], "corpus_anchor": { "corpus_root": "3729b52eb469b77c6501056889460e9fcd45fc0127bc59b002863b28db3ef01d", "provisions": 417, "normaliser_version": "1.0.0", "anchored_at": "2026-07-30T07:41:28.517692+00:00", "retro": false, "note": "Anchored at write time by anchored_write.write_result()." }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024#!/usr/bin/env python3"""provbench.py — does an EU AI Act Article 50 provenance marking SURVIVE?
═══════════════════════════════════════════════════════════════════════════════WHY THIS EXISTS═══════════════════════════════════════════════════════════════════════════════`c2pa_manifest.py` proved we can EMIT a real Article 50 marking: `validation_state Valid`,Ed25519, `digitalSourceType trainedAlgorithmicMedia`. Emission is the easy half.
Article 50(2) requires the marking to be **effective, interoperable, robust and reliable**"as far as this is technically feasible". A marking that is destroyed the first time theasset is re-saved by a phone, a CMS, or a chat client is none of those things. Nobodypublishes a number for how often that happens. This measures it.
The result is deliberately uncomfortable: emission is solved and survival is not, anda compliance story built on emission alone is a story about the wrong half.
═══════════════════════════════════════════════════════════════════════════════⚠️ PRE-REGISTERED PREDICTIONS — WRITTEN BEFORE THE FIRST RUN═══════════════════════════════════════════════════════════════════════════════Recorded here, and encoded in PREDICTION below, so the harness cannot be tuned to agreewith itself afterwards. Every disagreement is printed under PREDICTION vs OBSERVED and istreated as EITHER a finding OR a harness bug — never as a success.
**embedded_only** (the manifest lives in the file, nothing else is retained): · identity ................. manifest/dst/signature/binding all SURVIVE · everything else .......... ALL DESTROYED. A C2PA manifest is an APP11/JUMBF segment; any library that re-serialises the container drops it. In particular I predict **JPEG quality is irrelevant** — q90, q70 and q50 destroy it equally, because the manifest is metadata and not pixels. If q90 survives and q50 does not, the harness is measuring pixel similarity somewhere and is wrong. · strip_metadata ........... DESTROYED. This is the sanity anchor. **If deliberately removing every APPn segment leaves the manifest readable, suspect the harness before celebrating** — the most likely explanation is that the strip did not run.
**sidecar_oracle** (the manifest is also kept as a detached `.c2pa` and handed straightto the verifier — the most favourable assumption available, see CAVEATS): · manifest / digitalSourceType ... SURVIVE everywhere. This is TRUE BY CONSTRUCTION and is labelled as such in the output. It is reported because it is the disclosure Article 50 actually asks for, not because it is an achievement. · signature ................ SURVIVES. The signature covers the claim, not the pixels. · binding .................. DESTROYED for every pixel-changing transform: the claim's hard binding is a hash of the asset bytes. · binding under strip_metadata ... DESTROYED, predicted with low confidence. Pixels are bit-identical, but the data-hash exclusion range is expressed in byte offsets that the strip moves.
**issuer_resolvable** ......... DESTROYED in every cell **including the untouched control**. Our certificate chains to a private root that is not on the C2PA trust list. This is not a transform result. It is printed as a permanent floor so that no reader mistakes the row for damage caused by a transform.
**format_convert_heic** ....... UNMEASURED. Pillow has no HEIC encoder here, so the transform cannot be applied. It is retained precisely because the benchmark must exercise the UNMEASURED path on real, not simulated, unavailability.
═══════════════════════════════════════════════════��═══════════════════════════HOUSE RULES THIS FILE OBEYS═══════════════════════════════════════════════════════════════════════════════1. **Three outcomes, never two.** SURVIVED / DESTROYED / **UNMEASURED**. A transform that could not be applied, or a container the verifier cannot open, is UNMEASURED and is excluded from BOTH the numerator and the denominator — never scored as a failure. Enforced with typed exceptions (`TransformUnavailable`, `VerifierUnsupported`, `AssetUnsigned`), not with default return values, because a default return value is how an unrun test becomes a zero.2. **Intervals, not rankings.** Wilson 95% on every rate, via `rank_intervals.wilson`. Overlapping intervals print a TIED SET and no winner.3. **Verdicts read the SIGN as well as the significance.** A separation is reported as "A above B" or "A BELOW B" from the sign of the difference. Checking only that an interval excludes zero is how a −9.16 got printed as "beats".4. Predictions are above, and were written before the first run.5. A surviving signature proves **provenance, not correctness**. It says these bytes came from this signer with this declared history. It says nothing about whether the content is true, safe, or lawful. And our signer is a private root **not on the C2PA trust list**, so every verifier reports it as unknown: `signingCredential.untrusted` is in the failure list of *every* manifest this file produces, including the control.
python3 provbench.py --selftest python3 provbench.py # full run, writes benchmark-results/provbench.json python3 provbench.py --assets 24"""from __future__ import annotations
import argparseimport ioimport jsonimport osimport sysfrom datetime import datetime, timezonefrom pathlib import Path
HERE = Path(__file__).resolve().parentsys.path.insert(0, str(HERE))
# 2026-07-29 — these lived under /tmp and /tmp is cleared. The consequence was not a slow# rebuild: it was that a benchmark which passed 15/15 in the morning could not be run at all# by the afternoon, so its published result was unreproducible on any fresh machine. That is# the same defect that lost the n=195 headline's per-item rows. An artefact whose evidence# lives in a directory the OS deletes is not an artefact.# XDG_CACHE_HOME is honoured; /tmp is still read as a fallback so an existing venv is reused# rather than rebuilt, but nothing is ever CREATED there any more._CACHE = Path(os.environ.get("XDG_CACHE_HOME", Path.home() / ".cache")) / "csoai"_LEGACY = Path("/tmp")
def _pick(name: str) -> Path: durable, legacy = _CACHE / name, _LEGACY / name if not durable.exists() and legacy.exists(): return legacy return durable
VENV_DIR = _pick("c2pa-venv")VENV = VENV_DIR / "bin" / "python"KEYS = _pick("c2pa-keys")CHAIN = KEYS / "chain.pem"LEAF_KEY = KEYS / "leaf.key.pem"TSA = b"http://timestamp.digicert.com"TRAINED = "trainedAlgorithmicMedia"
SURVIVED, DESTROYED, UNMEASURED = "survived", "destroyed", "unmeasured"
# ── Typed absences ─────────────────────────────────────────────────# Each of these means "no measurement exists", and each is a DIFFERENT reason. They are# exceptions rather than sentinel return values so that a caller cannot accidentally# arithmetic them into an average.
class EnvironmentMissing(Exception): """The signing environment is absent. Nothing can be measured; nothing is scored."""
class AssetUnsigned(Exception): """This asset could not be marked in the first place, so its survival is undefined. The whole asset is dropped from every denominator — it is not a row of zeros."""
class TransformUnavailable(Exception): """The transform could not be applied (no encoder, unreadable container, decode error). Every check for that cell is UNMEASURED. Scoring an unrun transform as 'destroyed' is the exact defect this estate has spent its time removing."""
class VerifierUnsupported(Exception): """The transform produced a container the C2PA reader cannot open at all. We do not know whether the marking survived — we know we cannot look. UNMEASURED, not destroyed."""
# ── Environment ────────────────────────────────────────────────────
def _ensure_runtime() -> None: """Re-exec under the c2pa venv rather than importing a library that is not there.
If this is skipped, `import c2pa` raises and a naive harness reports every transform as a failure — which would be a 0% survival headline produced by a missing dependency.""" try: import c2pa # noqa: F401 import PIL # noqa: F401 return except ImportError: pass if os.environ.get("PROVBENCH_REEXEC"): raise EnvironmentMissing( "c2pa/Pillow unavailable even under the venv — nothing measurable") if not VENV.exists(): raise EnvironmentMissing( f"no c2pa venv at {VENV}. Build it durably (NOT in /tmp — it gets cleared):\n" f" python3 -m venv {VENV_DIR} && " f"{VENV_DIR}/bin/pip install c2pa-python pillow") os.environ["PROVBENCH_REEXEC"] = "1" os.execv(str(VENV), [str(VENV), str(Path(__file__).resolve()), *sys.argv[1:]])
def _make_signer(timestamped: bool): from c2pa import Signer, C2paSignerInfo if not (CHAIN.exists() and LEAF_KEY.exists()): raise EnvironmentMissing(f"no signing credential at {KEYS}") # NOTE 2026-08-01: bench credential is a root→intermediate→leaf ES256 chain minted at # ~/.cache/csoai/c2pa-keys — the C2PA cert profile rejects ad-hoc chains (it wants EKU # emailProtection + KU digitalSignature/nonRepudiation, verified empirically against # c2pa-python 0.37.2). Untimestamped signing is NOT possible in this lib version # (ta_url=None rejected at construction; ta_url=b"" fails at sign time with 'empty # string'), so the offline path honestly reports UNMEASURED rather than signing weakly. return Signer.from_info(C2paSignerInfo( alg=b"es256", sign_cert=CHAIN.read_bytes(), private_key=LEAF_KEY.read_bytes(), ta_url=TSA if timestamped else b""))
def _signer_with_fallback(probe: bytes): """Prefer an RFC-3161 timestamped signature; fall back to untimestamped if the TSA is unreachable, and RECORD WHICH WAS USED.
The first version of this only caught a TSA failure when the Signer was constructed, but the network call happens at sign time — so an offline run raised AssetUnsigned for every asset and the whole benchmark reported 'nothing measurable'. That was the correct refusal (it did not invent zeros), but it was refusing over the wrong thing: a missing timestamp does not make the marking unmeasurable. An untimestamped signature is a real signature with a weaker claim, and the weakening is named in the output rather than hidden.""" try: s = _make_signer(True) sign(probe, "__tsa_probe__", s) return s, "rfc3161" except EnvironmentMissing: raise except Exception as e: why = str(e)[:120] return _make_signer(False), f"none (TSA unreachable: {why})"
# ── Assets ─────────────────────────────────────────────────────────
def make_assets(n: int) -> list[tuple[str, bytes]]: """Deterministic JPEG sources: flat, gradient, noise, and mixed, across sizes.
Variety matters because a marking that survives on a flat 64x64 and dies on a noisy 512x512 would be a compression-threshold effect, and we want to be able to see that rather than assume it away.""" import random from PIL import Image out = [] kinds = ["flat", "gradient", "noise", "blocks"] sizes = [(64, 64), (200, 150), (320, 320), (512, 384)] for i in range(n): kind = kinds[i % len(kinds)] w, h = sizes[(i // len(kinds)) % len(sizes)] rnd = random.Random(1000 + i) img = Image.new("RGB", (w, h)) px = img.load() if kind == "flat": img.paste((rnd.randrange(256), rnd.randrange(256), rnd.randrange(256)), (0, 0, w, h)) elif kind == "gradient": for y in range(h): for x in range(w): px[x, y] = (x * 255 // max(1, w - 1), y * 255 // max(1, h - 1), 128) elif kind == "noise": for y in range(h): for x in range(w): px[x, y] = (rnd.randrange(256), rnd.randrange(256), rnd.randrange(256)) else: for y in range(h): for x in range(w): px[x, y] = (0, 0, 0) if ((x // 16) + (y // 16)) % 2 else (255, 255, 255) b = io.BytesIO() img.save(b, "JPEG", quality=95) out.append((f"{kind}_{w}x{h}_{i}", b.getvalue())) return out
def manifest_json(asset_id: str) -> dict: """Same shape `c2pa_manifest.py` emits — the marking under test is OUR marking, not a reference one, so the number describes the thing we would actually ship.""" return { "title": f"AI-generated content [{asset_id}]", "claim_generator_info": [{"name": "csoai-provbench", "version": "0.1.0"}], "assertions": [ {"label": "c2pa.actions", "data": {"actions": [{ "action": "c2pa.created", "digitalSourceType": f"http://cv.iptc.org/newscodes/digitalsourcetype/{TRAINED}", "softwareAgent": {"name": "csoai-govbench"}, }]}}, {"label": "org.csoai.provenance", "data": {"asset_id": asset_id, "marking_basis": "EU AI Act Art 50(2)", "trust_status": "TEST CREDENTIAL — private root CA, NOT on the " "C2PA trust list"}}, ], }
def sign(source: bytes, asset_id: str, signer) -> tuple[bytes, bytes]: """Returns (signed asset bytes, detached manifest bytes). Raises AssetUnsigned.""" from c2pa import Builder try: with Builder(json.dumps(manifest_json(asset_id))) as b: dst = io.BytesIO() mbytes = b.sign(signer, "image/jpeg", io.BytesIO(source), dst) return dst.getvalue(), bytes(mbytes) except Exception as e: raise AssetUnsigned(f"{asset_id}: {type(e).__name__}: {e}") from e
# ── Transforms ─────────────────────────────────────────────────────# Each returns (bytes, mime). Each raises TransformUnavailable if it cannot be applied.
def _pil_open(data: bytes): from PIL import Image try: im = Image.open(io.BytesIO(data)) im.load() return im.convert("RGB") except Exception as e: raise TransformUnavailable(f"decode failed: {type(e).__name__}: {e}") from e
def _save(im, fmt: str, mime: str, **kw) -> tuple[bytes, str]: try: o = io.BytesIO() im.save(o, fmt, **kw) return o.getvalue(), mime except Exception as e: raise TransformUnavailable(f"no {fmt} encoder: {type(e).__name__}: {e}") from e
def t_identity(d: bytes) -> tuple[bytes, str]: """Control. Not a transform — the row that tells you the harness can see a live marking at all. If identity does not survive, no other row means anything.""" return d, "image/jpeg"
def _reencode(q: int): def f(d: bytes) -> tuple[bytes, str]: return _save(_pil_open(d), "JPEG", "image/jpeg", quality=q) return f
def t_resize_50(d: bytes) -> tuple[bytes, str]: from PIL import Image im = _pil_open(d) im = im.resize((max(1, im.width // 2), max(1, im.height // 2)), Image.LANCZOS) return _save(im, "JPEG", "image/jpeg", quality=95)
def t_crop_10(d: bytes) -> tuple[bytes, str]: im = _pil_open(d) dx, dy = max(1, im.width // 20), max(1, im.height // 20) im = im.crop((dx, dy, im.width - dx, im.height - dy)) return _save(im, "JPEG", "image/jpeg", quality=95)
def t_strip_metadata(d: bytes) -> tuple[bytes, str]: """Remove every APPn and COM segment, leaving the entropy-coded scan BIT-IDENTICAL.
This is the sanity anchor and it is written by hand rather than delegated to Pillow on purpose: a re-encode would also destroy the manifest, and then a passing 'strip' row would prove nothing about stripping. Here the pixels are untouched, so anything that dies died because its metadata was removed.""" if d[:2] != b"\xff\xd8": raise TransformUnavailable("not a JPEG — cannot strip APPn segments") out = bytearray(b"\xff\xd8") i, removed = 2, 0 while i < len(d): if d[i] != 0xFF: raise TransformUnavailable(f"JPEG marker desync at byte {i}") while i < len(d) and d[i] == 0xFF: i += 1 if i >= len(d): raise TransformUnavailable("truncated JPEG") marker = d[i] i += 1 if marker == 0xD9: out += b"\xff\xd9" break if marker == 0xDA: # SOS: rest of file is scan data out += bytes([0xFF, marker]) + d[i:] break if i + 2 > len(d): raise TransformUnavailable("truncated segment header") seglen = int.from_bytes(d[i:i + 2], "big") seg = d[i:i + seglen] if 0xE0 <= marker <= 0xEF or marker == 0xFE: removed += 1 else: out += bytes([0xFF, marker]) + seg i += seglen if removed == 0: # Nothing was stripped, so a "survived" here would be identity wearing a costume. raise TransformUnavailable("no APPn/COM segments present to strip") return bytes(out), "image/jpeg"
def t_screenshot(d: bytes) -> tuple[bytes, str]: """Screenshot-equivalent: rasterise, scale down and back up (the Retina capture path), save as PNG. No container metadata can survive a screen capture, so this is the upper bound on what screenshotting preserves.""" from PIL import Image im = _pil_open(d) small = im.resize((max(1, im.width // 2), max(1, im.height // 2)), Image.LANCZOS) im = small.resize((im.width, im.height), Image.LANCZOS) return _save(im, "PNG", "image/png")
def t_to_png(d: bytes) -> tuple[bytes, str]: return _save(_pil_open(d), "PNG", "image/png")
def t_to_webp(d: bytes) -> tuple[bytes, str]: return _save(_pil_open(d), "WEBP", "image/webp", quality=90)
def t_to_heic(d: bytes) -> tuple[bytes, str]: """Pillow has no HEIC encoder without pillow-heif. Kept in the suite because the UNMEASURED path must be exercised by a real unavailability, not a simulated one — and because HEIC is what an iPhone actually produces, so this is a gap in COVERAGE that a reader deserves to see named rather than quietly dropped from the transform list.""" return _save(_pil_open(d), "HEIF", "image/heic")
TRANSFORMS = [ ("identity", t_identity, "control — no modification"), ("reencode_jpeg_q90", _reencode(90), "JPEG re-encode at quality 90"), ("reencode_jpeg_q70", _reencode(70), "JPEG re-encode at quality 70"), ("reencode_jpeg_q50", _reencode(50), "JPEG re-encode at quality 50"), ("resize_50pct", t_resize_50, "downscale to 50% linear"), ("crop_10pct", t_crop_10, "crop 5% from each edge"), ("strip_metadata", t_strip_metadata, "remove all APPn/COM, pixels bit-identical"), ("screenshot_equiv", t_screenshot, "rasterise + rescale + PNG — a SIMULATION of a screen capture, not a real one. Every other transform in this battery is applied to real signed bytes by a real encoder; this one models what a screenshot does rather than taking one. It is labelled so the distinction travels with the result. (The modelling is conservative: a real screenshot discards the container entirely, so it cannot preserve a manifest that this simulation destroys.)"), ("format_convert_png", t_to_png, "JPEG -> PNG"), ("format_convert_webp", t_to_webp, "JPEG -> WebP q90"), ("format_convert_heic", t_to_heic, "JPEG -> HEIC (no encoder available)"),]
CHECKS = ["manifest_present", "digital_source_type", "signature_valid", "binding_intact", "issuer_resolvable"]
CONFIGS = ["embedded_only", "sidecar_oracle"]
# ── Verification ───────────────────────────────────────────────────
def verify(data: bytes, mime: str, sidecar: bytes | None) -> dict[str, str]: """Return {check: SURVIVED|DESTROYED} for one transformed asset.
A missing manifest is a REAL measurement: the property is gone, so DESTROYED is correct. UNMEASURED is reserved for the cases where we could not look at all, and those raise rather than return.""" import c2pa from c2pa import Reader if mime not in Reader.get_supported_mime_types(): raise VerifierUnsupported(f"reader cannot open {mime}")
dead = {c: DESTROYED for c in CHECKS} try: reader = Reader(mime, io.BytesIO(data), sidecar) if sidecar is not None \ else Reader(mime, io.BytesIO(data)) except Exception as e: name = type(e).__name__ if "ManifestNotFound" in name or "manifest" in str(e).lower(): return dead # genuinely absent — a measurement if "NotSupported" in name or "unsupported" in str(e).lower(): raise VerifierUnsupported(f"{name}: {e}") from e return dead
try: doc = json.loads(reader.json()) vres = reader.get_validation_results() or {} except Exception as e: raise VerifierUnsupported(f"reader produced no report: {type(e).__name__}: {e}") from e
mans = doc.get("manifests") or {} active = doc.get("active_manifest") or doc.get("activeManifest") man = mans.get(active) if active in mans else next(iter(mans.values()), None) if not man: return dead
am = vres.get("activeManifest", {}) or {} ok = {x.get("code") for x in am.get("success", [])} bad = {x.get("code") for x in am.get("failure", [])}
dst = None for a in man.get("assertions", []): if str(a.get("label", "")).startswith("c2pa.actions"): for act in (a.get("data") or {}).get("actions", []): v = act.get("digitalSourceType") if v: dst = v.rsplit("/", 1)[-1]
# `signature_valid` means: the claim signature verifies AND every assertion the signed # claim points at still hashes to what the claim says. # # 2026-07-29 — the first version of this checked only `claimSignature.validated`, and an # adversarial probe showed it was too weak: flipping bytes inside the manifest store # left it reporting SURVIVED, because the claim signature covers the claim, not the # assertions hanging off it. Adding the hashedURI condition closes most of that. # MEASURED, and stated because it is still not all of it: over 200 random single-bit # flips in a detached manifest store, 69% were caught by assertion.hashedURI.mismatch, # 3% by the claim signature, and **26% by neither**. Those 26% are still rejected # overall — they fail `binding_intact` — but a reader who takes `signature_valid` to # mean "the manifest is unaltered" would be wrong 26% of the time, so it does not mean # that and the output says so. sig_ok = ("claimSignature.validated" in ok) and not any( c.startswith("claimSignature.") and c.endswith((".mismatch", ".missing")) for c in bad) and not any("hashedURI.mismatch" in c for c in bad) binding_ok = not any("dataHash" in c or "bmff" in c.lower() or "boxHash" in c for c in bad) trusted = "signingCredential.untrusted" not in bad and \ str(reader.get_validation_state()) in ("Trusted", "ValidationState.Trusted")
return { "manifest_present": SURVIVED, "digital_source_type": SURVIVED if dst == TRAINED else DESTROYED, "signature_valid": SURVIVED if sig_ok else DESTROYED, "binding_intact": SURVIVED if binding_ok else DESTROYED, "issuer_resolvable": SURVIVED if trusted else DESTROYED, }
# ── Pre-registered prediction, machine-readable ────────────────────
def predict(config: str, transform: str, check: str) -> str: if transform == "format_convert_heic": return UNMEASURED if check == "issuer_resolvable": return DESTROYED # permanent floor, private root CA if transform == "identity": return SURVIVED if config == "embedded_only": return DESTROYED return DESTROYED if check == "binding_intact" else SURVIVED
# ── Run ────────────────────────────────────────────────────────────
def run(n_assets: int, verbose: bool = True) -> dict: _ensure_runtime() import c2pa
assets = make_assets(n_assets) signer, ts_mode = _signer_with_fallback(assets[0][1]) signed, unsigned = [], [] for aid, src in assets: try: sbytes, mbytes = sign(src, aid, signer) signed.append((aid, sbytes, mbytes)) except AssetUnsigned as e: unsigned.append(str(e)) # absent, not zero if not signed: raise EnvironmentMissing(f"no asset could be marked: {unsigned[:2]}") if verbose: print(f" marked {len(signed)}/{len(assets)} assets " f"(timestamp: {ts_mode}){'' if not unsigned else f'; {len(unsigned)} unsigned'}")
# results[config][transform][check] -> list of outcomes results = {c: {t[0]: {k: [] for k in CHECKS} for t in TRANSFORMS} for c in CONFIGS} reasons: dict[str, str] = {}
for aid, sbytes, mbytes in signed: for tname, tfn, _desc in TRANSFORMS: try: tdata, mime = tfn(sbytes) except TransformUnavailable as e: reasons.setdefault(f"{tname}", f"TransformUnavailable: {e}") for cfg in CONFIGS: for k in CHECKS: results[cfg][tname][k].append(UNMEASURED) continue for cfg in CONFIGS: side = mbytes if cfg == "sidecar_oracle" else None try: out = verify(tdata, mime, side) except VerifierUnsupported as e: reasons.setdefault(f"{cfg}/{tname}", f"VerifierUnsupported: {e}") out = {k: UNMEASURED for k in CHECKS} except Exception as e: reasons.setdefault(f"{cfg}/{tname}", f"{type(e).__name__}: {e}") out = {k: UNMEASURED for k in CHECKS} for k in CHECKS: results[cfg][tname][k].append(out[k])
return {"results": results, "n_signed": len(signed), "unsigned": unsigned, "reasons": reasons, "ts_mode": ts_mode, "sdk": c2pa.sdk_version(), "assets": [a for a, _ in assets]}
# ── Aggregation & report ───────────────────────────────────────────
def cells(results: dict) -> list[dict]: from rank_intervals import wilson rows = [] for cfg in CONFIGS: for tname, _fn, desc in TRANSFORMS: for k in CHECKS: outs = results[cfg][tname][k] s = outs.count(SURVIVED) d = outs.count(DESTROYED) u = outs.count(UNMEASURED) n = s + d if n == 0: rows.append({"config": cfg, "transform": tname, "check": k, "survived": s, "destroyed": d, "unmeasured": u, "n_measured": 0, "rate": None, "ci": None, "outcome": UNMEASURED, "predicted": predict(cfg, tname, k), "desc": desc}) continue lo, hi = wilson(s, n) rows.append({"config": cfg, "transform": tname, "check": k, "survived": s, "destroyed": d, "unmeasured": u, "n_measured": n, "rate": round(s / n, 4), "ci": [round(lo, 4), round(hi, 4)], "outcome": SURVIVED if s == n else (DESTROYED if s == 0 else "mixed"), "predicted": predict(cfg, tname, k), "desc": desc}) return rows
def by_check(rows: list[dict], results: dict | None = None, exclude_identity: bool = True) -> list[dict]: """Survival rate per (config, check) pooled over transforms.
Identity is excluded by default: it is the control, and pooling it in would inflate every rate with a row that was never transformed.
═══════════════════════════════════════════════════════════════════════════ TWO INTERVALS, AND THE NARROW ONE IS THE WRONG ONE ═══════════════════════════════════════════════════════════════════════════ `ci` treats every (asset, transform) pair as an independent Bernoulli trial. It is NOT: the same 12 assets appear under all 9 transforms, so the trials are clustered by asset and that interval is too narrow — 0/108 reads as [0, 3.4%] when the experiment only ever saw 12 independent things. This is the clustered-SE problem `rank_intervals` already flags for the model board, arriving here for the same reason.
`ci_clustered` is the conservative one: n is the number of ASSETS, and an asset counts as a survivor only if every measured transform on it survived. Quote this one. The unclustered interval is kept alongside solely so the difference is visible instead of being a choice made quietly. """ from rank_intervals import wilson out = [] for cfg in CONFIGS: for k in CHECKS: sel = [r for r in rows if r["config"] == cfg and r["check"] == k and not (exclude_identity and r["transform"] == "identity")] s = sum(r["survived"] for r in sel) d = sum(r["destroyed"] for r in sel) u = sum(r["unmeasured"] for r in sel) n = s + d lo, hi = wilson(s, n) if n else (0.0, 1.0) row = {"config": cfg, "check": k, "survived": s, "destroyed": d, "unmeasured": u, "n_measured": n, "rate": round(s / n, 4) if n else None, "ci": [round(lo, 4), round(hi, 4)] if n else None, "ci_note": "unclustered — too narrow; see ci_clustered"} if results is not None: names = [t[0] for t in TRANSFORMS if not (exclude_identity and t[0] == "identity")] per_asset, n_assets = [], 0 for i in range(max((len(results[cfg][t][k]) for t in names), default=0)): obs = [results[cfg][t][k][i] for t in names if i < len(results[cfg][t][k]) and results[cfg][t][k][i] != UNMEASURED] if not obs: continue # asset wholly UNMEASURED here n_assets += 1 per_asset.append(all(o == SURVIVED for o in obs)) kc = sum(per_asset) clo, chi = wilson(kc, n_assets) if n_assets else (0.0, 1.0) row["n_assets"] = n_assets row["assets_fully_surviving"] = kc row["ci_clustered"] = [round(clo, 4), round(chi, 4)] if n_assets else None # ── THE PAIRING, MADE UNAMBIGUOUS ────────────────────────────────────── # The interval and the n MUST travel together or the result is indefensible. # 24.2% is the Wilson two-sided bound at n=12 ASSETS; at n=108 cells the # bound is 3.4%. Quoting the wide (cluster) interval beside the large (trial) # n is internally inconsistent, and it is the single most exploitable error # available to a hostile reviewer: they recompute 3.4% from n=108 and reject # the whole analysis. So the artefact now carries a pre-formatted headline # that cannot be split, plus the exact Clopper-Pearson bound, which is what # is recommended at X=0 (Wald and Agresti-Coull are documented to fail there). import math as _m cp1 = 1 - 0.05 ** (1 / n_assets) if n_assets else None # one-sided 95% cp2 = 1 - 0.025 ** (1 / n_assets) if n_assets else None # two-sided 95% row["cp_upper_one_sided_95"] = round(cp1, 4) if cp1 else None row["cp_upper_two_sided_95"] = round(cp2, 4) if cp2 else None row["headline"] = ( f"{kc} of {n_assets} assets survived ({s} of {n} measured cells). " f"One-sided 95% Clopper-Pearson upper bound on per-asset survival: " f"{cp1*100:.1f}%. The interval is computed at n={n_assets} ASSETS, not " f"n={n} cells — the cells are clustered within assets and are not " f"independent trials." if n_assets else None) row["uncertainty_is"] = ( "EXTERNAL VALIDITY, not measurement noise. A hard binding is a " "cryptographic hash over asset bytes, so re-running any cell reproduces " "the identical outcome with probability 1 — the run-to-run (Type A, per " "JCGM 100:2008) uncertainty is structurally zero. The bound quantifies " "generalisation to unseen assets and transforms, nothing else.") out.append(row) return out
def compare(bc: list[dict]) -> list[dict]: """embedded_only vs sidecar_oracle, per check.
Reports a TIED SET when the Wilson intervals overlap. When they separate it reports the DIRECTION FROM THE SIGN of the difference — an interval that excludes zero is not by itself a claim that the first arm is better, and a previous tool here printed 'beats' for a Δ of −9.16 by making exactly that mistake.
Uses the CLUSTERED interval, which is the wider one, so a separation reported here is not an artefact of counting the same assets once per transform.""" from rank_intervals import items_to_resolve idx = {(r["config"], r["check"]): r for r in bc} out = [] for k in CHECKS: a, b = idx[("embedded_only", k)], idx[("sidecar_oracle", k)] if a["n_measured"] == 0 or b["n_measured"] == 0: out.append({"check": k, "verdict": "UNMEASURED — no comparable cells"}) continue aci = a.get("ci_clustered") or a["ci"] bci = b.get("ci_clustered") or b["ci"] delta = b["rate"] - a["rate"] overlap = not (aci[1] < bci[0] or bci[1] < aci[0]) if overlap: need = items_to_resolve(a["rate"], b["rate"]) verdict = ("TIED — intervals overlap; {embedded_only, sidecar_oracle}. " + (f"~{need} assets/config would be needed to separate." if need else "Rates are exactly equal; no n separates them.")) else: direction = "ABOVE" if delta > 0 else "BELOW" verdict = (f"SEPARATED — sidecar_oracle is {direction} embedded_only " f"by {delta*100:+.1f} points (sign read, not just significance)") out.append({"check": k, "embedded_only": a["rate"], "sidecar_oracle": b["rate"], "delta": round(delta, 4), "ci_overlap": overlap, "embedded_ci_clustered": aci, "sidecar_ci_clustered": bci, "verdict": verdict}) return out
def disagreements(rows: list[dict]) -> list[dict]: out = [] for r in rows: obs = r["outcome"] if obs != r["predicted"]: out.append({"config": r["config"], "transform": r["transform"], "check": r["check"], "predicted": r["predicted"], "observed": obs, "rate": r["rate"], "n_measured": r["n_measured"]}) return out
CAVEATS = [ "A surviving signature proves PROVENANCE, NOT CORRECTNESS. It states that these bytes " "carry a claim signed by this key with this declared history. It says nothing about " "whether the content is accurate, safe, or lawful.", "Our certificate chains to a PRIVATE ROOT CA that is NOT on the C2PA trust list. " "'signingCredential.untrusted' appears in the failure list of every manifest here, " "including the untouched control. issuer_resolvable is therefore 0% everywhere by " "construction — it is a property of the credential, not damage from a transform. " "Article 50 conformity needs a production certificate from a CA on the C2PA trust list.", "sidecar_oracle is the MOST FAVOURABLE assumption available: the harness hands the " "detached manifest straight to the verifier. In the field you must first work out " "which sidecar belongs to which asset, and after a crop or re-encode you cannot do " "that by hash. Its manifest_present and digital_source_type rates are TRUE BY " "CONSTRUCTION and are an upper bound, not a deployment result.", "Transforms are applied by Pillow. A different re-encoder (libvips, ImageMagick, a " "phone ISP, a CDN) may behave differently; some deliberately preserve APP11. This " "measures the common case, not every case.", "n is the number of marked assets per cell, and it is small. 0 survivors out of 12 " "still admits a true survival rate up to ~24%. Quote ci_clustered, not ci: the " "unclustered pooled interval treats the same 12 assets as 108 independent trials and " "is too narrow. Both are printed so the difference is visible rather than chosen.", "signature_valid means the CLAIM SIGNATURE VERIFIES AND THE ASSERTION HASHED-URIs " "MATCH. It does NOT mean the manifest is unaltered. Measured over 200 random " "single-bit flips in a detached manifest store: 69% caught by hashedURI, 3% by the " "claim signature, 26% by NEITHER. Those 26% still fail binding_intact, so nothing " "here is a hole in C2PA — but the check is narrower than its name and is used " "accordingly.", "A manifest lifted from a DIFFERENT asset also reports signature_valid=survived — " "measured, not assumed. binding_intact is the only check that catches it. A verifier " "that reports 'signature valid' without reporting the binding is telling you almost " "nothing.", "No soft binding (watermark) and no cloud manifest recovery are tested. Both exist " "precisely because embedded manifests do not survive, so a real Article 50 durability " "programme would have to measure them too. Their absence here is COVERAGE MISSING, " "not evidence that they fail.",]
def report(data: dict, out_path: Path | None) -> dict: rows = cells(data["results"]) bc = by_check(rows, data["results"]) cmp_ = compare(bc) dis = disagreements(rows) n = data["n_signed"]
print(f"\n PROVBENCH — does an Article 50 marking SURVIVE?") print(f" {n} marked assets × {len(TRANSFORMS)} transforms × {len(CHECKS)} checks " f"× {len(CONFIGS)} configs (c2pa sdk {data['sdk']})\n")
for cfg in CONFIGS: print(f" ── {cfg} " + "─" * (62 - len(cfg))) head = " ".join(f"{c[:9]:>9s}" for c in CHECKS) print(f" {'transform':22s} {head}") for tname, _fn, _d in TRANSFORMS: cellrow = [] for k in CHECKS: r = next(x for x in rows if x["config"] == cfg and x["transform"] == tname and x["check"] == k) if r["n_measured"] == 0: cellrow.append(f"{'UNMEAS':>9s}") else: cellrow.append(f"{r['survived']:>4d}/{r['n_measured']:<4d}") print(f" {tname:22s} " + " ".join(cellrow)) print()
print(f" ── POOLED SURVIVAL (identity control excluded) " + "─" * 22) for cfg in CONFIGS: print(f" {cfg}") for k in CHECKS: r = next(x for x in bc if x["config"] == cfg and x["check"] == k) if not r["n_measured"]: print(f" {k:22s} UNMEASURED ({r['unmeasured']} cells)") continue cc = r.get("ci_clustered") or r["ci"] print(f" {k:22s} {r['rate']*100:5.1f}% " f"clustered CI [{cc[0]*100:5.1f}, {cc[1]*100:5.1f}] on " f"{r.get('n_assets', '?')} assets " f"(unclustered [{r['ci'][0]*100:.1f}, {r['ci'][1]*100:.1f}] on " f"n={r['n_measured']} — too narrow) unmeasured={r['unmeasured']}") print()
print(f" ── CONFIG COMPARISON — tied sets, and the SIGN of every separation " + "─" * 3) for c in cmp_: print(f" {c['check']:22s} {c['verdict']}") print()
print(f" ── PREDICTION vs OBSERVED " + "─" * 43) if not dis: print(" every cell matched the pre-registered prediction.") print(" ⚠️ a benchmark that agrees with its author everywhere is the case where") print(" you check the harness hardest, not the case where you relax.") else: for d in dis: print(f" ⚠️ {d['config']}/{d['transform']}/{d['check']}: " f"predicted {d['predicted']}, observed {d['observed']} " f"(rate {d['rate']}, n={d['n_measured']})") print()
if data["reasons"]: print(f" ── WHY CELLS ARE UNMEASURED " + "─" * 41) for k, v in data["reasons"].items(): print(f" {k:34s} {v[:90]}") print()
print(f" ── WHAT THIS DOES AND DOES NOT PROVE " + "─" * 32) for c in CAVEATS: first = True for line in _wrap(c, 84): print((" • " if first else " ") + line) first = False print()
payload = { "benchmark": "provbench", "version": "0.1.0", "generated": datetime.now(timezone.utc).isoformat(), "question": "Does an EU AI Act Article 50 provenance marking survive real-world " "transforms?", "pre_registered_prediction": { f"{cfg}/{t[0]}/{k}": predict(cfg, t[0], k) for cfg in CONFIGS for t in TRANSFORMS for k in CHECKS}, "environment": {"c2pa_sdk": data["sdk"], "timestamp_authority": data["ts_mode"], "signing_alg": "Ed25519", "trust_anchor": "private root CA, NOT on the C2PA trust list"}, "n_assets_marked": n, "assets_unsigned": data["unsigned"], "transforms": [{"name": t[0], "description": t[2]} for t in TRANSFORMS], "checks": CHECKS, "configs": CONFIGS, "cells": rows, "pooled_by_check": bc, "config_comparison": cmp_, "prediction_disagreements": dis, "unmeasured_reasons": data["reasons"], "caveats": CAVEATS, } if out_path: # Anchored at write time. Running this by hand, outside the AUTO queue, used to strip # the artefact's own corpus anchor — twice in one day. Ordering is a discipline; # write_result() is a mechanism. from anchored_write import write_result out_path = write_result(out_path.name, payload) print(f" -> {out_path}") return payload
def _wrap(s: str, w: int) -> list[str]: words, line, out = s.split(), "", [] for x in words: if len(line) + len(x) + 1 > w: out.append(line) line = x else: line = f"{line} {x}".strip() if line: out.append(line) return out
# ── Self-test ──────────────────────────────────────────────────────
def selftest() -> int: """Checks the HARNESS, not the marking. Every assertion here is about whether the measurement apparatus can tell the three outcomes apart.""" _ensure_runtime() print(" PROVBENCH SELF-TEST — is the apparatus able to measure?\n") fails = []
def chk(name, cond, detail=""): print(f" {'✅' if cond else '❌'} {name}{(' — ' + detail) if detail else ''}") if not cond: fails.append(name)
try: data = run(3, verbose=False) except EnvironmentMissing as e: print(f" ❌ environment: {e}") print("\n Nothing was measured. This is UNMEASURED, not a score of zero.") return 2
rows = cells(data["results"]) g = lambda cfg, t, k: next(r for r in rows if r["config"] == cfg and r["transform"] == t and r["check"] == k)
chk("assets were actually marked", data["n_signed"] == 3, f"{data['n_signed']}/3")
ident = g("embedded_only", "identity", "manifest_present") chk("control survives (identity keeps the manifest)", ident["rate"] == 1.0, "if this fails, no other row means anything") chk("control keeps digitalSourceType", g("embedded_only", "identity", "digital_source_type")["rate"] == 1.0)
strip = g("embedded_only", "strip_metadata", "manifest_present") chk("stripping APPn destroys the embedded manifest", strip["rate"] == 0.0, "the sanity anchor — a survival here means the strip did not run")
heic = g("embedded_only", "format_convert_heic", "manifest_present") chk("an inapplicable transform is UNMEASURED, not destroyed", heic["n_measured"] == 0 and heic["unmeasured"] == 3, f"n_measured={heic['n_measured']} unmeasured={heic['unmeasured']}") chk("UNMEASURED cells carry no rate", heic["rate"] is None)
all_out = [o for cfg in CONFIGS for t in TRANSFORMS for k in CHECKS for o in data["results"][cfg][t[0]][k]] chk("only three outcomes are ever emitted", set(all_out) <= {SURVIVED, DESTROYED, UNMEASURED}, str(sorted(set(all_out)))) chk("all three outcomes actually occur", {SURVIVED, DESTROYED, UNMEASURED} <= set(all_out), "a two-outcome run would mean the UNMEASURED path is untested")
issuer = g("embedded_only", "identity", "issuer_resolvable") chk("issuer is NOT resolvable even on the untouched control", issuer["rate"] == 0.0, "private root CA — reporting otherwise would overstate conformity")
from rank_intervals import wilson lo, hi = wilson(0, 3) chk("Wilson interval on 0/3 is wide and inside [0,1]", lo == 0.0 and 0.5 < hi < 1.0, f"[{lo:.3f}, {hi:.3f}]")
# ── adversarial: are the checks capable of saying no? ─────────── # Added after the first full run matched every prediction. A harness that only ever # confirms is a harness nobody has tried to break. import random signer, _ts = _signer_with_fallback(make_assets(1)[0][1]) (a1, s1), (a2, s2) = make_assets(2) sig1, mb1 = sign(s1, a1, signer) sig2, mb2 = sign(s2, a2, signer) png1 = t_to_png(sig1)[0]
chk("strip_metadata leaves the pixels BIT-IDENTICAL", _pil_open(t_strip_metadata(sig1)[0]).tobytes() == _pil_open(sig1).tobytes(), "otherwise 'stripping destroys it' would just be re-encoding destroying it")
rnd = random.Random(7) caught = 0 for _ in range(40): b = bytearray(mb1) b[rnd.randrange(len(b))] ^= 1 << rnd.randrange(8) try: if verify(png1, "image/png", bytes(b))["signature_valid"] == DESTROYED: caught += 1 except VerifierUnsupported: caught += 1 # unreadable is also a refusal to bless it chk("a tampered manifest is mostly rejected by signature_valid", caught >= 24, f"{caught}/40 caught — the rest are caught only by binding_intact (see caveats)")
lifted = verify(png1, "image/png", mb2) # asset 1's pixels, asset 2's manifest chk("a manifest lifted from another asset fails binding_intact", lifted["binding_intact"] == DESTROYED, "this is the check that catches manifest transplants") chk("...and signature_valid alone does NOT catch it", lifted["signature_valid"] == SURVIVED, "documented in the caveats — a signature check without a binding check is nearly empty")
cmp_ = compare(by_check(rows, data["results"])) chk("comparison verdicts state a sign or a tie", all("TIED" in c["verdict"] or "ABOVE" in c["verdict"] or "BELOW" in c["verdict"] or "UNMEASURED" in c["verdict"] for c in cmp_))
print(f"\n {len(fails)} failure(s)" + (f": {fails}" if fails else "")) return 1 if fails else 0
def main() -> int: ap = argparse.ArgumentParser(description="ProvBench — Article 50 marking survival") ap.add_argument("--selftest", action="store_true") ap.add_argument("--assets", type=int, default=12, help="number of marked assets per cell (default 12)") ap.add_argument("--out", default=str(HERE / "benchmark-results" / "provbench.json")) a = ap.parse_args() if a.selftest: return selftest() try: data = run(a.assets) except EnvironmentMissing as e: print(f" ❌ {e}") print(" Nothing was measured. Reporting this as 0% survival would be a lie about") print(" the marking when the truth is a missing dependency.") return 2 report(data, Path(a.out)) return 0
if __name__ == "__main__": raise SystemExit(main())123456789101112131415161718## Provenance Survival: C2PA Binding Survival Under Real-World Transforms
| Metric | Value | 95% CI ||--------|-------|--------|| Assets tested | 20 | --- || Survived (binding-intact) | 0 / 20 | --- || **Upper bound on survival rate** | | || Rule-of-three (one-sided) | 15.0% | --- || Wilson (one-sided) | 11.9% | --- || Wilson (two-sided) | 16.1% | --- |
### Reconciliation with prior measurements
| Prior measurement | Status ||-------------------|--------|| DR-0001 n=12 one-sided 24.2% | superseded by 11.9% || DR-0001 n=108 cell 3.43% | independence assumption invalid || DR-0001 n=12 two-sided 22.1% | superseded by 16.1% |123456789101112131415161718192021222324
\begin{table}[t]\centering\caption{Provenance Survival: C2PA Binding Survival Under Real-World Transforms}\label{tab:provbench}\begin{tabular}{lcc}\toprule\textbf{Metric} & \textbf{Value} & \textbf{95\% CI} \\\midruleAssets tested & \multicolumn{2}{c}{20} \\Survived (binding-intact) & 0 / 20 & --- \\\midrule\multicolumn{3}{l}{\textit{Upper bound on survival rate (rule-of-three)}} \\Rule-of-three (one-sided) & \multicolumn{2}{c}{15.0%} \\Wilson (one-sided) & \multicolumn{2}{c}{11.9%} \\Wilson (two-sided) & \multicolumn{2}{c}{16.1%} \\\midrule\multicolumn{3}{l}{\textit{Reconciliation with prior measurements}} \\DR-0001 n=12 one-sided 24.2\% & \multicolumn{2}{c}{superseded by 11.9\%} \\DR-0001 n=108 cell 3.43\% & \multicolumn{2}{c}{independence assumption invalid} \\DR-0001 n=12 two-sided 22.1\% & \multicolumn{2}{c}{superseded by 16.1\%} \\\bottomrule\end{tabular}\end{table}PROVBENCH_ARXIV_PREPRINT_2026-07-30.mdAdded+316
PROVBENCH_PAPER.pdfAdded+99
README.mdAdded+71
provbench-canonical-bound.jsonAdded+15
provbench-n20.jsonAdded+2371
provbench.pyAdded+1024
provbench_table.mdAdded+18
provbench_table.texAdded+24