hackquest logo

Deepproof Nexus

DeepProof Nexus is a decentralized deepfake detection network where inference runs in 0G TEE enclaves, verdicts are anchored on 0G Chain, and evidence is permanently stored on 0G Storage.

Videos

Description

DeepProof Nexus

Deepfake media is one of the most dangerous threats to information integrity today. It is being used in political disinformation campaigns, financial fraud, non-consensual intimate imagery, and courtroom evidence tampering. The detection tools that exist today all share the same fundamental flaw: they are centralized and unverifiable. Microsoft, Hive, and similar services return a JSON response from a black-box server. You cannot verify the model ran correctly. You cannot verify the operator did not alter the result. You cannot verify the evidence was not deleted after the fact. You are trusting a company's terms ofservice against an adversary who may control that company.

DeepProof Nexus solves this by making deepfake detection cryptographically verifiable, permanently evidenced, and economically enforced using 0G's full infrastructure stack.

How it works

A user uploads a file through the web interface or CLI. The file is immediately uploaded to 0G Storage, which returns a content-addressed root hash. Detection then runs inside an Intel TDX hardware enclave through the 0G Compute Router. The enclave cannot be observed or tampered with by the node operator. Every verdict is signed by enclave-born keys, producing a TEE attestation that proves the model ran correctly on the exact content submitted.

The verdict, confidence score, SHA-256 hash, DCT perceptual hash, model version, TEE signature, and 0G Storage root hash are all registered in the ProvenanceRegistry smart contract on 0G Chain. A Soulbound Provenance Token, a non-transferable ERC-721, is minted to the content owner as a portable on-chain certificate. Transfer is blocked at the contract level, not by policy.

What makes it different

The perceptual hash is computed using a DCT algorithm that produces a 64-bit fingerprint of the visual content. Unlike SHA-256, this hash matches visually identical content even after JPEG compression, resizing, or screenshot. Content can be identified and its provenance verified across social platforms even after all metadata has been stripped, which every major platform does on upload.

The XOR omission detection mechanism is unique to DeepProof Nexus. Every evidence upload XORs its 0G Storage root hash into a global accumulator stored in the ProvenanceRegistry contract. Anyone can recompute this accumulator independently by fetching all evidence from 0G Storage and XORing the hashes. If the recomputed value does not match the on-chain value, evidence has been deleted or tampered with. This means a government or adversary cannot silently force deletion of detection evidence. The on-chain sum proves the deletion happened. No competitor offers this.

Detection nodes stake 0G tokens to join the network. Nodes that submit verdicts deviating from consensus are slashed 10% of their stake. A seven-day unbonding period prevents rapid exit after a bad verdict. Honest detection is enforced by economic incentive, not policy.

0G components used

0G Storage stores the full evidence package for every detection job: content hash, detection scores, confidence breakdown, and TEE attestation report. The storage root hash is anchored on-chain, making evidence permanently retrievable and tamper-evident.

0G Compute Router routes inference jobs to TEE-enabled nodes running the deepfake detection model. The OpenAI-compatible API returns the verdict alongside an enclave signature that proves the computation happened inside a hardware enclave.

0G Chain hosts five production smart contracts: ProvenanceRegistry, SoulboundProvenanceToken, NodeStaking, PaymentRouter, and DerivativeLineage. All five are deployed and verified on the 0G Galileo testnet.

Progress During Hackathon

<p>Built the entire project during the hackathon period:</p><p>- Designed and deployed 5 Solidity smart contracts to 0G Testnet covering provenance registry, soulbound tokens, node staking, payment escrow, and derivative </p><p>lineage</p><p>- Integrated 0G Storage SDK for permanent evidence storage, 0G Compute Router for TEE-sealed inference, and 0G Chain for on-chain proof anchoring</p><p>- Built a full Express API with async detection job pipeline, PDF certificate generation, and XOR completeness audit endpoint</p><p>- Built a React frontend with live detection dashboard, on-chain verification lookup, derivative lineage viewer, and animated sci-fi UI</p><p>- Implemented DCT perceptual hashing that survives compression and social platform metadata stripping</p><p>- Designed and implemented the XOR omission detection mechanism, a novel cryptographic proof that evidence deletion has occurred</p><p>- Built a Node.js CLI for batch verification and audit</p><p>- Wrote and passed an API test suite</p><p>- Achieved first live end-to-end detection with real on-chain registration and SPT mint on 0G Testnet</p>

Tech Stack

React
Web3
Ethers
Java
Node
Solidity
Python

Fundraising Status

<p>Bootstrapped, no external funding raised to date.</p>

Sector
SocialFiAIInfra

Builders Also Viewed