SigilChain

Trace leaked files to a signed decryption session

Wild BugsShipped October 15, 2026#general#privacy#depin
Repo
SigilChain banner

About

## Challenges we ran into

**1. Two offline Docker stacks overwrote each other's image.** Both stacks used the same local image tag, so starting one could silently replace the image the other expected. The original validators then crashed with missing Python modules. I made the offline flow reload the bundled images before starting the stack, and added SHA-256 verification of the image archive, so the import refuses a corrupted or incomplete bundle and the expected images are always restored.

**2. The trace console hung on its loading screen.** Streamlit relies on a WebSocket, and it failed behind our reverse proxy. Two causes: the proxy was not negotiating a valid `Sec-WebSocket-Protocol` (echoing the raw header produced an invalid response, and omitting it was rejected by Streamlit's client), and Docker Desktop's injected host-proxy settings were being applied to an internal container-to-container hop. I fixed the subprotocol negotiation, bypassed the host proxy for the internal connection, and confirmed the console loads and checks a marked PDF.

**3. Photographed pages broke the watermark.** On a tilted photo, extraction fell to a bit error rate of about 51%, which is random guessing. Adding document-boundary detection, perspective correction and sub-pixel corner refinement recovered the payload exactly on all three synthetic tilts we tested. Because real camera conditions are harder, we gate the result on confidence: weak evidence is reported as *inconclusive*, never as an accusation.

## The problem it solves

**A leaked page rarely points to a person.** When a confidential PDF goes to dozens of people, they all decrypt the same bytes. Server logs can be edited, "downloaded" is not "opened", and a static watermark is identical on every copy.

**SigilChain ties a leaked page to one recorded decryption session, and lets an investigator verify that without trusting anyone's server.**

  • **Encrypt once** for named recipients: one AES-256-GCM ciphertext plus a post-quantum ML-KEM-768 key envelope per recipient.
  • **Mark at decryption:** the recipient's own device embeds a fresh, random, invisible 96-bit watermark (DCT + Reed-Solomon) into every page.
  • **Sign the event:** the agent signs the session record with the recipient's ML-DSA-65 key. The private key never leaves the device.
  • **Commit before release:** three validators on an etcd/Raft ledger must return two signed receipts before the marked PDF is written. No commit, no copy.
  • **Trace and prove:** upload a leaked screenshot or PDF to the trace console. It recovers the watermark, re-verifies the signature, the pinned validator receipts and the hash-chain proof itself, and exports an evidence bundle that can be checked offline.

**Who it helps:** teams that share sensitive material with a controlled group (defence and government units, legal and compliance teams, boards, research consortia), including networks with no cloud, since it deploys air-gapped with Docker.

**Honest by design:** if the watermark is weak or fewer than two validators agree, SigilChain reports *inconclusive* and names no one. The evidence links a file to a recorded session and recipient key. It does not, by itself, prove who physically distributed the file.

Screenshots

SigilChain screenshot 1SigilChain screenshot 2

Team

From the public Devfolio project 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?

Not checked yet.

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.