Zero-Upload C2PA JUMBF Binary Provenance Inspection Across PNG caBX, JPEG APP11, WebP RIFF and MP4 ISO-BMFF

Container-level engineering walkthrough of C2PA JUMBF provenance parsing across PNG caBX CRC-32, JPEG APP11 (0xFFEB), WebP RIFF padding, and MP4/MOV ISO-BMFF 64-bit uuid boxes implemented with zero bytes uploaded in nandai.org/tools/watermark-inspector and karany97/destiny MCP.
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

  1. PNG (ISO/IEC 15948 caBX & c2pa Chunks):
    • 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 (caBX or c2pa), payload bytes, and an IEEE CRC-32 digest computed over chunk_type + payload.
    • Recomputing zlib.crc32 catches stripped or tampered provenance blocks directly (CORRUPTED_C2PA_PROVENANCE_CRC_FAIL), while inspecting payloads for digitalSourceType (trainedAlgorithmicMedia vs humanCaptured / humanEdits).
  2. JPEG (ISO/IEC 10918-1 APP11 0xFFEB):
    • Traverses 0xFF markers (APP1 0xFFE1 for Exif / XMP, SOF0/SOF2 for dimensions, stopping cleanly at SOS 0xFFDA / EOI 0xFFD9) and inspects APP11 (0xFFEB) JUMBF boxes (c2pa, jumd, jumb, c2ma, c2cl).
  3. 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.
  4. 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 gigabyte mdat streams into memory.

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


Write a comment