Swap and substitution attacks
Swapping in a gallery photo, intercepting the file before it’s hashed, or routing a virtual or injected image into the pipeline.
Defenses
- Capture-timing, EXIF-consistency and image checks
- A single-use nonce, generated before the camera opens, is bound into the signed record
- A fresh, per-capture hardware attestation (see jailbreak and attestation) bound to that exact photo
Outcome: An impossible capture timing or an EXIF device mismatch rejects the capture outright. The other checks are recorded in the signed proof, and a proof without a verified hardware attestation scores lower.

