Enigma Ai

Private AI with self-destructing data. Get answers, plus on-chain proof we forgot

Visit Repo
Enigma Ai banner

About

Enigma AI lets people use AI on sensitive documents and then proves the data is gone.

Hospitals, law firms and banks can't paste patient records or contracts into an AI tool. They can't tell where the data ends up or whether it ever gets deleted. A promise from the provider that it was deleted doesn't count as an audit trail. We wanted something you can check instead of trust.

Here's how a job works. You pick a file and your browser makes a one-time AES-256-GCM key and encrypts the file before it leaves your machine. The encrypted file goes to 0G Storage. You pay for the job from a prepaid USDT balance on Whitechain. The document text is then sent to a model running inside a TEE on 0G Compute, which returns the analysis along with an attestation. Our backend only passes this along and doesn't store or log it.

The browser encrypts the AI's answer with the same key and the backend saves that ciphertext on Arkiv with an expiry timer, anywhere from 5 minutes to 30 days. A receipt goes on-chain on Whitechain with the result hash and the TEE attestation hash. When the timer runs out, the browser wipes the key and Arkiv drops the entity, so whatever is left can never be decrypted.

The backend holds no keys and no plaintext at rest. Everything stored is ciphertext it can't read. One honest caveat is that the plaintext does pass through the backend on its way to the TEE. It is never written to disk, but you do have to trust that hop. We list this in docs/SECURITY.md.

The demo page shows a split screen. One side is what the user sees and the other is what the system holds, so you can watch the data get encrypted, processed and erased.

Built with Next.js, Tailwind, RainbowKit and wagmi on the frontend, client-side PDF, DOCX and XLSX parsing, a Solidity escrow contract tested with Hardhat, and a Node backend. We use 0G for storage and TEE inference, Arkiv for expiring result storage and Whitechain for payments and receipts.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

ShippingLast push 28 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.