Skip to content
IndicShield
Interactive demo, simulated data

Keep Indian personal data out of your LLM prompts

IndicShield finds Aadhaar, PAN, mobile numbers, names and addresses in English, Hindi, Tamil, Bengali and code-mixed text, and redacts them before a prompt leaves your network. Its Rights Desk runs data requests with two-person approval.

Designed around
FastAPIONNX RuntimeLangGraphPostgreSQLAzureNext.jsTypeScriptTailwind CSSIntl.SegmenterPlaywrightFastAPIONNX RuntimeLangGraphPostgreSQLAzureNext.jsTypeScriptTailwind CSSIntl.SegmenterPlaywright
How it works

Four stages, cheapest first

Most personal data in Indian support text is an ID with a checksum. Catch those exactly, and spend model time only where it is needed.

Normalise

Fold Devanagari, Bengali and Tamil digits to ASCII and strip zero-width characters, keeping a map back to the original text.

Validate

Checksum and format checks for Aadhaar, PAN, GSTIN, IFSC, UPI and mobile numbers. A number that fails is not PII.

Model, then verify

A small NER model finds names and addresses. Only spans it is unsure about go to an LLM verifier.

Apply the policy

Each entity type gets an action for the purpose: redact, mask, pseudonymise, format-preserving tokenise or keep.

What it does

Redaction for Indian text, and a desk for data requests

10+ languages

Indic and code-mixed text

Hindi, Marathi, Tamil, Bengali, romanised Hindi and mixed scripts. Highlights follow grapheme clusters, so text never breaks.

deterministic

Real validators, not regex guesses

Verhoeff for Aadhaar, the GSTIN check character, PAN holder types, Indian mobile ranges. Fewer false positives.

vault

Reversible tokens

The same person gets the same token everywhere. Tokens live in an envelope-encrypted vault with an expiry per purpose.

proxy

Drop-in LLM proxy

An OpenAI-compatible endpoint redacts the prompt, calls the model and restores the answer only for roles that may see it.

rights desk

Two-person approval

Rights Desk discovers records with read-only connectors. Nothing is written or deleted until two different people approve.

audit

Evidence you can check

Hash-chained audit log, rollback snapshots, and an evidence report per request. Legal holds are excluded automatically.

Under the hood

How the full system is designed

The public demo runs on simulated data in your browser. This is the design it represents.

IndicShield architectureClients call the API, SDK, MCP server or OpenAI-compatible proxy. Text goes through a normaliser, deterministic validators, a small NER model, and an LLM verifier only for unclear spans. A policy engine applies an action per entity and purpose and stores reversible tokens in an envelope-encrypted vault. The Rights Desk discovers records with read-only connectors, builds a plan, waits for two different approvers, then executes with idempotency keys and rollback snapshots. Everything writes to a hash-chained audit log.PII SHIELDClientsAPI, SDK, MCP, proxyNormaliserdigits, ZWJValidatorsVerhoeff, GSTINNER modelONNX RuntimeCost routerscore < thresholdLLM verifierunclear spans onlyPolicy engineper entity, purposeToken vaultenvelope encryptionRedacted text to the modelre-identified for allowed rolesRIGHTS DESKRequest intakeidentity checkRead-only connectors4 systemsPlannerLangGraphApproval gate2 different peopleExecutoridempotent, snapshotsHash-chained audit log and evidence storePostgreSQL on Azure, every redaction, re-identification, approval and action
How the full system is designed. The public demo runs none of these services; it replays simulated data in your browser.

Cheap stages first

Validators cost microseconds and are exact. The model runs next, and the paid LLM verifier only sees what both could not settle.

Deterministic writes

An agent may plan, but execution is plain code with idempotency keys and a snapshot before every change.

Policies are data

One YAML policy per purpose, versioned and reviewable, instead of rules scattered through application code.

FAQ

Honest answers

Is this real?

The screens are the product's front end, and the walkthrough replays it with simulated data. The ID validators are real: in the Explore workspace they run in your browser on text you type. Names, addresses and timings come from precomputed samples.

Can I use it?

Not as a service. Sign-ups are closed and there is no backend. You can explore every screen, and the validator logic is plain TypeScript with tests.

Will it take care of DPDP obligations for me?

No tool does that on its own. IndicShield helps implement safeguards such as minimisation, purpose limits and approval gates. Deadlines shown are configured examples to verify against the Rules. This is not legal advice.

What does it cost to run?

This demo costs nothing: it is static files on a free host, with no API calls. In the full design, most text never reaches the paid LLM verifier, which is where the cost would be.

Is any of the data real?

No. Acme Credit is fictional, every person and ID is synthetic, and the few checksum-valid numbers are generated from a seed and labelled Synthetic. Nothing you type leaves your device.

Who built it?

Tiju Lukose, as a portfolio project. The About me link has more.

Built by Tiju Lukose

A portfolio project on privacy engineering for Indian languages. All data on this site is synthetic.