Work / PrivacySuraksha
Case study · Compliance
PrivacySuraksha: a DPDP consent management platform
A compliance platform for India's Digital Personal Data Protection (DPDP) Act: a consent widget, PII scanners and a consent ledger that auditors can verify without trusting the company's database.
- Role
- Primary developer, at Cloudzent
- Hard part
- Proving consent without asking anyone to trust our database.
- Result
- Live in production. Auditors can verify any consent record without access to our database.
- Built by
- Sparsh Prajapati, full-stack engineer
The consent widget
One script tag. Shadow DOM, so the host page can't break it. Consent Mode v2 and GPC, before the first click.
It speaks 22 Indian languages and weighs 11.8 KB, so it can sit on any site without slowing it down.
Finding personal data
Scans S3, Postgres, MySQL and every laptop. Classifies what it finds. Masks it in every report.
A ledger nobody can quietly edit
Every consent event is hashed. Every day is sealed into one SHA-256 Merkle root, signed with Ed25519 and anchored to Bitcoin.
Auditors can check any single record against the signed root without having to trust the company's database. The home page has a live version: change one letter of a record and watch the proof fail.
Architecture
One monorepo, five apps. Postgres with Drizzle. Tested with Vitest.
- api: Hono on Cloudflare Workers
- dashboard: React, Clerk auth
- admin: React, internal operations
- scanner: S3, Postgres, MySQL + endpoint agent
- website: Astro
Compliance modules
Beyond consent, the platform covers the registers a compliance team works from:
- ROPA
- DPIA
- 72-hour breach register
- Vendor risk
- Rights requests with SLA
Stack
Links
Need something like this?
I take on freelance projects and remote roles, including with teams outside India. Send a few lines about what you're building and when you need it.
Email meHow I workMore work
- CRM intelligence layer: Built for a publicly listed Indian steel manufacturer. Their sales history lived in SQL Server. I built the layer that syncs it into PostgreSQL, scores every lead, and gives each of 12 roles the view it needs.
- Link Bell: Loan CRM. RBAC across 15+ modules, a masked audit log, alerts on mass exports.
- AI Tender Bid Intelligence: Reads a tender, answers its checklist, predicts the win and the price.
- AI Factory: Six agents run a software team. The Coach rewrites their rules.