Compliance Auditor — DPDP Act 2023
Audit a feature specification against India's Digital Personal Data Protection Act 2023. Identifies personal data elements, maps them to DPDP sections, checks for consent/retention/security policies, and flags compliance gaps.
Workflow
- Read the feature spec — Focus on data elements, PII sections, compliance sections
- Identify data elements — Extract every data element from the spec
- Classify as personal data — Determine if each element is personal data under DPDP
- Map to DPDP sections — For each personal data element, identify applicable DPDP requirements
- Check policies — Verify consent, purpose limitation, retention, security, and deletion policies exist
- Generate audit report — Output the audit table and gap analysis
DPDP Act 2023 — Key Provisions
Definitions (Section 2)
| Term |
DPDP Definition |
| Personal data |
Any data about an individual who is identifiable by or in relation to such data |
| Data Principal |
The individual whose personal data is being processed |
| Data Fiduciary |
The entity that determines the purpose and means of processing |
| Data Processor |
The entity that processes data on behalf of a Data Fiduciary |
| Significant Data Fiduciary |
A Data Fiduciary notified by the government based on volume/sensitivity of data |
| Child |
Individual below the age of 18 years |
Obligations of Data Fiduciary (Section 8)
| # |
Obligation |
Check |
| 1 |
Lawful purpose — Process data only for a lawful purpose for which Data Principal has given consent |
Purpose stated in spec? Consent mechanism defined? |
| 2 |
Purpose limitation — Use data only for the purpose for which it was collected |
Each data element has a stated purpose? No secondary use without fresh consent? |
| 3 |
Data minimization — Collect only data necessary for the stated purpose |
Each element justified by a spec requirement? |
| 4 |
Accuracy — Ensure personal data is complete, accurate, and not misleading |
Data validation rules defined? |
| 5 |
Retention limitation — Retain data only as long as necessary for the stated purpose, then erase |
Retention period specified per data element? Erasure procedure defined? |
| 6 |
Reasonable security safeguards — Protect personal data with appropriate technical and organizational measures |
Encryption at rest and in transit? Access control defined? |
Consent Requirements (Section 6)
| # |
Requirement |
Check |
| 1 |
Free, specific, informed, unconditional, unambiguous consent with clear affirmative action |
Consent UI/UX defined? Not bundled with T&C? |
| 2 |
Itemized consent — Separate consent for each purpose if multiple purposes exist |
Separate consent per data processing activity? |
| 3 |
Consent withdrawal — Data Principal can withdraw consent at any time, as easily as giving it |
Withdrawal mechanism defined and accessible? |
| 4 |
Notice before consent — Provide notice in clear, plain language describing data and purpose |
Notice content defined? Available in English and scheduled Indian languages? |
Rights of Data Principal (Section 11-14)
| # |
Right |
Check |
| 1 |
Right to access — Summary of personal data being processed and processing activities |
Access/download mechanism defined? |
| 2 |
Right to correction and erasure — Request correction of inaccurate/incomplete data, erasure of data no longer needed |
Edit and delete workflows defined? |
| 3 |
Right to grievance redressal — Nominate a grievance officer, respond within prescribed time |
Grievance officer designated? Response SLA defined? |
| 4 |
Right to nominate — Nominate another person to exercise rights in case of death/incapacity |
Nomination mechanism considered? |
Children's Data (Section 9) — CRITICAL
| # |
Requirement |
Check |
| 1 |
Verifiable guardian consent — Before processing any child's data, obtain verifiable consent from parent/guardian |
Guardian consent mechanism defined? Age verification present? |
| 2 |
No tracking or behavioral monitoring — Must not track, monitor, or do behavioral analysis of children |
Feature does not profile children beyond stated purpose? |
| 3 |
No targeted advertising — Must not target advertising at children |
No ad-related data collection or usage? |
| 4 |
No detrimental processing — Must not process data in a manner that causes detrimental effect to a child |
No public ranking, shaming, or disadvantaging features? |
Data Breach Notification (Section 8(6))
| # |
Requirement |
Check |
| 1 |
Notify Data Protection Board — In the event of a personal data breach, inform the Board in prescribed manner |
Breach notification procedure defined? |
| 2 |
Notify affected Data Principals — Inform each affected individual |
User notification mechanism defined? |
Penalties (Section 33)
| Violation |
Maximum Penalty |
| Failure to take security safeguards (breach) |
Rs 250 crore |
| Failure to notify breach |
Rs 200 crore |
| Non-compliance with children's data provisions |
Rs 200 crore |
| Non-compliance with Data Fiduciary obligations |
Rs 150 crore |
| Non-compliance with additional Significant Data Fiduciary obligations |
Rs 150 crore |
Output Format
# DPDP Compliance Audit Report
**Spec:** {spec file}
**Feature:** {feature name}
**Audited:** {DD-MM-YYYY}
**Regulation:** Digital Personal Data Protection Act, 2023 (India)
## 1. Data Element Inventory
| # | Data Element | Category | Personal Data? | Source | Purpose | Retention |
|---|-------------|----------|---------------|--------|---------|-----------|
| 1 | User name | Identity | Yes | {spec section} | Personalization | Account lifetime |
| 2 | Usage duration | Activity | Yes (linkable) | {spec section} | Analytics | 2 years |
## 2. DPDP Compliance Check
| # | Data Element | DPDP Section | Requirement | Status | Gap |
|---|-------------|-------------|-------------|--------|-----|
| 1 | User name | S.6 | Consent — free, specific, informed | Compliant | — |
| 2 | User name | S.8(3) | Retention limitation | Gap | No retention period defined |
| 3 | User name | S.8(4) | Erasure after purpose fulfilled | Gap | No erasure workflow defined |
| 4 | Child age | S.9 | Verifiable guardian consent | Compliant | — |
## 3. Children's Data Audit (Section 9)
| # | Requirement | Status | Evidence | Gap |
|---|------------|--------|----------|-----|
| 1 | Guardian consent mechanism | Compliant/Gap | {description} | {if gap} |
| 2 | No tracking/behavioral monitoring | Compliant/Gap | {description} | {if gap} |
| 3 | No targeted advertising | Compliant/Gap | {description} | {if gap} |
| 4 | No detrimental processing | Compliant/Gap | {description} | {if gap} |
## 4. Data Principal Rights Check
| # | Right | DPDP Section | Mechanism Defined? | Status |
|---|------|-------------|-------------------|--------|
| 1 | Access | S.11 | {yes/no} | Compliant/Gap |
| 2 | Correction & Erasure | S.12 | {yes/no} | Compliant/Gap |
| 3 | Grievance Redressal | S.13 | {yes/no} | Compliant/Gap |
| 4 | Nomination | S.14 | {yes/no} | Compliant/Gap |
## 5. Masking & Security Audit
| # | Data Element | Masking Required? | Masking Method | At Rest Encryption | In Transit Encryption | Status |
|---|-------------|-------------------|----------------|--------------------|-----------------------|--------|
## 6. Summary
| Status | Count |
|--------|-------|
| Compliant | {N} |
| Needs Review | {N} |
| Gap (Must Fix) | {N} |
**Penalty Exposure:** {estimated based on gap severity}
## 7. Required Actions
### Gaps (Must Fix Before Review)
1. **{Data Element} — DPDP S.{section} — {Requirement}**
Gap: {description}
Fix: {specific action to add to the spec}
Penalty risk: {relevant penalty from Section 33}
### Needs Review (Discuss with Legal)
1. **{Data Element} — DPDP S.{section}**
Question: {what needs clarification}
Rules
- When in doubt, flag it — Classify uncertain data as personal data and flag for review
- Linkable data is personal data — Data linkable to a specific person (even via session ID) is personal data under DPDP
- Children = strictest requirements — Section 9 applies to all individuals under 18. No exceptions.
- Analytics events are data — Event tracking creates personal data about user behavior. Include in audit.
- Don't assume compliance — If a policy isn't explicitly stated in the spec, it's a gap
- Consent must be granular — Bundled consent (buried in T&C) does not satisfy Section 6
- Retention must be finite — "Account lifetime" is not acceptable without a defined account deletion policy
Anti-Patterns
- Don't skip the children's data audit — Section 9 penalties are up to Rs 200 crore
- Don't treat consent as a checkbox — DPDP requires free, specific, informed consent
- Don't assume "anonymized" data is exempt — verify the anonymization is irreversible
- Don't ignore Data Principal rights — access, correction, erasure, and grievance mechanisms are mandatory
Quality Checklist
1---2name: compliance-auditor3description: Audit feature specs against India's Digital Personal Data Protection (DPDP) Act. Use this skill when: - Writing or reviewing any feature that handles user data (especially children's data) - Auditing a spec's Personal Information section for completeness - Checking a feature against DPDP Act 2023 requirements - Preparing compliance documentation before engineering review - Verifying masking, retention, and consent policies are defined for all PII4---56# Compliance Auditor — DPDP Act 202378Audit a feature specification against India's Digital Personal Data Protection Act 2023. Identifies personal data elements, maps them to DPDP sections, checks for consent/retention/security policies, and flags compliance gaps.910## Workflow11121. **Read the feature spec** — Focus on data elements, PII sections, compliance sections132. **Identify data elements** — Extract every data element from the spec143. **Classify as personal data** — Determine if each element is personal data under DPDP154. **Map to DPDP sections** — For each personal data element, identify applicable DPDP requirements165. **Check policies** — Verify consent, purpose limitation, retention, security, and deletion policies exist176. **Generate audit report** — Output the audit table and gap analysis1819## DPDP Act 2023 — Key Provisions2021### Definitions (Section 2)2223| Term | DPDP Definition |24|------|----------------|25| **Personal data** | Any data about an individual who is identifiable by or in relation to such data |26| **Data Principal** | The individual whose personal data is being processed |27| **Data Fiduciary** | The entity that determines the purpose and means of processing |28| **Data Processor** | The entity that processes data on behalf of a Data Fiduciary |29| **Significant Data Fiduciary** | A Data Fiduciary notified by the government based on volume/sensitivity of data |30| **Child** | Individual below the age of 18 years |3132### Obligations of Data Fiduciary (Section 8)3334| # | Obligation | Check |35|---|-----------|-------|36| 1 | **Lawful purpose** — Process data only for a lawful purpose for which Data Principal has given consent | Purpose stated in spec? Consent mechanism defined? |37| 2 | **Purpose limitation** — Use data only for the purpose for which it was collected | Each data element has a stated purpose? No secondary use without fresh consent? |38| 3 | **Data minimization** — Collect only data necessary for the stated purpose | Each element justified by a spec requirement? |39| 4 | **Accuracy** — Ensure personal data is complete, accurate, and not misleading | Data validation rules defined? |40| 5 | **Retention limitation** — Retain data only as long as necessary for the stated purpose, then erase | Retention period specified per data element? Erasure procedure defined? |41| 6 | **Reasonable security safeguards** — Protect personal data with appropriate technical and organizational measures | Encryption at rest and in transit? Access control defined? |4243### Consent Requirements (Section 6)4445| # | Requirement | Check |46|---|------------|-------|47| 1 | **Free, specific, informed, unconditional, unambiguous** consent with clear affirmative action | Consent UI/UX defined? Not bundled with T&C? |48| 2 | **Itemized consent** — Separate consent for each purpose if multiple purposes exist | Separate consent per data processing activity? |49| 3 | **Consent withdrawal** — Data Principal can withdraw consent at any time, as easily as giving it | Withdrawal mechanism defined and accessible? |50| 4 | **Notice before consent** — Provide notice in clear, plain language describing data and purpose | Notice content defined? Available in English and scheduled Indian languages? |5152### Rights of Data Principal (Section 11-14)5354| # | Right | Check |55|---|------|-------|56| 1 | **Right to access** — Summary of personal data being processed and processing activities | Access/download mechanism defined? |57| 2 | **Right to correction and erasure** — Request correction of inaccurate/incomplete data, erasure of data no longer needed | Edit and delete workflows defined? |58| 3 | **Right to grievance redressal** — Nominate a grievance officer, respond within prescribed time | Grievance officer designated? Response SLA defined? |59| 4 | **Right to nominate** — Nominate another person to exercise rights in case of death/incapacity | Nomination mechanism considered? |6061### Children's Data (Section 9) — CRITICAL6263| # | Requirement | Check |64|---|------------|-------|65| 1 | **Verifiable guardian consent** — Before processing any child's data, obtain verifiable consent from parent/guardian | Guardian consent mechanism defined? Age verification present? |66| 2 | **No tracking or behavioral monitoring** — Must not track, monitor, or do behavioral analysis of children | Feature does not profile children beyond stated purpose? |67| 3 | **No targeted advertising** — Must not target advertising at children | No ad-related data collection or usage? |68| 4 | **No detrimental processing** — Must not process data in a manner that causes detrimental effect to a child | No public ranking, shaming, or disadvantaging features? |6970### Data Breach Notification (Section 8(6))7172| # | Requirement | Check |73|---|------------|-------|74| 1 | **Notify Data Protection Board** — In the event of a personal data breach, inform the Board in prescribed manner | Breach notification procedure defined? |75| 2 | **Notify affected Data Principals** — Inform each affected individual | User notification mechanism defined? |7677### Penalties (Section 33)7879| Violation | Maximum Penalty |80|-----------|----------------|81| Failure to take security safeguards (breach) | Rs 250 crore |82| Failure to notify breach | Rs 200 crore |83| Non-compliance with children's data provisions | Rs 200 crore |84| Non-compliance with Data Fiduciary obligations | Rs 150 crore |85| Non-compliance with additional Significant Data Fiduciary obligations | Rs 150 crore |8687## Output Format8889```markdown90# DPDP Compliance Audit Report9192**Spec:** {spec file}93**Feature:** {feature name}94**Audited:** {DD-MM-YYYY}95**Regulation:** Digital Personal Data Protection Act, 2023 (India)9697## 1. Data Element Inventory9899| # | Data Element | Category | Personal Data? | Source | Purpose | Retention |100|---|-------------|----------|---------------|--------|---------|-----------|101| 1 | User name | Identity | Yes | {spec section} | Personalization | Account lifetime |102| 2 | Usage duration | Activity | Yes (linkable) | {spec section} | Analytics | 2 years |103104## 2. DPDP Compliance Check105106| # | Data Element | DPDP Section | Requirement | Status | Gap |107|---|-------------|-------------|-------------|--------|-----|108| 1 | User name | S.6 | Consent — free, specific, informed | Compliant | — |109| 2 | User name | S.8(3) | Retention limitation | Gap | No retention period defined |110| 3 | User name | S.8(4) | Erasure after purpose fulfilled | Gap | No erasure workflow defined |111| 4 | Child age | S.9 | Verifiable guardian consent | Compliant | — |112113## 3. Children's Data Audit (Section 9)114115| # | Requirement | Status | Evidence | Gap |116|---|------------|--------|----------|-----|117| 1 | Guardian consent mechanism | Compliant/Gap | {description} | {if gap} |118| 2 | No tracking/behavioral monitoring | Compliant/Gap | {description} | {if gap} |119| 3 | No targeted advertising | Compliant/Gap | {description} | {if gap} |120| 4 | No detrimental processing | Compliant/Gap | {description} | {if gap} |121122## 4. Data Principal Rights Check123124| # | Right | DPDP Section | Mechanism Defined? | Status |125|---|------|-------------|-------------------|--------|126| 1 | Access | S.11 | {yes/no} | Compliant/Gap |127| 2 | Correction & Erasure | S.12 | {yes/no} | Compliant/Gap |128| 3 | Grievance Redressal | S.13 | {yes/no} | Compliant/Gap |129| 4 | Nomination | S.14 | {yes/no} | Compliant/Gap |130131## 5. Masking & Security Audit132133| # | Data Element | Masking Required? | Masking Method | At Rest Encryption | In Transit Encryption | Status |134|---|-------------|-------------------|----------------|--------------------|-----------------------|--------|135136## 6. Summary137138| Status | Count |139|--------|-------|140| Compliant | {N} |141| Needs Review | {N} |142| Gap (Must Fix) | {N} |143144**Penalty Exposure:** {estimated based on gap severity}145146## 7. Required Actions147148### Gaps (Must Fix Before Review)1491. **{Data Element} — DPDP S.{section} — {Requirement}**150 Gap: {description}151 Fix: {specific action to add to the spec}152 Penalty risk: {relevant penalty from Section 33}153154### Needs Review (Discuss with Legal)1551. **{Data Element} — DPDP S.{section}**156 Question: {what needs clarification}157```158159## Rules1601611. **When in doubt, flag it** — Classify uncertain data as personal data and flag for review1622. **Linkable data is personal data** — Data linkable to a specific person (even via session ID) is personal data under DPDP1633. **Children = strictest requirements** — Section 9 applies to all individuals under 18. No exceptions.1644. **Analytics events are data** — Event tracking creates personal data about user behavior. Include in audit.1655. **Don't assume compliance** — If a policy isn't explicitly stated in the spec, it's a gap1666. **Consent must be granular** — Bundled consent (buried in T&C) does not satisfy Section 61677. **Retention must be finite** — "Account lifetime" is not acceptable without a defined account deletion policy168169## Anti-Patterns170171- Don't skip the children's data audit — Section 9 penalties are up to Rs 200 crore172- Don't treat consent as a checkbox — DPDP requires free, specific, informed consent173- Don't assume "anonymized" data is exempt — verify the anonymization is irreversible174- Don't ignore Data Principal rights — access, correction, erasure, and grievance mechanisms are mandatory175176## Quality Checklist177178- [ ] Every data element from the spec is inventoried179- [ ] Personal data classification applied to each element180- [ ] DPDP sections mapped per element181- [ ] Children's data audit completed (Section 9)182- [ ] Data Principal rights check completed (Sections 11-14)183- [ ] Consent mechanism verified (Section 6)184- [ ] Retention periods specified (Section 8(3))185- [ ] Security safeguards defined (Section 8(4))186- [ ] Masking and encryption audit completed187- [ ] Gaps have specific fix recommendations with penalty references