Zero-Upload C2PA JUMBF Binary Provenance Inspection Across PNG caBX, JPEG APP11, WebP RIFF and MP4 ISO-BMFF
Zero-Upload C2PA JUMBF Binary Provenance Inspection Across PNG caBX, JPEG APP11, WebP RIFF and MP4 ISO-BMFF
Verifying whether an image or video contains authentic Coalition for Content Provenance and Authenticity (C2PA / ISO 19566-5 JUMBF) metadata — and whether that container has been truncated or stripped — does not require uploading unpublished creative assets to third-party web services. Both our client-side browser tool at nandai.org/tools/watermark-inspector (26,040 B pure client-side JS via arrayBuffer() and Uint8Array, 0 network uploads) and inspect_c2pa_or_sha256 inside mcp/destiny_mcp_server.py walk container headers deterministically in local RAM.
1. Binary Container Structure Across Four Media Formats
- PNG (
ISO/IEC 15948caBX&c2paChunks):- After the 8-byte PNG signature (
89 50 4E 47 0D 0A 1A 0A), each chunk packs a big-endian 32-bit length (>I), 4-byte ASCII chunk type (caBXorc2pa), payload bytes, and an IEEE CRC-32 digest computed overchunk_type + payload. - Recomputing
zlib.crc32catches stripped or tampered provenance blocks directly (CORRUPTED_C2PA_PROVENANCE_CRC_FAIL), while inspecting payloads fordigitalSourceType(trainedAlgorithmicMediavshumanCaptured/humanEdits).
- After the 8-byte PNG signature (
- JPEG (
ISO/IEC 10918-1APP110xFFEB):- Traverses
0xFFmarkers (APP10xFFE1for Exif / XMP,SOF0/SOF2for dimensions, stopping cleanly atSOS0xFFDA/EOI0xFFD9) and inspectsAPP11(0xFFEB) JUMBF boxes (c2pa,jumd,jumb,c2ma,c2cl).
- Traverses
- WebP (
RIFF Container):- After byte
12, parses little-endian (<I) RIFF FourCC headers (VP8X,EXIF,XMP,c2pa,jumb), preserving even-byte RIFF padding (clen + (clen % 2)) so offsets never drift across multi-chunk containers.
- After byte
- MP4 / MOV (
ISO Base Media File Format,ftyp):- Walks 32-bit (
>I) and 64-bit extended (size == 1) boxes (uuid,jumb,c2pa,meta), matching the canonical ISO 19566-5 / C2PA JUMBF UUID (d8fec3d6-1b0e-483c-9297-5828877ec481) cleanly without reading entire gigabytemdatstreams into memory.
- Walks 32-bit (
2. Alignment with EU AI Act Article 50(2) Machine-Readable Provenance
In karany97/destiny, synthetic media pipelines pair machine-readable provenance support with deterministic non-AI exports (STEP AP242 / STL B-Rep CAD, vector SVGs, and manual Studio assets remain clean author-owned files). For step-by-step byte layouts and container test fixtures, see our companion engineering reference at nandai.org/guides/c2pa-jpeg-png-binary-provenance-internals.
Canonical Tools & Open Verification
- Client-Side C2PA & Unicode Watermark Inspector: nandai.org/tools/watermark-inspector
- C2PA Binary Provenance Internals Guide: nandai.org/guides/c2pa-jpeg-png-binary-provenance-internals
- Open MIT Repo & CLI Verifier: github.com/karany97/destiny · nandai.org/tools · nandai.org/download
Write a comment