mukul975/privacy-data-protection-skills

ai-data-subject-rights

- Implements data subject rights mechanisms for AI systems including right to explanation of AI decisions, contestation procedures, human review, model output correction, and training data access.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/mukul975/privacy-data-protection-skills --skill ai-data-subject-rights

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Data Subject Rights for AI Systems

Overview

AI systems create unique challenges for data subject rights exercise. Traditional rights mechanisms designed for structured databases do not map directly to ML model architectures where personal data is encoded in model weights, reproduced in model outputs, or used in opaque decision processes. This skill provides the framework for implementing each GDPR right (Arts. 15-22) and the AI Act Art. 86 right to explanation in the context of AI processing, addressing both training-time and inference-time rights.

Rights Framework for AI

Right of Access (Art. 15)

AI ContextObligationImplementation
Training data contributionConfirm whether data subject's data was in training set; provide copy if feasibleTraining data catalogue indexed by data subject identifier; membership query
AI inference inputsProvide data used as input to AI decisionLog inference inputs with data subject linkage
AI inference outputsProvide AI decision/score/classification affecting data subjectDecision logging with data subject ID
Logic explanationArt. 15(1)(h): meaningful information about logic of automated decisionsSHAP/LIME explanation on request or system-level explanation
Training data sourceArt. 14(2)(f): source of data if not collected from data subjectTraining data provenance documentation

Technical Challenges:

  • Identifying specific records in massive training datasets
  • Determining if a data subject's data is in the training set without running membership inference
  • Providing meaningful logic explanation for complex models

Right to Rectification (Art. 16)

AI ContextObligationImplementation
Training data correctionCorrect inaccurate data in training datasetUpdate training data; assess if model retraining needed
Model output correctionCorrect inaccurate AI outputs about a data subjectOutput correction mechanism; flag in decision system
Inference input correctionCorrect data used as inference inputUpdate input data; re-run inference

Technical Challenge: Correcting training data may require model retraining to propagate the correction. For deployed models, correction may need model update or retraining pipeline.

Right to Erasure (Art. 17)

AI ContextObligationImplementation
Training data deletionDelete data subject's data from training datasetRemove from training data; assess model impact
Model unlearningRemove influence of deleted data from trained modelMachine unlearning technique or full retraining
Inference logsDelete inference inputs and outputs linked to data subjectPurge from decision logs
Model outputsDelete generated content about the data subjectContent removal mechanism

Technical Challenge: True erasure from a trained model requires either verified machine unlearning or complete model retraining. The EDPB acknowledges this challenge but expects controllers to demonstrate good faith effort and use best available techniques.

Right to Restriction (Art. 18)

AI ContextObligation
Contested accuracyRestrict processing while accuracy of training data or AI output is verified
Unlawful processingRestrict rather than delete if data subject requests
During objection assessmentRestrict while controller assesses whether legitimate grounds override

Implementation: Quarantine data subject's data from training pipeline and inference pipeline during restriction period.

Right to Data Portability (Art. 20)

AI ContextObligation
Training data contributionProvide data subject's training data contribution in structured, machine-readable format
AI-generated profileIf AI has created a profile, provide in portable format
Inference historyProvide history of AI decisions affecting data subject

Right to Object (Art. 21)

AI ContextObligation
AI training objectionIf training is based on legitimate interest (Art. 6(1)(f)), data subject can object
Profiling objectionObject to AI profiling including inference of characteristics
Direct marketingAbsolute right to object to AI-driven direct marketing profiling

Upon objection: Controller must cease processing unless compelling legitimate grounds override. For AI training: remove data from training pipeline and assess model impact.

Rights Relating to Automated Decisions (Art. 22)

RightImplementation
Right not to be subjectOpt-out from solely automated AI decisions with legal/significant effects
Right to human interventionQualified human reviewer with authority to override AI
Right to express viewsMechanism for data subject to provide additional context
Right to contestFormal contestation with independent review
Right to explanationAI Act Art. 86 + GDPR Recital 71: clear explanation of AI's role in the decision

AI Act Art. 86 — Right to Explanation

For high-risk AI systems, affected persons have the right to:

  • Clear and meaningful explanations of the role of the AI system in the decision-making procedure
  • The main elements of the decision taken
  • This right is without prejudice to GDPR data subject rights

Operational Implementation

Rights Request Triage for AI

Data subject rights request received
│
├─ Identify if AI processing is involved
│  ├─ Was AI used in any decision affecting the data subject?
│  ├─ Is the data subject's data in any training dataset?
│  └─ Has AI generated any content about the data subject?
│
├─ Determine applicable AI-specific rights
│  ├─ Access: training data, inference records, logic explanation
│  ├─ Rectification: training data or output correction
│  ├─ Erasure: training data deletion, model unlearning
│  ├─ Restriction: quarantine from AI pipeline
│  ├─ Objection: cease AI training on their data
│  └─ Automated decision: explanation, human review, contestation
│
├─ Route to appropriate team
│  ├─ Standard rights: data protection team
│  ├─ AI-specific: data protection + ML engineering team
│  └─ Contestation: independent review panel
│
└─ Process within Art. 12 timeframe (one month, extendable by two)

Response Timeframes

Request TypeStandardExtendedJustification for Extension
Access (standard)1 month3 monthsComplex, voluminous
Access (AI logic)1 month3 monthsRequires technical explanation generation
Rectification1 month3 monthsMay require model retraining
Erasure1 month3 monthsMachine unlearning complexity
Explanation (Art. 86)Without undue delay—Time-critical for affected persons
Contestation30 days90 daysRequires independent review

Enforcement Precedents

  • Austrian DPA v. CRIF (2023): Violation of Art. 15(1)(h) — credit scoring system failed to provide meaningful information about automated decision logic upon access request.
  • Garante v. OpenAI (2023): Required mechanism for data subjects to request correction of inaccurate AI outputs and to object to AI training on their data.
  • Dutch DPA guidance (2024): Right to erasure includes obligation to address erasure from AI training data, even if technically challenging.
  • EDPB ChatGPT Taskforce (2024): Controllers must demonstrate capability to address rights requests affecting training data — technical difficulty does not exempt.

Integration Points

  • ai-automated-decisions: Contestation and human review mechanisms
  • ai-transparency-reqs: Logic explanation fulfils transparency obligations
  • ai-data-retention: Erasure rights intersect with retention and unlearning
  • ai-training-lawfulness: Objection right applies to legitimate interest-based training

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
mukul975
社区

applying-privacy-design-patterns

- Systematic application of the eight privacy design patterns per Hoepman: minimize, hide, separate, abstract, inform, control, enforce, and demonstrate. Covers pattern selection methodology per processing activity, mapping to GDPR principles, and practical implementation guidance for privacy-by-design system architecture.

安装量
1
GitHub Stars
315
最近更新
3月16日
mukul975
社区

brazil-lgpd

- Guides compliance with Brazil's Lei Geral de Proteção de Dados (LGPD, Lei 13.709/2018). Covers the 10 lawful bases under Art. 7, DPO appointment, ANPD enforcement, data subject rights under Arts. 17-22, and international transfer mechanisms. Keywords: LGPD, Brazil data protection, ANPD, lawful bases, data subject rights, international transfers.

安装量
1
GitHub Stars
315
最近更新
3月16日
mukul975
社区

adequacy-assessment

- Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

安装量
1
GitHub Stars
295
最近更新
3月16日
mukul975
社区

age-gating-services

- Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

安装量
1
GitHub Stars
295
最近更新
3月16日