Back to browse
GitHub Repository

Open Provenance Protocol

5 starsPython

C2PA is broken. I fixed it with an adaptive registry and open protocol

by BhuvanChalla·Feb 13, 2026·1 point·0 comments

AI Analysis

MidBig BrainBold Bet

Shazam for AI images, but no live registry, adoption barrier, and C2PA critique lacks nuance.

Strengths
  • 3-layer signature system (exact + perceptual + semantic) is architecturally sound and theoretically robust
  • Adaptive variant tracking auto-mints detection variants on successful verification—clever feedback loop design
Weaknesses
  • No live registry or API—pure protocol spec with no verifiable working system or generator adoption yet
  • C2PA framing oversimplifies; embedded metadata + external registry both have valid tradeoffs depending on threat model
Category
Target Audience

AI image generators, content verification platforms, platforms combating synthetic media

Similar To

C2PA/Content Credentials · Microsoft Nightshade · Stego-based watermarking

Post Description

I built OPP (Open Provenance Protocol), an open standard for verifying whether an image was AI-generated even after screenshots, distortion, pixel fudging, compression, cropping, and re-uploads.

The problem: C2PA/Content Credentials embed metadata in the file. Screenshot the image and the provenance is gone. AI detectors are probabilistic and unreliable.

OPP takes a different approach, an external fingerprint registry. When a generator creates an image, a 3-layer signature (SHA-256 + PDQ perceptual hash + CLIP ViT-L/14 embedding) is registered in a central index. Anyone can verify an image by querying the index. The signature survives any transformation because it's not embedded in the file. Think Shazam for images, but for provenance.

Matching pipeline: exact hash lookup → CLIP cosine similarity via Qdrant HNSW (sub-10ms at billions) → PDQ hamming distance enrichment. Only verified AI generators can mint. Verification is open.

The interesting part (new feature): I designed and implemented "Adaptive Variant Tracking." When a verification query finds a high-confidence fuzzy match (CLIP > 0.92, PDQ distance < 20), the system automatically mints a variant signature linked to the original. This means the registry "learns" the screenshot/crop/edit. The next verification of that same screenshot becomes an O(1) exact hash match instead of a costly vector search. The most viral/circulated images (highest misuse risk) become the fastest to verify.

Looking for feedback on the protocol design and poking holes in the design approach.

Similar Projects