Prove a photo is real, not just guess it is fake.
PixelRoot is open research on keeping proof of origin inside the image itself, plus a working web console that registers images and verifies them against a registry.
Read the paper · Tour · Run the console · Research · Honest status
AI can now make photos and videos that people cannot tell from real recordings. Deepfake detectors keep falling behind new generators, and today’s provenance standards such as C2PA keep their proof mostly in file metadata, which disappears when a platform strips or re-encodes the file.
PixelRoot flips the question from “is this fake?” to “can this prove it is real?” The research proposes that the camera sensor itself writes a faint, error-corrected identifier into the pixels at capture, signs a capture record with a key that never leaves the chip, and seals that record’s hash on a public blockchain. The console in this repository demonstrates the register-then-verify workflow today.
01
Proof in the pixelsAn identifier hidden in pixel gain is designed to survive compression and metadata stripping, so the proof travels with the image. |
02
Rooted in hardwareIn the proposed design, each sensor signs its captures with its own key, and makers certify or revoke keys on a public ledger. |
03
Verify, or fail safeA verifier confirms an exact original, confirms a re-compressed copy, or says "unverified". It never guesses. |
The console has four views: Overview, Register, Verify and Registry.
A matchUpload a registered image and get its fingerprint, signature version and ledger receipt back. |
An edited copyChange a single pixel and verification fails with a clear "Image not verified". |
Overview: the four steps from capture to trust, and the latest records in the registry.
Everything the console does is also available as a small JSON API:
Screenshots and the terminal transcript are from the console running locally from this repository, with synthetic generated test images. The live GitHub Pages site currently shows this README, not the console.
You need: Node.js 20.19 or newer (required by Vite 7) and npm.
git clone https://github.com/mihirkavi/PixelRoot.git
cd PixelRoot
npm install
npm --prefix client install
npm run dev
Open the app at http://localhost:5173 (the API runs on http://localhost:5000). Without DATABASE_URL, records persist in server/data/pixelroot-store.json and uploads in uploads/.
| Command | What it does |
|---|---|
npm run dev |
API server and Vite client together |
npm run build then npm start |
Build the client and serve everything from the API server (PORT sets the port) |
npm test |
Unit tests for the signature algorithm |
The paper/ folder holds a research paper on the full design, PixelRoot: Hardware-Anchored, Sensor-Level Media Provenance with Real-Time Blockchain Notarization for Trustworthy Imaging (PDF · Markdown), with the code and data behind every number.
The preprint is archived on Zenodo with a permanent DOI: 10.5281/zenodo.24329305 (v1, CC BY 4.0). To cite it:
@misc{kavishwar2026pixelroot,
author = {Kavishwar, Mihir},
title = {PixelRoot: Hardware-Anchored, Sensor-Level Media Provenance with Real-Time Blockchain Notarization for Trustworthy Imaging},
year = {2026},
publisher = {Zenodo},
version = {v1},
doi = {10.5281/zenodo.24329305},
url = {https://doi.org/10.5281/zenodo.24329305},
note = {Preprint}
}
Results from the paper's software experiments on public images with real JPEG codecs.
From the paper’s evaluation, run in software on the 24 Kodak images:
PixelRoot is a research prototype. Please read these limits before relying on it.
paper/experiments and are bounded by those datasets and attacks.![]()
Conceptual project artwork, not a product screenshot. Asset files, design notes, and generation prompts.
Released under the Mozilla Public License 2.0.
![]()
PixelRoot · Proof of origin, in the pixels.