03 — On-Chain Proof

What Goes On-Chain vs Off-Chain

A minimal, immutable proof lives on-chain while detailed analysis stays off-chain to protect privacy and reduce cost.

Stored On-Chain

A minimal, immutable proof — enough to guarantee integrity without exposing sensitive data.

  • Contract address & chain ID
  • Risk score & severity counts
  • Report hash (IPFS CID)
  • Analyzer version & timestamp
  • Report signature (GuardFi AI)

Kept Off-Chain

Detailed analysis stays off-chain to protect privacy and reduce on-chain costs.

  • Full vulnerability descriptions & recommendations
  • Code snippets & line references
  • AI reasoning & analysis metadata
  • User identity & scan history

How Verification Works

1

Get the report hash from the blockchain.

2

Fetch the report JSON from IPFS using the hash.

3

Validate the signature using GuardFi AI's public key.

If all checks pass, the report is authentic and untampered.