ServicesWorkAboutBlog Contact Start a project

Regulation ·

What the DPDP Act actually requires of an AI system

India’s data protection law says nothing about models, embeddings or agents. It still constrains almost every design decision in an AI system, and the constraint that bites hardest is erasure.


The Digital Personal Data Protection Act, 2023 does not regulate artificial intelligence. It regulates personal data, and an AI system is a processing pipeline that makes an unusually large number of copies of it — in a vector index, in prompt logs, in a trace store, in an evaluation set, in a third party's abuse-monitoring buffer and, if you fine-tune, in weights you cannot edit. Almost every DPDP obligation an AI team struggles with is a consequence of that copy count. We are engineers, not lawyers, and none of this is legal advice; what follows is how the statutory text and the DPDP Rules, 2025 change the way we design systems for Indian clients.

The obligations attach to copies, not to systems

The Act has no concept of a model, an embedding or an agent. It has a Data Fiduciary who decides why personal data is processed, a Data Processor who processes on their behalf, and obligations that follow the data into every store it reaches.

Section 8(1) makes the Data Fiduciary responsible for compliance in respect of any processing undertaken by it or on its behalf by a Data Processor, and section 8(2) permits engaging a processor only under a valid contract. Read that against a retrieval system and the boundary is not where teams assume. Your LLM API vendor is a processor. So is your vector database host, your observability platform and your transcription service. Each is a place a copy lands, each needs a contract, and each is your liability rather than theirs.

The first step on any AI project handling personal data is therefore a data-flow map rather than a model choice: every component that sees a prompt, a chunk, a tool response or a trace, and what it retains and for how long. Most teams can produce this for their primary database and not for their prompt logs — the store that fills with names, phone numbers and account references pasted in by users.

  • Enumerate every sink: primary store, search index, vector index, cache, prompt and completion logs, trace store, evaluation fixtures, fine-tuning corpora, backups
  • Record the retention period for each, and who controls deletion — you, or a vendor
  • Treat free-text fields as containing personal data by default

Training is a different purpose from serving, and it needs saying so

Consent under the DPDP Act is purpose-bound. Using support conversations to answer support questions is one purpose; using the same conversations to improve a model is another, and it needs its own notice and its own basis.

The pattern we see most often is a corpus assembled for one reason and reused for a second. A bank ingests three years of ticket history for a knowledge assistant, then the index is pointed at an analytics tool, then a subset becomes a fine-tuning set. Each is a new specified purpose. Section 8(7) requires erasure once the data principal withdraws consent or as soon as it is reasonable to assume the specified purpose is no longer being served — which only has meaning if the purposes were separated in the first place.

If training data and serving data sit in one store with no purpose tag, you cannot honour a withdrawal of consent for one and not the other, and you cannot demonstrate that you did. Tag at ingestion. Section 7 does provide legitimate uses needing no consent, but they are narrower than they look and the burden of showing a use fits inside one falls on you.

Erasure is the obligation that decides your architecture

Deleting a row in Postgres does not delete the chunk in the vector store, the sentence in last Tuesday's prompt log, the record in the trace viewer, or the information absorbed into fine-tuned weights. Erasure has to fan out, and one of those sinks cannot fan out at all.

Build the erasure path on day one, as a job that walks every sink in the data-flow map and reports what it deleted. Retrofitting is expensive because vector stores are keyed by chunk, not by person, so reconstructing which chunks derive from which individual means re-ingesting the corpus. Carry the subject identifier as chunk metadata from the start, and deletion becomes a filtered delete rather than a forensic exercise.

Fine-tuning is the sink with no delete. You cannot remove one person from a set of weights; you can only retrain without them, which means holding the training set indefinitely and re-running the job. Price that before approving the run. Our default recommendation is blunt: fine-tune on format, tone and domain vocabulary, and keep facts about people in retrieval, where deletion is a query and a correction propagates immediately.

The Rules add scheduled erasure for specified classes: under the Third Schedule, large e-commerce, gaming and social media intermediaries above stated user thresholds must treat the purpose as no longer served after three years of user inactivity, with advance notice before deletion (Baker Botts).

  • Carry a subject key into chunk metadata so vector deletion is a filter, not a rebuild
  • Set prompt and trace log retention deliberately, and confirm the vendor honours it
  • Check the LLM vendor's abuse-monitoring retention — zero retention on inference is not zero retention everywhere
  • Assume every fine-tune is permanent, and plan the retrain cost before approving it

Section 8(3) is the clause that applies to generated text

Where personal data is likely to be used to make a decision affecting the individual, or disclosed to another Data Fiduciary, the Act requires the Data Fiduciary to ensure its completeness, accuracy and consistency. A model-written summary in a CRM is both of those things.

AI teams miss this provision because it reads like a database hygiene rule. Consider an assistant that reads a call transcript and writes a summary into a customer record, and what happens next: an underwriter reads it, a collections agent reads it, the record is shared with a partner. If the summary is wrong — a mishearing, an inference from an ambiguous sentence, a confident restatement of something never said — you have written inaccurate personal data into a store that drives decisions about that person.

What this changes is where you put the human: not everywhere, but wherever generated text becomes an input to a decision or crosses an organisational boundary. Keep the generated field linked to its source span, and make correction propagate — retrieval will keep serving the old version until the index is refreshed. The same applies to inferred attributes: a churn score or a risk band is personal data about the individual, generated by you, and the accuracy obligation does not soften because a model produced it.

Security safeguards, and the log retention that pulls against erasure

Rule 6 of the DPDP Rules, 2025 lists the minimum controls: encryption, obfuscation, masking or virtual tokens; access control on the computer resource; logging and monitoring to detect unauthorised access; retention of those logs for one year; and equivalent obligations pushed into processor contracts.

Two of those interact awkwardly. The Rules require logs sufficient to detect unauthorised access, kept for a year. The Act requires erasure when the purpose ends. If your logs are the prompt and completion payloads — which is what most LLM observability defaults to — your security logs are a personal data store with a mandated one-year floor.

The resolution is structural. Split the trace into a durable skeleton and a short-lived payload: keep request IDs, subject keys, timestamps, retrieved document IDs and scores, tool names, token counts and outcome codes for as long as security needs them, and keep the text under a shorter retention with its own erasure path. You lose the ability to reread the exact prompt from eleven months ago; you keep the ability to prove what the system did, which is what an audit asks for.

Masking and tokenisation are named in Rule 6 for a reason: reversible tokens in place of identifiers shrink the blast radius of every downstream copy at once. Free text defeats naive pattern matching, so test the redactor against real traffic.

  • Encryption, masking or virtual tokens where data leaves your control
  • Access control scoped per collection, not per database
  • Structural traces retained long, textual payloads retained short
  • Processor contracts carrying the same obligations, because responsibility does not transfer

A prompt injection that leaks another customer's record is a breach

The Act treats unauthorised disclosure as a personal data breach. An assistant persuaded by instructions inside a retrieved document to reveal a different customer's details has disclosed personal data without authorisation, and the notification clock starts.

Under Rule 7 of the DPDP Rules, 2025, the Data Fiduciary must inform affected individuals without delay, in plain language, describing what happened, the likely consequences and the measures taken; and must report to the Data Protection Board, with a detailed report due within seventy-two hours of becoming aware (Baker Botts). That is not long if the first question — how many people were affected — takes a week to answer.

Hence the trace skeleton above. Incident response here is a query: which sessions retrieved documents belonging to a subject other than the caller, in what window. If you can run it, the breach is bounded within a day. If you cannot, you are guessing, and guessing low is the worse mistake.

Treat retrieved content as untrusted input. A document containing instructions is an injection vector, not a source. Enforce tenancy at the retrieval filter rather than in the prompt: a rule in a system prompt is a request, a metadata filter is a constraint. More on this in why your RAG system gives wrong answers, where the same filters appear as an accuracy problem.

The timeline, the penalties, and what to build now

The Rules were notified in November 2025 with a phased commencement: the Board's own machinery immediately, consent manager registration at twelve months, and most substantive obligations at eighteen months — which puts the substantive compliance date in May 2027.

The commencement schedule, as read by AZB and Partners, brings Rules 1, 2 and 17 to 21 into force on notification, Rule 4 on consent managers a year later, and Rules 3 and 5 to 16 — notice, security safeguards, breach notification, retention and erasure, Significant Data Fiduciary obligations and cross-border processing — eighteen months on. The Ministry frames it as an eighteen-month phased compliance period (PIB).

The Schedule to the Act sets penalties as fixed rupee amounts rather than a turnover percentage: up to ₹250 crore for failure to take reasonable security safeguards under section 8(5), and up to ₹200 crore for failure to notify a breach under section 8(6). Note the ordering — the largest penalty attaches to the control set in Rule 6, the part an engineering team owns outright.

Significant Data Fiduciaries additionally face annual impact assessments and audits, and an obligation to verify that algorithmic software deployed for processing does not pose a risk to data principals' rights. That is the closest the framework comes to naming AI, and an argument for an evaluation harness with recorded results rather than an opinion — see how to evaluate a RAG system.

What we would build now is unglamorous: the data-flow map, the subject key in chunk metadata, the erasure fan-out job, split trace retention, tenancy at the retrieval filter. All five are cheaper to build than to retrofit, and none depend on how the remaining guidance lands.

Sources

Every regulatory or measured claim above is attributed here. Where we could not find a source we trust, the sentence says so instead of guessing.

Questions people ask about this

Does the DPDP Act ban sending personal data to an overseas LLM API?

No. Section 16 takes a negative-list approach: the Central Government may notify countries or territories to which transfer is restricted, rather than requiring approval for every destination. But section 16(2) preserves any other Indian law imposing a higher restriction, which is why a regulated financial entity has to answer the RBI's rules first. That is covered in RBI data residency and calling an external LLM.

Do we need consent to use our own support tickets to build an internal assistant?

It depends on the purpose the data was collected for and what the notice said at the time. Answering the same customers' questions is a much easier argument than training a model, and training is a distinct purpose that generally needs stating as one. The safe engineering position is to separate the two corpora and tag them at ingestion, so that whichever way your counsel reads it, you can act on the answer without re-architecting.

What is the single biggest DPDP risk in a typical RAG deployment?

Prompt and trace logs. They accumulate free-text personal data nobody classified, they are usually held by a third-party vendor outside India, they are rarely covered by a retention policy, and they are almost never wired into the erasure path. They are also the store most likely to be readable by a broad set of internal accounts.

Is a model's output about a person covered by the Act?

If it is personal data about an identifiable individual, yes — generating it does not make it something else. Section 8(3) is the provision to read: where such data is likely to be used in a decision affecting the individual or disclosed to another Data Fiduciary, the obligation is to ensure completeness, accuracy and consistency. An inferred score or a generated summary in a CRM meets that description.

Bring us the data-flow map you do not have yet

A scoping call on this is free and usually ends with a shorter list of problems than you walked in with. We will tell you which of these obligations your architecture already fails.

Start a conversation See our work