LegalOSS82.1ktracked
E-Discovery & Forensics Β· Case Law & Legal Data

ProofStamp

IEEE-VIT/ProofStamp

Court-ready digital evidence timestamps

E-Discovery & ForensicsCase Law & Legal Datacryptographyevidencelegaltechopentimestampspostgresql

πŸ›‘οΈ ProofStamp

Cryptographically secure, legally compliant digital forensics for creators.

License: MIT PRs Welcome React Node.js FastAPI

Landing Page

Invisible digital stamps for protecting creative work. Upload a file (images, documents, audio, video, etc.), register a cryptographic hash and RSA identity signature, optionally embed resilient image watermarks for photos, and verify authenticity later through multiple layers.

Why ProofStamp? (vs. Blockchain/NFT/Email-yourself)

Blockchain/NFTs are public, expensive, and require crypto wallets; emailing yourself is legally flimsy and easily spoofed. ProofStamp offers cryptographically secure, legally compliant (BSA 2023 Sec 63), privacy-first digital forensicsβ€”without gas fees or making your private work public.


Table of Contents


Architecture & Directory Structure

ProofStamp Architecture Diagram

ProofStamp is a monorepo consisting of three main microservices:

proofstamp/
β”œβ”€β”€ client/           β†’ React + Vite + Tailwind + shadcn/ui (port 5173)
β”œβ”€β”€ server/           β†’ Node.js + Express + Prisma (port 3001)
β”œβ”€β”€ stego-service/    β†’ Python + FastAPI + Pillow (DWT‑DCT watermark) (port 8000)
β”œβ”€β”€ prisma/           β†’ Database schema & migrations
β”œβ”€β”€ docs/             β†’ Detailed guides, compliance, and API docs
β”‚   └── research/     β†’ Foundational research and legal text references
β”œβ”€β”€ scripts/          β†’ Testing and utility scripts
β”œβ”€β”€ .github/          β†’ Open source issue & PR templates
└── docker-compose.yml

Quick Start

The fastest way to run all 3 services locally is using Docker Compose:

docker compose up --build

For detailed local setup instructions and manual environment configuration, please refer to the Local Setup Guide.


Documentation

Dive deeper into ProofStamp's capabilities and compliance:


Processes & Features

  • Identity: Google OAuth β†’ Proof Passport (PP-YYYY-XXXXX) with RSA‑2048 keypair.



↓



↓


  • Stamp: File upload β†’ SHA‑256 fingerprint β†’ RSA signature tied to Passport β†’ sequential proof chain linking block hashes. For raster images only: perceptual hashing (pHash/dHash), optional embeddings, DWT‑DCT invisible watermark, Cloudinary originals, Certificate PDF generated in background.



↓



↓


  • Verification: Upload or Stamp ID lookup β†’ Exact hash β†’ Perceptual / embedding similarity β†’ watermark extract β†’ cryptographic signature & chain checks where applicable.


  • Enforcement: Similarity detection β†’ infringement evidence compilation β†’ auto-generated takedown package (DMCA notice, certificates, proof chain, and supporting artifacts) β†’ creator review and submission.



↓



Legal Proof (Enabled for all users)

Every stamp includes:

  • RFC 3161 timestamp (FreeTSA by default; set TSA_URL / TSA_CA_CERT_PATH)
  • BSA 2023 Section 63 system certificate PDF (India electronic evidence helper)
  • Counsel Evidence Packet β€” GET /legal/:stampId/litigation-pack
  • Creator attestation β€” POST /legal/:stampId/attest

Contributing

We love our contributors! Whether you're fixing bugs, adding new features, or improving documentation, your help is welcome.

Please read our Contributing Guide to get started with setting up your dev environment and submitting a Pull Request.


License

This project is licensed under the MIT License - see the LICENSE file for details.